Computer Science > Machine Learning
Title:Not Intruders, but Over-Amplified Directions: Rethinking Forgetting in LoRA and Full Fine-Tuning
Abstract:Fine-tuning pretrained language models can degrade capabilities acquired during pretraining under both full fine-tuning and LoRA, commonly known as forgetting. Recent work mitigates LoRA-induced forgetting by identifying and shrinking intruder dimensions, which implicitly reduces the magnitude of the model update. Our empirical study reveals that globally scaling the update towards the pretrained weights substantially reduces pretraining loss (i.e., mitigates forgetting) for both LoRA and full fine-tuning. We explain this effect through local loss geometry: around the fine-tuned solution, a small retraction reduces pretraining loss to first order, while second-order curvature makes a substantial contribution to the corresponding increase in downstream-task loss. This analysis further reveals that update directions differ substantially in their recovery-cost trade-offs. We call directions whose retraction provides large first-order pretraining-loss recovery with little increase in downstream-task loss over-amplified directions (OADs). A decomposition of first-order directional recovery reveals a term proportional to direction energy, motivating our energy-based proxy for selecting approximate OADs using only the pretrained and fine-tuned model weights. Our experiments covering four fine-tuning tasks exhibit that our energy-based OAD selection for both LoRA and full fine-tuning can improve upon global scaling at matched task cost across 16 RoBERTa settings and matches or exceeds every baseline in most settings among edits that reduce validation accuracy by at most 0.5%.
| Comments: | 19 pages, 9 figures, 19 tables |
|---|---|
| Subjects: | Machine Learning (cs.LG) |
| Cite as: | arXiv:2612.03595 [cs.LG] |
| (or arXiv:2612.03595v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03595 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.