NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hidden Sensitivity in LLM Pre-training: A Dynamic System View

Bo Liu, Yuan Xie, Junan Chen, Fujun HanarXiv 2026

Imagine you’re training a massive Large Language Model (LLM). You’re watching the loss curve—that familiar, jagged line trending downward—and everything looks smooth. You assume the model is "stable."

But according to this paper, that smooth curve is a lie. Beneath the surface, the training process can be a chaotic weather system where the "Butterfly Effect" is in full swing. A tiny numerical nudge—something as small as $10^{-5}$—might not move the loss at all, but it can cause the model to completely change its mind about a third of its predictions just a few hundred steps later.

TL;DR

LLM pre-training loss curves hide a "Hidden Sensitivity" where tiny perturbations to weights or optimizer states can lead to wildly different model behaviors. By treating training as a dynamical system, the authors develop a "sensitivity score" to identify these unstable windows and show that targeted stabilization can prevent this divergence at a minimal cost to performance.

What Problem Does This Paper Address?

We’ve known for a while that LLM training isn't perfectly reproducible. Change the batch order or use a different GPU kernel, and you get a slightly different model. Usually, we shrug this off because the "aggregate metrics" (like average loss or benchmark accuracy) stay the same.

The authors argue this is a dangerous oversight. They show that even when two models have nearly identical loss, they might disagree on a massive number of individual questions. This "Hidden Sensitivity" means your model is teetering on the edge of chaos. If we can't measure or control this sensitivity, we can't truly understand the stability or reliability of the training process.

Methods

The researchers stop looking at training as just "minimizing a function" and start looking at it as a non-autonomous dynamical system.

  1. The State: In their view, the "state" of the system isn't just the model weights ($\theta$); it includes the optimizer's memory (the first and second moments, $m$ and $v$, in AdamW).
  2. Sensitivity Score: They derive a mathematical way to track how a tiny change today grows over time. Because weights, gradients, and squared gradients have different units, they use "optimizer-relative coordinates" to put everything on a common scale.
  3. The Probe: They developed a diagnostic tool (a "probe") that runs alongside training. It calculates a sensitivity score by simulating how a small perturbation would propagate through the AdamW update rules.
  4. Stabilization: When the sensitivity score spikes, they apply "damping"—essentially calming the optimizer down by reducing the learning rate and smoothing out the momentum—to keep the trajectories from diverging.

Datasets

The authors tested their theories on two main scales:

  • Small Scale: A 76.8M parameter LLaMA-style model trained on the C4 dataset.
  • Large Scale: The OLMo-1B model (1.485B parameters) trained on the Dolma dataset.
  • Evaluation: They used standard benchmarks like PIQA (physical commonsense), HellaSwag (sentence completion), and ARC-Easy (science questions) to see if the models actually gave different answers.

Key Insights and Ideas

  • Loss is a "Lower-Dynamic-Range Projection": This is the big "aha" moment. Loss is a single number that averages everything. It can stay flat while the underlying model is undergoing a massive "identity crisis."
  • The Optimizer is the Memory: Perturbing the Adam optimizer’s internal state (its "memory" of past gradients) is just as consequential as changing the weights themselves.
  • Sensitivity is Windowed: Training isn't equally sensitive all the time. There are specific "windows" where the model is highly susceptible to divergence.
This figure illustrates how a high sensitivity score leads to divergent training trajectories and different output behaviors, even when the loss curve remains smooth.
  • The Compounding Effect of Greedy Generation: In text generation, a single flipped token at the start of a sentence changes the context for every subsequent token. This "butterfly effect" means a tiny weight change can lead to a 100% different generated sequence.

Key Results

  • The Divergence: At a "sensitive" checkpoint (step 2000), a tiny $10^{-5}$ perturbation caused the model to change 35.7% of its top-1 predictions and 16.2% of its benchmark answers within just 200 steps. Meanwhile, the validation loss barely budged.
  • The Stability Contrast: At a "stable" checkpoint (step 4000), the exact same perturbation resulted in 0% change in benchmark answers.
A comparison of validation loss and sensitivity score (A) alongside various divergence metrics (B-F) showing how sensitive vs. stable checkpoints respond to perturbations.
  • Effective Control: By using their sensitivity score to time stabilization, they reduced top-1 disagreement from 35.7% down to just 0.83%, and recovered nearly all greedy generations (88.3% exact match), costing only a tiny 0.11-nat increase in loss.

Limitations and Future Work

  • Computational Overhead: Running the sensitivity probe isn't free. It adds about 2.8% to training time, and the full stabilization routine can add up to 21% overhead.
  • Optimizer Specificity: The current math is heavily tied to the AdamW optimizer family. Different optimizers (like SGD or Soap) would need their own specific derivations.
  • Long-term Trajectories: While the authors followed divergences for up to 2000 steps, they acknowledge that we don't yet know if these "diverged" models eventually converge back to the same behavior much later in training.

Summary updated

BibTeX
@misc{liu2026hidden,
  author = {Bo Liu and Yuan Xie and Junan Chen and Fujun Han},
  title = {{Hidden Sensitivity in LLM Pre-training: A Dynamic System View}},
  year = {2026},
  eprint = {2611.28830},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28830},
}
Figure