Skip to main navigation Skip to search Skip to main content

Prompt-Based Prototypical Framework for Continual Relation Extraction

  • Han Zhang
  • , Bin Liang
  • , Min Yang
  • , Hui Wang
  • , Ruifeng Xu*
  • *Corresponding author for this work
  • Harbin Institute of Technology
  • Peng Cheng Laboratory
  • Guangdong Provincial Key Laboratory of Novel Security Intelligence Technologies
  • China Merchants Securities Co., Ltd.
  • Shenzhen Institute of Advanced Technology

Research output: Contribution to journalArticlepeer-review

Abstract

Continual relation extraction (CRE) is an important task of continual learning, which aims to learn incessantly emerging new relations between entities from texts. To avoid catastrophically forgetting old relations, some existing research efforts have focused on exploring memory replayed methods by storing typical historical learned instances or embedding all observed relations as prototypes in the episodic memory and replaying them in the subsequent training process. However, they generally fail to exploit the relation knowledge contained in the pre-trained language model (PLM), which could provide enlightening information to the representations of new relations from the known ones. To this end, we investigate the CRE from a novel perspective by generating knowledge-infused relation prototypes to leverage the relational knowledge from PLM with prompt tuning. Specifically, based on the typical samples collected from the historical learned instances with K-means algorithm, we devise novel relational knowledge-infused prompts to elicit relational knowledge from PLM for generating knowledge-infused relation prototypes. Then the prototypes are used to refine the typical examples embedding and calculate the stability-plasticity balance score for adjusting the memory replayed progress. The experimental results show that our method outperforms the state-of-the-art baseline models in CRE. The further extensive analysis presents that the proposed method is robust to memory size, task order, length of the task sequence, and the number of training instances.

Original languageEnglish
Pages (from-to)2801-2813
Number of pages13
JournalIEEE/ACM Transactions on Audio Speech and Language Processing
Volume30
DOIs
StatePublished - 2022
Externally publishedYes

Keywords

  • Continual learning
  • catastrophic forgetting
  • prompt method
  • prototype
  • relation extraction

Fingerprint

Dive into the research topics of 'Prompt-Based Prototypical Framework for Continual Relation Extraction'. Together they form a unique fingerprint.

Cite this