Knowledge-Enhanced Prompt Learning for Few-Shot Text Classification

被引:0
|
作者
Liu, Jinshuo [1 ]
Yang, Lu [1 ]
机构
[1] Wuhan Univ, Sch Cyber Sci & Engn, Key Lab Aerosp Informat Secur & Trusted Comp, Minist Educ, Wuhan 430072, Peoples R China
基金
中国国家自然科学基金;
关键词
text classification; prompt learning; knowledge enhancement; few-shot learning;
D O I
10.3390/bdcc8040043
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Classification methods based on fine-tuning pre-trained language models often require a large number of labeled samples; therefore, few-shot text classification has attracted considerable attention. Prompt learning is an effective method for addressing few-shot text classification tasks in low-resource settings. The essence of prompt tuning is to insert tokens into the input, thereby converting a text classification task into a masked language modeling problem. However, constructing appropriate prompt templates and verbalizers remains challenging, as manual prompts often require expert knowledge, while auto-constructing prompts is time-consuming. In addition, the extensive knowledge contained in entities and relations should not be ignored. To address these issues, we propose a structured knowledge prompt tuning (SKPT) method, which is a knowledge-enhanced prompt tuning approach. Specifically, SKPT includes three components: prompt template, prompt verbalizer, and training strategies. First, we insert virtual tokens into the prompt template based on open triples to introduce external knowledge. Second, we use an improved knowledgeable verbalizer to expand and filter the label words. Finally, we use structured knowledge constraints during the training phase to optimize the model. Through extensive experiments on few-shot text classification tasks with different settings, the effectiveness of our model has been demonstrated.
引用
收藏
页数:12
相关论文
共 50 条
  • [41] TaxonPrompt: Taxonomy-aware curriculum prompt learning for few-shot event classification
    Song, Chengyu
    Cai, Fei
    Wang, Mengru
    Zheng, Jianming
    Shao, Taihua
    [J]. KNOWLEDGE-BASED SYSTEMS, 2023, 264
  • [42] Knowledge Graph enhanced Multimodal Learning for Few-shot Visual Recognition
    Han, Mengya
    Zhan, Yibing
    Yu, Baosheng
    Luo, Yong
    Du, Bo
    Tao, Dacheng
    [J]. 2022 IEEE 24TH INTERNATIONAL WORKSHOP ON MULTIMEDIA SIGNAL PROCESSING (MMSP), 2022,
  • [43] Knowledge-enhanced document embeddings for text classification
    Sinoara, Roberta A.
    Camacho-Collados, Jose
    Rossi, Rafael G.
    Navigli, Roberto
    Rezende, Solange O.
    [J]. KNOWLEDGE-BASED SYSTEMS, 2019, 163 : 955 - 971
  • [44] Distinct Label Representations for Few-Shot Text Classification
    Ohashi, Sora
    Takayama, Junya
    Kajiwara, Tomoyuki
    Arase, Yuki
    [J]. ACL-IJCNLP 2021: THE 59TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS AND THE 11TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING, VOL 2, 2021, : 831 - 836
  • [45] Meta-learning triplet contrast network for few-shot text classification
    Dong, Kaifang
    Jiang, Baoxing
    Li, Hongye
    Zhu, Zhenfang
    Liu, Peiyu
    [J]. KNOWLEDGE-BASED SYSTEMS, 2024, 303
  • [46] A Neural Few-Shot Text Classification Reality Check
    Dopierre, Thomas
    Gravier, Christophe
    Logerais, Wilfried
    [J]. 16TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (EACL 2021), 2021, : 935 - 943
  • [47] Enhanced ProtoNet With Self-Knowledge Distillation for Few-Shot Learning
    El Hacen Habib, Mohamed
    Kucukmanisa, Ayhan
    Urhan, Oguzhan
    [J]. IEEE Access, 2024, 12 : 145331 - 145340
  • [48] Hierarchical Verbalizer for Few-Shot Hierarchical Text Classification
    Ji, Ke
    Lian, Yixin
    Gao, Jingsheng
    Wang, Baoyuan
    [J]. PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 1, 2023, : 2918 - 2933
  • [49] MEDA: Meta-Learning with Data Augmentation for Few-Shot Text Classification
    Sun, Pengfei
    Ouyang, Yawen
    Zhang, Wenming
    Dai, Xin-yu
    [J]. PROCEEDINGS OF THE THIRTIETH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2021, 2021, : 3929 - 3935
  • [50] Few-Shot Text Classification with Triplet Networks, Data Augmentation, and Curriculum Learning
    Wei, Jason
    Huang, Chengyu
    Vosoughi, Soroush
    Cheng, Yu
    Xu, Shiqi
    [J]. 2021 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL-HLT 2021), 2021, : 5493 - 5500