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%.