KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction

被引:186
作者
Chen, Xiang [1 ]
Zhang, Ningyu [1 ]
Xie, Xin [1 ]
Deng, Shumin [1 ]
Yao, Yunzhi [1 ]
Tan, Chuanqi [2 ]
Huang, Fei [2 ]
Si, Luo [2 ]
Chen, Huajun [1 ]
机构
[1] Zhejiang Univ, AZFT Joint Lab Knowledge Engine, Hangzhou Innovat Ctr, Hangzhou, Zhejiang, Peoples R China
[2] Alibaba Grp, Hangzhou, Zhejiang, Peoples R China
来源
PROCEEDINGS OF THE ACM WEB CONFERENCE 2022 (WWW'22) | 2022年
基金
国家重点研发计划;
关键词
Relation Extraction; Prompt-tuning; Knowledge-aware;
D O I
10.1145/3485447.3511998
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Recently, prompt-tuning has achieved promising results for specific few-shot classification tasks. The core idea of prompt-tuning is to insert text pieces (i.e., templates) into the input and transform a classification task into a masked language modeling problem. However, for relation extraction, determining an appropriate prompt template requires domain expertise, and it is cumbersome and timeconsuming to obtain a suitable label word. Furthermore, there exists abundant semantic and prior knowledge among the relation labels that cannot be ignored. To this end, we focus on incorporating knowledge among relation labels into prompt-tuning for relation extraction and propose a Knowledge-aware Prompt-tuning approach with synergistic optimization (KnowPrompt). Specifically, we inject latent knowledge contained in relation labels into prompt construction with learnable virtual type words and answer words. Then, we synergistically optimize their representation with structured constraints. Extensive experimental results on five datasets with standard and low-resource settings demonstrate the effectiveness of our approach. Our code and datasets are available in GitHub1 for reproducibility.
引用
收藏
页码:2778 / 2788
页数:11
相关论文
共 68 条
  • [21] PTR: Prompt Tuning with Rules for Text Classification
    Han, Xu
    Zhao, Weilin
    Ding, Ning
    Liu, Zhiyuan
    Sun, Maosong
    [J]. AI OPEN, 2022, 3 : 182 - 192
  • [22] Han Xu, 2018, P EMNLP 2018
  • [23] LOREM: Language-consistent Open Relation Extraction from Unstructured Text
    Harting, Tom
    Mesbah, Sepideh
    Lofi, Christoph
    [J]. WEB CONFERENCE 2020: PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE (WWW 2020), 2020, : 1830 - 1838
  • [24] He Junxian, 2021, ABS211004366 CORR
  • [25] Hendrickx I., 2010, PROC SEMEVAL, P33
  • [26] Hu Shengding, 2021, ABS210802035 CORR
  • [27] Hu Shengding, 2021, ARXIV210802035
  • [28] Huffman Scott B., 1995, Connectionist, Statistical, and Symbolic Approaches to Learning for Natural Language Processing
  • [29] SpanBERT: Improving Pre-training by Representing and Predicting Spans
    Joshi, Mandar
    Chen, Danqi
    Liu, Yinhan
    Weld, Daniel S.
    Zettlemoyer, Luke
    Levy, Omer
    [J]. TRANSACTIONS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, 2020, 8 : 64 - 77
  • [30] Lester Brian, 2021, ARXIV210408691