Paper Reading AI Learner

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

2025-08-16 12:49:11
Shaozhe Yin, Jinyu Guo, Kai Shuang, Xia Liu, Ruize Ou

Abstract

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.

Abstract (translated)

持续关系抽取(CRE)的目标是不断学习新出现的关系,同时避免灾难性遗忘。现有的CRE方法主要采用记忆回放和对比学习来减轻灾难性遗忘问题。然而,这些方法并未充分重视能够更有效地揭示模型认知偏差的错误案例。为解决这一问题,我们提出了一种基于指令的持续对比微调方法,适用于大型语言模型(LLMs)在CRE中的应用。与现有的CRE方法通常以统一方式处理训练和记忆数据不同,该方法根据初始响应的正确性将每个任务的训练数据和记忆数据分别划分为两部分,并通过双任务微调进行区别对待。此外,利用大型语言模型遵循指令的优势,我们提出了一种新颖的基于指令的对比微调策略,使LLM能够持续地在指令调优模式下用先前的数据指导纠正当前的认知偏差,以更符合LLMs特点的方式缓解旧关系和新关系之间的差距。我们在TACRED和FewRel数据集上实验验证了我们的模型,并且结果显示,与现有方法相比,我们的模型取得了新的最优CRE性能,证明了专注于利用错误案例的重要性。

URL

https://arxiv.org/abs/2508.12031

PDF

https://arxiv.org/pdf/2508.12031.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot