mlsanityData to 7 Oct 2026

Balancing Speciality and Versatility: A Coarse to Fine Framework for Mitigating Catastrophic Forgetting in Large Language Models

arXiv 2404.10306 ↗First posted 16 Apr 2024cs.CLcited by 3

On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods

Abstract (arXiv)

Aligned Large Language Models (LLMs) showcase remarkable versatility, capable of handling diverse real-world tasks. Meanwhile, aligned LLMs are also expected to exhibit speciality, excelling in specific applications. However, fine-tuning with extra data, a common practice to gain speciality, often leads to catastrophic forgetting (CF) of previously acquired versatility, hindering the model's performance across diverse tasks. In response to this challenge, we propose CoFiTune, a coarse to fine framework in an attempt to strike the balance between speciality and versatility. At the coarse-grained level, an empirical tree-search algorithm is utilized to pinpoint and update specific modules that are crucial for speciality, while keeping other parameters frozen; at the fine-grained level, a soft-masking mechanism regulates the update to the LLMs, mitigating the CF issue without harming speciality. In an overall evaluation of both speciality and versatility, CoFiTune consistently outperforms baseline methods across diverse tasks and model scales. Compared to the full-parameter SFT, CoFiTune leads to about 14% versatility improvement and marginal speciality loss on a 13B model. Lastly, based on further analysis, we provide a speculative insight into the information forwarding process in LLMs, which helps explain the effectiveness of the proposed method. The code is available at https://github.com/rattlesnakey/CoFiTune.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 63 of its 85 references that are in the map. First posted on arXiv 16 Apr 2024.

Builds on

63 of 85 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructions20 Dec

Other references · 62

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  9. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
  10. 2020GLU Variants Improve Transformercited by 1,724
  11. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  12. 2018Experience Replay for Continual Learningcited by 1,074
38 more
  1. 2022Mass-Editing Memory in a Transformercited by 976
  2. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  3. 2019Are Sixteen Heads Really Better than One?cited by 803
  4. 2021Robust fine-tuning of zero-shot modelscited by 785
  5. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
  6. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  7. 2023Efficient and Effective Text Encoding for Chinese LLaMA and Alpacacited by 302
  8. 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solvingcited by 276
  9. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  10. 2023Proving Test Set Contamination in Black Box Language Modelscited by 227
  11. 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 226
  12. 2023Large Language Models in Finance: A Surveycited by 223
  13. 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 222
  14. 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
  15. 2023Survey on Factuality in Large Language Models: Knowledge, Retrieval and Domain-Specificitycited by 204
  16. 2023Progressive Prompts: Continual Learning for Language Modelscited by 195
  17. 2023Continual Pre-training of Language Modelscited by 194
  18. 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuningcited by 194
  19. 2019Episodic Memory in Lifelong Language Learningcited by 188
  20. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
  21. 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMscited by 175
  22. 2023Continual Diffusion: Continual Customization of Text-to-Image Diffusion with C-LoRAcited by 138
  23. 2019JEC-QA: A Legal-Domain Question Answering Datasetcited by 115
  24. 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
  25. 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 104
  26. 2020OCNLI: Original Chinese Natural Language Inferencecited by 86
  27. 2020Continual Learning in Task-Oriented Dialogue Systemscited by 82
  28. 2024Can LLMs Learn from Previous Mistakes? Investigating LLMs' Errors to Boost for Reasoningcited by 69
  29. 2023FinGPT: Instruction Tuning Benchmark for Open-Source Large Language Models in Financial Datasetscited by 68
  30. 2023DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuningcited by 64
  31. 2023LMFlow: An Extensible Toolkit for Finetuning and Inference of Large Foundation Modelscited by 58
  32. 2023Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and Observationscited by 58
  33. 2023Pretraining on the Test Set Is All You Needcited by 33
  34. 2022Continual Sequence Generation with Adaptive Compositional Modulescited by 31
  35. 2021Continual Mixed-Language Pre-Training for Extremely Low-Resource Neural Machine Translationcited by 29
  36. 2023Tangent Model Composition for Ensembling and Continual Fine-tuningcited by 25
  37. 2022What Makes Pre-trained Language Models Better Zero-shot Learners?cited by 23
  38. 2023Investigating Forgetting in Pre-Trained Representations Through Continual Learningcited by 19

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026CapTrack: Multifaceted Evaluation of Forgetting in LLM Post-Training
  2. 2024Examining Forgetting in Continual Pre-training of Aligned Large Language Models
  3. 2026Model-Dowser: Data-Free Importance Probing to Mitigate Catastrophic Forgetting in Multimodal Large Language Models
  4. 2026Mechanistic Analysis of Catastrophic Forgetting in Large Language Models During Continual Fine-tuning
  5. 2026Specializing Without Forgetting: Analyzing Knowledge Preservation in Multilingual Model Adaptation
  6. 2025Catastrophic Forgetting in LLMs: A Comparative Analysis Across Language Tasks
  7. 2026Talking to Yourself: Defying Forgetting in Large Language Models
  8. 2024Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Models