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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yin, Shaozhe, Guo, Jinyu, Shuang, Kai, Liu, Xia, Ou, Ruize
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918125999489024
author Yin, Shaozhe
Guo, Jinyu
Shuang, Kai
Liu, Xia
Ou, Ruize
author_facet Yin, Shaozhe
Guo, Jinyu
Shuang, Kai
Liu, Xia
Ou, Ruize
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_12031
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning Wisdom from Errors: Promoting LLM's Continual Relation Learning through Exploiting Error Cases
Yin, Shaozhe
Guo, Jinyu
Shuang, Kai
Liu, Xia
Ou, Ruize
Computation and Language
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.
title Learning Wisdom from Errors: Promoting LLM's Continual Relation Learning through Exploiting Error Cases
topic Computation and Language
url https://arxiv.org/abs/2508.12031