# A Scalable Measure of Loss Landscape Curvature for Analyzing the Training Dynamics of LLMs

*Dayal Singh Kalra, Jean-Christophe Gagnon-Audet, Andrey Gromov, Ishita Mediratta, Kelvin Niu, Alexander Miller, Michael Shvartsman*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155425) · [OpenReview](https://openreview.net/forum?id=5l3JqAoTnr) · [alphaXiv](https://www.alphaxiv.org/abs/2601.16979) · [Open on the map](../papers.html#p155425)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Stable State-Space Learning](../pgroup/321.md) · Type: new method · Keywords: loss landscape curvature, critical sharpness, LLM training dynamics, scalable curvature measure, Edge of Stability

## Summary
The paper introduces critical sharpness (λ_c), a scalable curvature measure that captures Hessian sharpness phenomena for LLMs using fewer than 10 forward passes, enabling analysis of training dynamics at scale.

## Explained to a 5-year-old
Big computers learn by trying to get better at language, but it is hard to see how stable they are. The researchers found a quick trick to check how "curvy" the learning path is without using a lot of computer power. This trick looks at how the computer moves its brain and uses a few simple steps. It helps them understand when the learning gets sharper and when it might be risky. This makes it easier for people to train big language models safely and efficiently.

## Explained to a 5-year-old, longer
When we teach a computer to understand language, we give it lots of examples and ask it to improve. The computer changes its internal numbers a little at a time, like adjusting a recipe. To know if the computer is learning safely, we want to see how "curvy" its learning path is. Usually, checking this curvature needs a lot of computer work, which is too slow for the biggest models. The researchers came up with a simple method that only needs a few quick calculations. They look at how the computer moved its numbers in the last step and use that to guess the curvature. This guess works well and shows the same patterns that experts already know about. It can tell us when the model becomes more "sharp," meaning it might be less stable. It also helps us see what happens when we switch from learning a lot of data to learning a little, special set. The new method works on very large models with billions of parameters, not just small ones. By using this easy check, developers can watch the learning process and make better choices about the data they feed. In the end, it makes training big language models faster, safer, and easier to understand.

## For a technical reader
The paper introduces critical sharpness (λ_c), a lightweight estimator that approximates the loss Hessian’s largest eigenvalue using only a handful of forward passes along the parameter update direction. By leveraging this measure, practitioners can monitor curvature dynamics during large-scale LLM training without the prohibitive cost of full Hessian computation. The authors also propose relative critical sharpness to compare curvature across different training phases, which aids in designing data-mixing strategies for pre-training and fine-tuning. Empirical results on OLMo-2 models up to 7 B parameters confirm that the estimator captures known phenomena such as progressive sharpening and the Edge of Stability. This approach provides a practical, scalable tool for diagnosing training stability and informing data composition decisions in production-level model training.

## Problem
Analyzing the curvature evolution of the loss landscape of large language models is computationally prohibitive due to the high cost of measuring Hessian sharpness. There is a need for a scalable, efficient measure that can capture curvature dynamics during training without prohibitive computation.

## Method
The approach leverages a computationally efficient curvature estimator that uses the parameter update direction Δθ to approximate sharpness with fewer than ten forward passes. It also introduces a relative version that compares curvature across different training phases, enabling analysis of transitions from pre-training to fine-tuning. These measures are applied to OLMo-2 models up to 7 B parameters.

## Contributions
The paper proposes a scalable curvature measure that captures Hessian sharpness phenomena with low computational cost and demonstrates its utility on large language models up to 7 B parameters. It also introduces a relative curvature measure for analyzing transitions between training phases and guiding data mixing strategies.

## Practical relevance
It gives practitioners a low-cost way to monitor loss landscape curvature during large-scale LLM training, helping them make informed data composition decisions.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155425)
