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

Quantifying the Stability of Multi-Step Reasoning via Error Amplification

Dongyue Li, Ziniu Zhang, Minxuan Duan, Hongyang R. ZhangNeurIPS 2026

TL;DR

Asking a language model to "think step-by-step" makes it smarter, right up until a tiny mistake in step two snowballs into complete nonsense by step ten. This paper derives the exact mathematical culprit behind this snowball effect—an "error amplification factor" based on how sensitive each step is to previous inputs—and introduces a surprisingly simple training recipe (combining shorter reasoning chains with extreme weight quantization) to keep long-horizon reasoning stable and accurate.

What Problem Does This Paper Address?

When we train language models on multi-step reasoning—like Chain-of-Thought (CoT) or executing classic graph algorithms—there is a mismatch between training and reality. During training (supervised fine-tuning), the model predicts step $t$ while looking at the perfect, ground-truth history of steps $1$ through $t-1$ (known as teacher forcing).

At test time, however, the training wheels come off. The model generates autoregressively, feeding its own slightly flawed predictions back into itself. Like a game of telephone, small early errors compound, causing test loss to explode super-linearly over long sequences. Standard training does nothing to explicitly prevent this accumulation, and while empirical tricks exist to soften the blow, we haven’t had a rigorous, computable way to measure why or how reasoning destabilizes.

Methods

The authors tackle this from both a theoretical and an algorithmic angle:

  • Quantifying Error Amplification (New Theory): Using a first-order Taylor expansion in the continuous input-embedding space, the authors bound the gap between training loss and test-time inference loss. They trace how an error at step $i$ propagates to final step $T$ via input Jacobians—matrices measuring how much the output token embedding shifts when a previous input token embedding is nudged. The product of the spectral norms (essentially the maximum stretching factor) of these Jacobians across all paths forms the error amplification factor.
  • Algorithm 1: Jacobian-Regularized Training (New Recipe): Because directly computing and penalizing Jacobians during LLM training is prohibitively expensive, the authors combine two existing techniques in a novel way to tame this amplification factor indirectly:
  • CoT Length Compression: Uniformly subsampling a fraction of intermediate reasoning steps during training. Fewer steps mean fewer multiplications of the error factor, trading a slight bump in per-step difficulty for massive stability gains.
  • Quantization-Aware Training (QAT): Rounding model weights to low bit-widths (down to 1-bit!) during the forward pass while using standard straight-through gradients. Why quantization for accuracy? Rounding weights acts like injecting structured noise, which smooths the loss landscape and penalizes the Hessian trace—effectively shrinking the input Jacobian norms.
Figure 1: We present a bound on the inference loss in multi-step reasoning governed by the product of spectral norms of Jacobians taken through the input space across generation steps. Figure 1a: Our bound (equation (4)) tracks the inference loss on the Bellman-Ford algorithmic reasoning task, showing that both can scale exponentially with steps. Figure 1b: We design a training method that regularizes the Jacobian spectral norms, which improves the test performance over baselines. Figure 1c: Models fine-tuned with our method exhibit drastically reduced Jacobian spectral norms.

Datasets

No new benchmarks are introduced; the authors evaluate on established algorithmic and state-tracking datasets (2,000 training examples and 200 validation/test examples per task):

  • CLRS-Text Benchmark: Text-based executions of five classic graph algorithms on 10-node graphs: Dijkstra, Bellman-Ford, Prim’s algorithm, Breadth-First Search (BFS), and Depth-First Search (DFS).
  • LEGO: Symbolic state-tracking tasks using two group-action variants (cyclic/transitive and symmetry groups) with 8 variables.
  • Synthetic In-Context Learning: Linear and quadratic regression tasks used to validate their theoretical transformer convergence proofs.

Key Insights and Ideas

  • The Geometric Series Threshold: Just like compound interest, whether multi-step reasoning blows up or stabilizes depends on whether the step-to-step Jacobian spectral norm is greater than or less than $1$. In theoretical analyses of one-layer transformers learning linear and quadratic functions, the authors prove that gradient flow naturally converges to a solution where this norm is strictly $<1$, turning error accumulation into a harmless, decaying geometric series.
  • A Three-Head Transformer Can Do Nonlinear Gradient Descent: As a neat theoretical byproduct, the authors construct a novel three-head nonlinear transformer (using squared and cubic activations) that exactly implements gradient descent on quadratic functions.
  • Quantization Beats Gaussian Noise as a Regularizer: We usually think of 1-bit quantization purely as a compression hack to save memory. Here, it shines as a stability regularizer—outperforming standard random Gaussian noise injection by 9% in ablations.

Key Results

Fine-tuning Qwen-1.5B (alongside experiments on Llama-1B and Gemma-2B), Algorithm 1 consistently beats standard CoT, Implicit CoT, Coconut (continuous latent reasoning), and noise-injection baselines:

  • Higher Accuracy: Improves test accuracy by an average of 3.5% across all seven tasks (e.g., jumping from 75.3% with standard CoT to 80.3% on Bellman-Ford, and from 89.2% to 94.1% on Cyclic state-tracking), beating latent-reasoning baselines by up to 6.5%.
  • Better Length Generalization: When tested out-of-distribution on inputs 10% longer than seen in training, the average accuracy lead jumps to 8.2%.
  • Crushed Error Amplification: Empirically shrinks the Jacobian-based error amplification factor by 3–8$\times$ compared to baselines. Removing either length compression or QAT drops accuracy by 4.3% and 3.2%, respectively.

Limitations and Future Work

  • Loose Numerical Bounds: While the theoretical bound reliably tracks the trend and ordering of test losses across methods, it is a worst-case bound. The bound-to-gap ratio is reasonable on Qwen-1.5B (~8$\times$), but balloons to $10^5\text{–}10^6\times$ on Llama-1B and Gemma-2B.
  • Hard Limits on Extrapolation: While 10% longer inputs showed great gains, pushing to 20% longer inputs on CLRS-Text caused accuracy for all methods to collapse below 25%. At that point, basic input-length bottlenecks overwhelm stability fixes—leaving longer-horizon extrapolation an open challenge for future work.

Summary updated

BibTeX
@inproceedings{li2026quantifying,
  author = {Dongyue Li and Ziniu Zhang and Minxuan Duan and Hongyang R. Zhang},
  title = {{Quantifying the Stability of Multi-Step Reasoning via Error Amplification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=WtBpkiw90s},
}
Figure