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 (): 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, , which combines the second moment of each layer's inputs with the second moment of the loss gradient at its outputs: it predicts held-out optimizers with 0.55-0.79 in all four model, dataset and adapter settings, including LoRA on all linear layers. Its gradient-free special case , , does as well when only the attention projections are adapted ( 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.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 13 pages, 5 figures, 4 tables
Related papers
Predicting End-to-End Fine-Tuning Time for Generative Language Models
Shared title terminologycs.LGBreno Beleza, Felipe Lima, Isis Carvalho et al.
TextPredOpt: A Testbed for LLM Predict-then-Optimize with Textual Information
Shared title terminologycs.LGTinghan Ye, Pascal Van Hentenryck
Beyond Point-wise Matching: Diversity-Aware Data Selection for Instruction Tuning via Gradient Subspace Optimization
Shared title terminologycs.LGJiyu Tian, Jiyuan Gan, Runfa Zhang et al.
Predicting falls and near falls with wearable IMU and ECG in parkinson
Shared title terminologycs.LGMuqing Jian, Wenbo Ding, Xusheng Zhu et al.
Local Affine Quantization for KV Caches: From Shared Ranges to Prediction Error
Shared title terminologycs.LGShrey Shah, Rohith Kukkala
TorchTangents: An Accessible Bridge for Architecture-Preconditioned Optimizers
Shared title terminologycs.LGJoshua DeOliveira, Elke Rundensteiner