A loss curvature account of fine-tuning fragility

Ivaylo Dimitrov, Leo Karoubi, Sunny Howard, Dmitrii KrasheninnikovCATS @ ICML 2026

TL;DR

Fine-tuning often creates "fragile" model updates that are easily erased by further training. This paper demonstrates that the concentration of new data during fine-tuning is the key culprit: high-concentration training lands models in "sharp" regions of the loss landscape where the second-order curvature—not just gradient conflict—drives rapid forgetting.

What Problem Does This Paper Address?

We’ve all seen it: you fine-tune a massive language model to follow safety guidelines or learn a specific niche task, only for those capabilities to vanish the moment the model is trained on anything else. This "fragility" is a major hurdle for AI safety and continual learning.

While researchers know that mixing original pre-training data into the fine-tuning process (a technique called "replay" or "data mixing") helps, we haven't really understood why the ratio of new-to-old data—which the authors call concentration ($c$)—matters so much. Is the model forgetting because the new and old gradients are fighting each other, or is there something deeper happening in the geometry of the loss landscape?

Methods

The authors investigate this using a rigorous three-phase protocol:

  1. Pre-train: Train on a base distribution ($D_{pre}$).
  2. Fine-tune: Train on a mixture of new data ($D_{new}$) at concentration $c$ and base data ($D_{pre}$) at $(1-c)$.
  3. Reversion: Train exclusively on the base data ($D_{pre}$) again to see how fast the new task is forgotten.

To peek under the hood, they use a Taylor expansion to decompose the change in loss during the reversion phase into two main parts:

  • $T_1$ (First-order): Measures "gradient conflict"—how much the pre-training update direction directly opposes the new task's gradient.
  • $T_2$ (Second-order): Measures "curvature"—how "sharp" the loss landscape is in the direction the model is moving.

By tracking these terms across different concentrations, they can pinpoint exactly what is driving the forgetting.

Datasets

The study spans a variety of scales and domains to ensure the findings aren't just flukes:

  • LLMs: Pythia-70M and Pythia-1B models.
  • Domains: Chemistry (SMILES strings), Music (ABC notation), and Biomedical text (PubMed).
  • Base Data: The Pile (a standard massive text corpus).
  • Synthetic Benchmarks: "Compositional Capabilities" (bijection chains) and Probabilistic Context-Free Grammars (PCFGs) to test structural learning and "wrapper" formation.

Key Insights and Ideas

  • Concentration is the "Fragility Dial": Forgetting speed increases monotonically with concentration. The more "pure" your fine-tuning data is, the shallower and more reversible the resulting changes are.
  • Curvature is the Silent Killer: While gradient conflict ($T_1$) matters, it isn't the whole story. Even when gradients aren't in direct conflict, high directional curvature ($T_2$) can cause the loss to spike rapidly as soon as the model moves back toward its pre-training optimum.
  • The Landscape is Specifically Sharp: The authors found that the loss landscape is much sharper along the direction of the pre-training update than in random directions. As concentration increases, this directional sharpness grows.
  • "Wrappers" vs. Deep Integration: High-concentration fine-tuning tends to create a "wrapper"—a thin, low-rank layer of weights that sits on top of the model. Lowering concentration forces the optimizer to find "deeper" solutions that satisfy both tasks simultaneously, leading to flatter, more robust minima.

Key Results

  • Monotonic Forgetting: In every setup, higher $c$ led to faster forgetting. For example, in chemistry tasks, a concentration of $c=0.25$ resulted in roughly 4x less relative degradation compared to $c=1.0$.
  • Curvature Dominance: As concentration increases, the relative share of forgetting attributed to the second-order curvature term ($T_2$) grows significantly.
  • Directional Curvature ($\lambda_{dir}$): The curvature along the reversion path was found to be orders of magnitude larger than the average curvature ($\lambda_{avg}$) across all directions, proving that models are specifically fragile along the paths they took during pre-training.
  • Update Magnitude: Higher concentration fine-tuning leaves the model further away from the pre-training optimum, leading to larger initial update steps during reversion, which further accelerates forgetting.

Limitations and Future Work

  • Scale: Most mechanistic analysis was done on Pythia-70M. While forgetting trends held at 1B parameters, it remains to be seen if the curvature account changes at the scale of GPT-4 or Llama-3.
  • Alignment Techniques: The paper focuses on standard supervised fine-tuning. Future work is needed to see if these insights apply to RLHF (Reinforcement Learning from Human Feedback) or DPO (Direct Preference Optimization).
  • Taylor Horizon: The Taylor decomposition is most accurate for the first few steps of forgetting. As the model drifts further from the fine-tuned checkpoint, higher-order terms become more significant.
  • Safety Implications: The authors note that their safety-related conclusions are "motivational extrapolations." Direct testing on actual safety-redteaming datasets is a necessary next step.

Summary updated

BibTeX
@inproceedings{dimitrov2026loss,
  author = {Ivaylo Dimitrov and Leo Karoubi and Sunny Howard and Dmitrii Krasheninnikov},
  title = {{A loss curvature account of fine-tuning fragility}},
  booktitle = {CATS @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=LhT1YHmyCN},
}
Figure