arXiv:2508.12031cs.CL2025-08被引 2

通过分析错误案例提升大模型持续学习关系抽取能力

Learning Wisdom from Errors: Promoting LLM's Continual Relation Learning through Exploiting Error Cases

  • 将训练数据按模型初始回答正确与否拆分,分治处理
  • 在TACRED和FewRel上达到新最好效果,显著优于基线
  • 适合研究大模型持续学习与认知偏差纠正的学者

持续关系抽取(CRE)旨在不断学习新出现的关系,同时避免灾难性遗忘。现有方法主要依赖记忆回放和对比学习缓解遗忘问题,但忽视了能揭示模型认知偏见的错误案例。为此,我们提出一种基于指令的持续对比微调方法,用于大语言模型(LLM)的CRE。不同于传统方法统一处理训练与记忆数据,本方法根据初始响应的正确性,将每项任务的数据分为两部分,并通过双任务微调分别对待。此外,利用大模型的指令遵循能力,设计了一种新的基于指令的对比微调策略,通过先前数据指导持续修正当前认知偏见,更适配大模型特性。我们在TACRED和FewRel数据集上进行实验,结果表明,所提模型在持续关系抽取任务上达到新最优性能,显著优于现有方法,验证了专门挖掘错误案例的重要性。

原文摘要 · Abstract (English)

Continual Relation Extraction (CRE) aims to continually learn new emerging relations while avoiding catastrophic forgetting. Existing CRE methods mainly use memory replay and contrastive learning to mitigate catastrophic forgetting. However, these methods do not attach importance to the error cases that can reveal the model's cognitive biases more effectively. To address this issue, we propose an instruction-based continual contrastive tuning approach for Large Language Models (LLMs) in CRE. Different from existing CRE methods that typically handle the training and memory data in a unified manner, this approach splits the training and memory data of each task into two parts respectively based on the correctness of the initial responses and treats them differently through dual-task fine-tuning. In addition, leveraging the advantages of LLM's instruction-following ability, we propose a novel instruction-based contrastive tuning strategy for LLM to continuously correct current cognitive biases with the guidance of previous data in an instruction-tuning manner, which mitigates the gap between old and new relations in a more suitable way for LLMs. We experimentally evaluate our model on TACRED and FewRel, and the results show that our model achieves new state-of-the-art CRE performance with significant improvements, demonstrating the importance of specializing in exploiting error cases.

持续学习关系抽取大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。