Computer Science > Machine Learning
Title:What Predicts Forgetting in LoRA Fine-Tuning Across Optimizers
Abstract:Which property of a fine-tuning update determines how much a language model forgets? Recent work argues that the KL divergence from the base model on the new task is the one consistent predictor. We test candidate predictors under a stricter protocol: we change the optimizer while holding task, model and LoRA adapter fixed, fit forgetting as a monotone function of each candidate on all optimizers but one, and predict the held-out optimizer. On Llama-3.2 1B and 3B fine-tuned on grade-school math, KL and weight distance fit pooled runs in-sample but predict held-out optimizers no better than a constant ($R^2\le0.11$): at equal KL, optimizers whose updates differ in shape from AdamW's forget 20-80% more. The predictor that transfers is the K-FAC form of the Fisher-weighted update size on general text, $\operatorname{tr}(\Delta W^\top G\,\Delta W\,\Sigma)$, which combines the second moment $\Sigma$ of each layer's inputs with the second moment $G$ of the loss gradient at its outputs: it predicts held-out optimizers with $R^2$ 0.55-0.79 in all four model, dataset and adapter settings, including LoRA on all linear layers. Its gradient-free special case $G=I$, $\|\Delta W\|_\Sigma^2=\mathbb{E}_x\|\Delta W x\|^2$, does as well when only the attention projections are adapted ($R^2$ 0.67-0.77) but not when the MLP is adapted (0.22). A causal test confirms the role of the input subspace: removing from every update the principal subspace of general-text inputs reduces forgetting ninefold at unchanged task accuracy and unchanged KL, whereas removing a random or least-energy subspace of the same dimension does not reduce forgetting. Forgetting under LoRA fine-tuning is governed by where the update falls relative to the inputs and loss sensitivity of general text, not by how far the model moves in weight space or in its output distribution on the new task.
| Comments: | 13 pages, 5 figures, 4 tables |
|---|---|
| Subjects: | Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2612.02912 [cs.LG] |
| (or arXiv:2612.02912v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.02912 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.