arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.02721cs.CL
收藏

连续关系抽取的一致性表示学习

Consistent Representation Learning for Continual Relation Extraction

Tsinghua University(清华大学);Hebei University of Science and Technology(河北科技大学)

Kang Zhao, Hua Xu, Jiangong Yang, Kai Gao

摘要:

连续关系抽取(CRE)的目标是在数据上连续训练具有新关系的模型,同时避免忘记旧关系。已有的工作证明,存储一些旧关系的典型样本,并在学习新关系时重放它们,可以有效地避免遗忘。然而,这些基于内存的方法往往会过拟合内存样本,并且在不平衡的数据集上表现不佳。为了解决这些问题,提出了一种一致性表示学习方法,该方法在记忆回放时采用对比学习和知识蒸馏的方法来保持关系嵌入的稳定性。具体来说,基于存储体的监督对比学习首先用于训练每个新任务,使得模型可以有效地学习关系表示。然后,对记忆中的样本进行对比回放,通过记忆知识蒸馏,使模型保留历史关系的知识,防止旧任务的灾难性遗忘。该方法可以更好地学习一致性表示,有效地减轻遗忘。在FewRel和TACRED数据集上进行的大量实验表明,我们的方法显着优于最先进的基线,并在不平衡数据集上具有很强的鲁棒性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑