Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Consistent Representation Learning for Continual Relation Extraction

About

Continual relation extraction (CRE) aims to continuously train a model on data with new relations while avoiding forgetting old ones. Some previous work has proved that storing a few typical samples of old relations and replaying them when learning new relations can effectively avoid forgetting. However, these memory-based methods tend to overfit the memory samples and perform poorly on imbalanced datasets. To solve these challenges, a consistent representation learning method is proposed, which maintains the stability of the relation embedding by adopting contrastive learning and knowledge distillation when replaying memory. Specifically, supervised contrastive learning based on a memory bank is first used to train each new task so that the model can effectively learn the relation representation. Then, contrastive replay is conducted of the samples in memory and makes the model retain the knowledge of historical relations through memory knowledge distillation to prevent the catastrophic forgetting of the old task. The proposed method can better learn consistent representations to alleviate forgetting effectively. Extensive experiments on FewRel and TACRED datasets show that our method significantly outperforms state-of-the-art baselines and yield strong robustness on the imbalanced dataset.

Kang Zhao, Hua Xu, Jiangong Yang, Kai Gao• 2022

Related benchmarks

TaskDatasetResultRank
Event ClassificationMAVEN (test dev)
Micro-F1 (Session 1)89.2
11
Continual Relation ExtractionTACRED (incremental)
Performance T10.977
8
Continual Relation ExtractionFewRel (incremental)
T198.2
8
Relation ExtractionTACRED 5-way 10-shot (test)
Performance Score T10.8781
7
Relation ExtractionTACRED 5-way 5-shot
Score T188.32
7
Relation ExtractionFewRel 10-way 5-shot
T194.68
7
Relation ExtractionFewRel 10-way 10-shot (test)
Top-1 Accuracy95.01
7
Showing 7 of 7 rows

Other info

Follow for update