paper-with-me

홈 › Papers

GeRe: Towards Efficient Anti-Forgetting in Continual Learning of LLM via General Samples Replay

2025-08-06 · Yunan Zhang, Shuoran Jiang, Mengchen Zhao, Yuefeng Li, Yang Fan, Xiangping Wu, Qingcai Chen arxiv

The continual learning capability of large language models (LLMs) is crucial for advancing artificial general intelligence. However, continual fine-tuning LLMs across various domains often suffers from catastrophic forgetting, characterized by: 1) significant forgetting of their general capabilities, and 2) sharp performance declines in previously learned tasks. To simultaneously address both issues in a simple yet stable manner, we propose General Sample Replay (GeRe), a framework that use usual pretraining texts for efficient anti-forgetting. Beyond revisiting the most prevalent replay-based practices under GeRe, we further leverage neural states to introduce a enhanced activation states constrained optimization method using threshold-based margin (TM) loss, which maintains activation state consistency during replay learning. We are the first to validate that a small, fixed set of pre-collected general replay samples is sufficient to resolve both concerns--retaining general capabilities while promoting overall performance across sequential tasks. Indeed, the former can inherently facilitate the latter. Through controlled experiments, we systematically compare TM with different replay strategies under the GeRe framework, including vanilla label fitting, logit imitation via KL divergence and feature imitation via L1/L2 losses. Results demonstrate that TM consistently improves performance and exhibits better robustness. Our work paves the way for efficient replay of LLMs for the future. Our code and data are available at https://github.com/Qznan/GeRe.

📄 PDF Abstract BibTeX arXiv:2508.04676

Code (0)

등록된 구현이 없습니다.

Tasks

Continual Learning

Similar Papers 제목 키워드 기반

AFEC: Active Forgetting of Negative Transfer in Continual Learning

2021-10-23 · NeurIPS 2021 12 · Liyuan Wang, Mingtian Zhang, Zhongfan Jia, Qian Li 외

Continual learning aims to learn a sequence of tasks from dynamic data distributions. Without accessing to the old training samples, knowledge transfer from the old tasks to each new task is difficult to determine, which…

Continual LearningTransfer Learning

S-TRIGGER: Continual State Representation Learning via Self-Triggered Generative Replay

2019-02-25 · Hugo Caselles-Dupré, Michael Garcia-Ortiz, David Filliat

We consider the problem of building a state representation model for control, in a continual learning setting. As the environment changes, the aim is to efficiently compress the sensory state's information without losing…

Change DetectionContinual Learningreinforcement-learningReinforcement Learning+2

SwitchCIT: Switching for Continual Instruction Tuning

2024-07-16 · Xinbo Wu, Max Hartman, Vidhata Arjun Jayaraman, Lav R. Varshney

Large language models (LLMs) and multimodal models (MMs) have exhibited impressive capabilities in various domains, particularly in general language understanding and visual reasoning. However, these models, trained on m…

Text GenerationVisual Reasoning

Investigating Forgetting in Pre-Trained Representations Through Continual Learning

2023-05-10 · Yun Luo, Zhen Yang, Xuefeng Bai, Fandong Meng 외

Representation forgetting refers to the drift of contextualized representations during continual training. Intuitively, the representation forgetting can influence the general knowledge stored in pre-trained language mod…

Continual LearningGeneral Knowledge

Continual Policy Distillation of Reinforcement Learning-based Controllers for Soft Robotic In-Hand Manipulation

2024-04-05 · Lanpei Li, Enrico Donato, Vincenzo Lomonaco, Egidio Falotico

Dexterous manipulation, often facilitated by multi-fingered robotic hands, holds solid impact for real-world applications. Soft robotic hands, due to their compliant nature, offer flexibility and adaptability during obje…

Reinforcement Learning (RL)