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 条
  • [1] Knowledge-Guided Prompt Learning for Few-Shot Text Classification
    Wang, Liangguo
    Chen, Ruoyu
    Li, Li
    [J]. ELECTRONICS, 2023, 12 (06)
  • [2] Knowledge-Enhanced Domain Adaptation in Few-Shot Relation Classification
    Zhang, Jiawen
    Zhu, Jiaqi
    Yang, Yi
    Shi, Wandong
    Zhang, Congcong
    Wang, Hongan
    [J]. KDD '21: PROCEEDINGS OF THE 27TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY & DATA MINING, 2021, : 2183 - 2191
  • [3] Knowledge-Enhanced Prototypical Network with Structural Semantics for Few-Shot Relation Classification
    Li, Yanhu
    Zhang, Taolin
    Li, Dongyang
    He, Xiaofeng
    [J]. ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2023, PT III, 2023, 13937 : 138 - 149
  • [4] Knowledge Guided Metric Learning for Few-Shot Text Classification
    Sui, Dianbo
    Chen, Yubo
    Mao, Binjie
    Qiu, Delai
    Liu, Kang
    Zhao, Jun
    [J]. 2021 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL-HLT 2021), 2021, : 3266 - 3271
  • [5] Interwell Stratigraphic Correlation Detection based on knowledge-enhanced few-shot learning
    Chen, Bingyang
    Zeng, Xingjie
    Cao, Shaohua
    Zhang, Weishan
    Xu, Siyuan
    Zhang, Baoyu
    Hou, Zhaoxiang
    [J]. GEOENERGY SCIENCE AND ENGINEERING, 2023, 220
  • [6] REKP: Refined External Knowledge into Prompt-Tuning for Few-Shot Text Classification
    Dang, Yuzhuo
    Chen, Weijie
    Zhang, Xin
    Chen, Honghui
    [J]. MATHEMATICS, 2023, 11 (23)
  • [7] Knowledge-enhanced prototypical network with class cluster loss for few-shot relation classification
    Liu, Tao
    Ke, Zunwang
    Li, Yanbing
    Silamu, Wushour
    [J]. PLOS ONE, 2023, 18 (06):
  • [8] Few-shot learning for short text classification
    Yan, Leiming
    Zheng, Yuhui
    Cao, Jie
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2018, 77 (22) : 29799 - 29810
  • [9] Few-shot learning for short text classification
    Leiming Yan
    Yuhui Zheng
    Jie Cao
    [J]. Multimedia Tools and Applications, 2018, 77 : 29799 - 29810
  • [10] Continual Few-Shot Learning for Text Classification
    Pasunuru, Ramakanth
    Stoyanov, Veselin
    Bansal, Mohit
    [J]. 2021 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2021), 2021, : 5688 - 5702