GeRe: Towards Efficient Anti-Forgetting in Continual Learning of LLM via General Samples Replay
Not on the map. Why?
Abstract (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.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 30 of its 42 references that are in the map. First posted on arXiv 6 Aug 2025.
Builds on
30 of 42 references.
References · 30
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016Learning without Forgettingcited by 2,496
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
18 more
- 2016Progressive Neural Networkscited by 1,361
- 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,330
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
- 2018Experience Replay for Continual Learningcited by 1,095
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 872
- 2018Riemannian Walk for Incremental Learning: Understanding Forgetting and Intransigencecited by 742
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
- 2024LoRA Learns Less and Forgets Lesscited by 328
- 2023Orthogonal Subspace Learning for Language Model Continual Learningcited by 312
- 2024A Survey on Knowledge Distillation of Large Language Modelscited by 284
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 234
- 2023Progressive Prompts: Continual Learning for Language Modelscited by 197
- 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 182
- 2021LFPT5: A Unified Framework for Lifelong Few-shot Language Learning Based on Prompt Tuning of T5cited by 104
- 2024Logit Standardization in Knowledge Distillationcited by 102
- 2025Spurious Forgetting in Continual Learning of Language Modelscited by 51
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026On-Policy Replay for Continual Supervised Fine-Tuningcited by 8
- 2025ADEPT: Continual Pretraining via Adaptive Expansion and Dynamic Decoupled Tuningcited by 5
- 2026Geometry Conflict: Explaining and Controlling Forgetting in LLM Continual Post-Trainingcited by 5
- 2026SAE-FD: Sparse Autoencoder Feature Distillation for Continual Learning of Large Language Modelscited by 1
- 2026On-Policy Replay for Continual Supervised Fine-Tuning28 May 2026
- 2026SAE-FD: Sparse Autoencoder Feature Distillation for Continual Learning of Large Language Models25 May 2026
- 2026Geometry Conflict: Explaining and Controlling Forgetting in LLM Continual Post-Training10 May 2026
- 2025ADEPT: Continual Pretraining via Adaptive Expansion and Dynamic Decoupled Tuning11 Oct 2025