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%.
Create a lesson
Metadata
- Comments
- 19 pages, 9 figures, 19 tables
Related papers
What Predicts Forgetting in LoRA Fine-Tuning Across Optimizers
Shared title terminologycs.LGZhiyong Jin
EWC-IA3: Adapter Geometry Determines Forgetting in Continual Parameter-Efficient Fine-Tuning
Shared title terminologycs.LGXiaoyan Li, Lanpei Li, Massimo Coppola et al.
When Does Fine-Tuning Overtake Prompting? An Accuracy and Cost Analysis of Small Language Models on Narrow Tasks
Shared title terminologycs.LGUrs Spiegelhalter, Jörg K. H. Franke, Frank Hutter
Where Self-Hosted Fine-Tuning Overtakes Frontier In-Context Learning: A Measured Crossover on a Bounded Classification Task
Shared title terminologycs.LGGaston Besanson
Reward Fine-tuning of One-step Generators via Backward Drifting
Shared title terminologycs.LGJiwoo Yoon, Hyunsoo Song, Hoseong Hwang et al.
Fine-Tuning Large Models on Smaller GPUs: Does Streaming the Model One Layer at a Time (Layer-Streamed QLoRA) Match Standard QLoRA?
Shared title terminologycs.LGAshwini Mandal, Kashish Bataju, Projan Shakya et al.