mlsanityData to 7 Oct 2026

Demystifying Language Model Forgetting with Low-rank Example Associations

arXiv 2406.14026 ↗First posted 20 Jun 2024cs.LG cs.CL stat.MLcited by 8

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) suffer from forgetting of upstream knowledge when fine-tuned. Despite efforts on mitigating forgetting, few have investigated how forgotten upstream examples are dependent on newly learned tasks. Insights on such dependencies enable efficient and targeted mitigation of forgetting. In this paper, we empirically analyze forgetting that occurs in N upstream examples of language modeling or instruction-tuning after fine-tuning LLMs on one of M new tasks, visualized in M× N matrices. We show that the matrices are often well-approximated with low-rank matrices, indicating the dominance of simple associations between the learned tasks and forgotten upstream examples. Leveraging the analysis, we predict forgetting of upstream examples when fine-tuning LLMs on unseen tasks with matrix completion over the empirical associations. This enables fast identification of most forgotten examples without expensive inference on the entire upstream data. Despite simplicity, the approach outperforms prior approaches that learn semantic relationships of learned tasks and upstream examples with LMs. We demonstrate the practical utility of our analysis by showing statistically significantly reduced forgetting as we upweight predicted examples for replay during fine-tuning. Code, data, and statistics collected: https://github.com/AuCson/low-rank-forgetting

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 74 of its 98 references that are in the map. First posted on arXiv 20 Jun 2024.

Builds on

74 of 98 references.

References · 74

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  4. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  5. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  6. 2022Emergent Abilities of Large Language Modelscited by 2,483
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2017Gradient Episodic Memory for Continual Learningcited by 1,871
  9. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  10. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  11. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  12. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,094
38 more
  1. 2018Efficient Lifelong Learning with A-GEMcited by 1,044
  2. 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 895
  3. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  4. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
  5. 2013An Empirical Investigation of Catastrophic Forgetting in Gradient-Based Neural Networkscited by 711
  6. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  7. 2018An Empirical Study of Example Forgetting during Deep Neural Network Learningcited by 669
  8. 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 635
  9. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  10. 2019Gradient based sample selection for online continual learningcited by 568
  11. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 514
  12. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
  13. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
  14. 2022CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learningcited by 446
  15. 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
  16. 2023UltraFeedback: Boosting Language Models with Scaled AI Feedbackcited by 394
  17. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
  18. 2019Online Continual Learning with Maximally Interfered Retrievalcited by 376
  19. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
  20. 2024LoRA Learns Less and Forgets Lesscited by 313
  21. 2022A Survey of Machine Unlearningcited by 298
  22. 2023TRAK: Attributing Model Behavior at Scalecited by 273
  23. 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
  24. 2023Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2cited by 227
  25. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
  26. 2022Predictability and Surprise in Large Generative Modelscited by 209
  27. 2023Progressive Prompts: Continual Learning for Language Modelscited by 195
  28. 2019Episodic Memory in Lifelong Language Learningcited by 188
  29. 2022Datamodels: Predicting Predictions from Training Datacited by 186
  30. 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 179
  31. 2020Anatomy of Catastrophic Forgetting: Hidden Representations and Task Semanticscited by 158
  32. 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
  33. 2019LAMOL: LAnguage MOdeling for Lifelong Language Learningcited by 156
  34. 2022Fine-tuned Language Models are Continual Learnerscited by 152
  35. 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
  36. 2024Continual Learning for Large Language Models: A Surveycited by 144
  37. 2023Understanding Catastrophic Forgetting in Language Models via Implicit Inferencecited by 138
  38. 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134

50 most cited of 74 All 74 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 4.

8 papers.