Enhancing Continual Relation Extraction via Classifier Decomposition

Heming Xia, Peiyi Wang, Tianyu Liu, Binghuai Lin, Yunbo Cao +1 more
5/8/2023
cs.CL

Official code: hemingkx/CDec (10 stars, last commit 2023-11-29).

Abstract

Continual relation extraction (CRE) models aim at handling emerging new relations while avoiding catastrophically forgetting old ones in the streaming data. Though improvements have been shown by previous CRE studies, most of them only adopt a vanilla strategy when models first learn representations of new relations. In this work, we point out that there exist two typical biases after training of this vanilla strategy: classifier bias and representation bias, which causes the previous knowledge that the model learned to be shaded. To alleviate those biases, we propose a simple yet effective classifier decomposition framework that splits the last FFN layer into separated previous and current classifiers, so as to maintain previous knowledge and encourage the model to learn more robust representations at this training stage. Experimental results on two standard benchmarks show that our proposed framework consistently outperforms the state-of-the-art CRE models, which indicates that the importance of the first training stage to CRE models may be underestimated. Our code is available at https://github.com/hemingkx/CDec.

View on arXivView PDF

Code Implementations(1)

hemingkx/CDecOfficial100%

Codes for our paper "Enhancing Continual Relation Extraction via Classifier Decomposition" (Findings of ACL2023)

100Shell, PythonMay 8, 20232 years ago

Similar Papers

Cite this paper

@article{xia2023enhancing,
  title  = {Enhancing Continual Relation Extraction via Classifier Decomposition},
  author = {Heming Xia and Peiyi Wang and Tianyu Liu and Binghuai Lin and Yunbo Cao and Zhifang Sui},
  year   = {2023},
  eprint = {2305.04636},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.04636v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.04636.svg)](https://codeofpaper.com/paper/2305.04636)

Discussion