mlsanityData to 7 Oct 2026

Upweighting Easy Samples in Fine-Tuning Mitigates Forgetting

arXiv 2502.02797 ↗First posted 5 Feb 2025cs.LG cs.AI stat.MLcited by 16

Not on the map. Why?

Abstract (arXiv)

Fine-tuning a pre-trained model on a downstream task often degrades its original capabilities, a phenomenon known as "catastrophic forgetting". This is especially an issue when one does not have access to the data and recipe used to develop the pre-trained model. Under this constraint, most existing methods for mitigating forgetting are inapplicable. To address this challenge, we propose a sample weighting scheme for the fine-tuning data solely based on the pre-trained model's losses. Specifically, we upweight the easy samples on which the pre-trained model's loss is low and vice versa to limit the drift from the pre-trained model. Our approach is orthogonal and yet complementary to existing methods; while such methods mostly operate on parameter or gradient space, we concentrate on the sample space. We theoretically analyze the impact of fine-tuning with our method in a linear setting, showing that it stalls learning in a certain subspace which inhibits overfitting to the target task. We empirically demonstrate the efficacy of our method on both language and vision tasks. As an example, when fine-tuning Gemma 2 2B on MetaMathQA, our method results in only a 0.8% drop in accuracy on GSM8K (another math dataset) compared to standard fine-tuning, while preserving 5.4% more accuracy on the pre-training datasets. Our code is publicly available at https://github.com/sanyalsunny111/FLOWfinetuning .

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 84 of its 119 references that are in the map. First posted on arXiv 5 Feb 2025.

Builds on

84 of 119 references.

References · 84

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  7. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  8. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  11. 2021Program Synthesis with Large Language Modelscited by 3,509
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
38 more
  1. 2016Learning without Forgettingcited by 2,465
  2. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
  3. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  4. 2017Gradient Episodic Memory for Continual Learningcited by 1,871
  5. 2016Progressive Neural Networkscited by 1,332
  6. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,094
  7. 2022Editing Models with Task Arithmeticcited by 1,076
  8. 2018Efficient Lifelong Learning with A-GEMcited by 1,044
  9. 2017PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruningcited by 882
  10. 2021Robust fine-tuning of zero-shot modelscited by 785
  11. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
  12. 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
  13. 2018Overcoming catastrophic forgetting with hard attention to the taskcited by 672
  14. 2016Training Region-based Object Detectors with Online Hard Example Miningcited by 577
  15. 2019Gradient based sample selection for online continual learningcited by 568
  16. 2021Datasets: A Community Library for Natural Language Processingcited by 526
  17. 2018Progress & Compress: A scalable framework for continual learningcited by 516
  18. 2018Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interferencecited by 511
  19. 2016Expert Gate: Lifelong Learning with a Network of Expertscited by 369
  20. 2021ResNet strikes back: An improved training procedure in timmcited by 365
  21. 2019Orthogonal Gradient Descent for Continual Learningcited by 361
  22. 2018Learning Models with Uniform Performance via Distributionally Robust Optimizationcited by 334
  23. 2018Not All Samples Are Created Equal: Deep Learning with Importance Samplingcited by 323
  24. 2024LoRA Learns Less and Forgets Lesscited by 313
  25. 2019On Tiny Episodic Memories in Continual Learningcited by 299
  26. 2023Orthogonal Subspace Learning for Language Model Continual Learningcited by 296
  27. 2021Rainbow Memory: Continual Learning with a Memory of Diverse Samplescited by 273
  28. 2018Learning without Memorizingcited by 249
  29. 2017Overcoming Catastrophic Forgetting by Incremental Moment Matchingcited by 243
  30. 2018Selective Experience Replay for Lifelong Learningcited by 239
  31. 2024Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations?cited by 227
  32. 2020Supermasks in Superpositioncited by 223
  33. 2019Compacting, Picking and Growing for Unforgetting Continual Learningcited by 207
  34. 2018Online Structured Laplace Approximations For Overcoming Catastrophic Forgettingcited by 197
  35. 2020Coresets via Bilevel Optimization for Continual Learning and Streamingcited by 191
  36. 2019Learning to Remember: A Synaptic Plasticity Driven Framework for Continual Learningcited by 181
  37. 2023Mitigating the Alignment Tax of RLHFcited by 181
  38. 2020Large-Scale Methods for Distributionally Robust Optimizationcited by 179

50 most cited of 84 All 84 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 13.

16 papers.

Sort:

By area: