Keeping fine-tuning in flat directions limits damage to a language model's other skills
CurvDelta restricts weight changes to directions that barely shift a model's behaviour on reference text, for teaching maths and code or for unlearning, with modest, uneven gains.

Fine-tuning a large language model to improve at maths or code, or to make it forget particular material, often costs it some of what it could already do. A 2026 preprint by Zeguan Xiao and colleagues, not yet peer reviewed, proposes CurvDelta. The method builds the requirement to preserve existing behaviour into the form of the weight update itself, instead of adding it as a penalty that competes with the task.
The authors start with a preservation loss. This is the KL divergence, a measure of how far one probability distribution drifts from another, between the outputs of the original and adapted models on a small reference set. In the maths and code experiments that set is 256 examples of FineFineWeb web text. Around the starting weights, they estimate how sharply this loss rises when the weights move in each direction, a property called curvature. Updates are allowed only along low-curvature directions, where the loss barely moves. Exact curvature is out of reach for models this size, so they use K-FAC, a standard shortcut. K-FAC approximates each layer's curvature with two small matrices: the covariance of the layer's inputs and the covariance of its output gradients. Both are estimated once, before training. For each matrix, the steepest directions are removed until they account for a chosen fraction of the total, set by a threshold called γ. The result is two fixed filters that sit on either side of the trainable update.
This design separates CurvDelta from CrispEdit, a curvature-based rival. CrispEdit filters gradients instead. The authors argue that the Adam optimiser rescales each coordinate of a gradient differently, so the step it actually takes can drift out of the protected space. Because CurvDelta's filter is part of the update, the update cannot leave that space under any optimiser. A cheaper variant, CurvLoRA, applies the same filters to LoRA, which trains an update as the product of two thin matrices.
For skill learning, the team tuned Gemma-3-1B and Llama-2-7B on 100K MetaMathQA maths examples, scored on GSM8K and MATH, and on 104K CodeFeedback examples, scored on HumanEval and MBPP. Retention was measured on TriviaQA, NQ-Open and MMLU. Baselines included full fine-tuning, replay of earlier data, CrispEdit, OPLoRA, LoRA, PiSSA, MiLoRA and CorDA. On Llama-2-7B code, CurvDelta led on every average the authors report. Its retention score was 44.4, against 45.6 for the untuned model. On Gemma maths it matched full fine-tuning on the target tasks, at 21.2 against 21.3, and its retention average was 22.9 against full fine-tuning's 18.1. On Llama-2-7B maths, however, replay had the best joint score at 40.2. CurvDelta scored 39.0, behind OPLoRA and MiLoRA as well. On Gemma code its joint score was 22.1, against CrispEdit's 21.9.
For unlearning, the authors used the TOFU and MUSE Books benchmarks, comparing each method with a model retrained from scratch without the data to be forgotten. With the SimNPO objective on Llama-3.1-8B, CurvDelta had the best Forget Quality on TOFU's 5% and 10% splits, at −0.1 and −1.1, where values closer to zero mean closer to the retrained model. Its utility scores were 63.3 and 63.2, against 63.2 and 64.6 for the retrained reference. Full fine-tuning's utility fell to 38.9 on the 10% split. CurvDelta's probability of producing forgotten answers, 6.3 and 6.5, fell below the retrained model's 10.8 and 10.6, a gap the paper does not discuss. On MUSE Books it had the lowest verbatim memorisation, 11.6 against the retrained model's 14.2. Other methods forgot more of the underlying knowledge, though, and retained more. VILA kept 59.0 on retained knowledge against CurvDelta's 55.8 and the retrained model's 68.6. In ablations on one TOFU setting, low-curvature directions beat high-curvature and random directions of the same size, and filtering the update beat filtering Adam's gradients.
The authors' preservation guarantee rests on a local approximation and on K-FAC. It does not limit the size of the update, which depends on learning rate and training length. The authors note that the approximation also runs at a smaller numerical scale than the measured drift. Curvature is never recomputed as the weights move. The text reports no repeated runs or error bars. Models are 8B parameters or smaller, retention covers only question answering and MMLU, and the main unlearning table shows only SimNPO.
The tension between forgetting and keeping quality also ran through a braintankAI story on unlearning in models that both draw and read images, where a more thorough forgetting method cost output quality (earlier story). CurvDelta tackles the same tension in text-only models, starting from the retention side.
- Paper
- CurvDelta: Low-Curvature Delta Modeling For Surgical Learning and Unlearning
- Authors
- Zeguan Xiao, Zhuocheng Liang, Yun Chen, Yong Wang, Guanhua Chen, Pinyan Lu et al.
- Venue
- arXiv preprint — not yet peer reviewed · 18 November 2026
- Link
- arxiv.org/abs/2611.24654
- Index
- stacks.braintank.ai
- Cite


