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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kalra, Dayal Singh, Gagnon-Audet, Jean-Christophe, Gromov, Andrey, Mediratta, Ishita, Niu, Kelvin, Miller, Alexander H, Shvartsman, Michael
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908804448256000
author Kalra, Dayal Singh
Gagnon-Audet, Jean-Christophe
Gromov, Andrey
Mediratta, Ishita
Niu, Kelvin
Miller, Alexander H
Shvartsman, Michael
author_facet Kalra, Dayal Singh
Gagnon-Audet, Jean-Christophe
Gromov, Andrey
Mediratta, Ishita
Niu, Kelvin
Miller, Alexander H
Shvartsman, Michael
contents Understanding the curvature evolution of the loss landscape is fundamental to analyzing the training dynamics of neural networks. The most commonly studied measure, Hessian sharpness ($λ_{\max}^H$) -- the largest eigenvalue of the loss Hessian -- determines local training stability and interacts with the learning rate throughout training. Despite its significance in analyzing training dynamics, direct measurement of Hessian sharpness remains prohibitive for Large Language Models (LLMs) due to high computational cost. We analyze $\textit{critical sharpness}$ ($λ_c$), a computationally efficient measure requiring fewer than $10$ forward passes given the update direction $Δ\mathbfθ$. Critically, this measure captures well-documented Hessian sharpness phenomena, including progressive sharpening and Edge of Stability. Using this measure, we provide the first demonstration of these sharpness phenomena at scale, up to $7$B parameters, spanning both pre-training and mid-training of OLMo-2 models. We further introduce $\textit{relative critical sharpness}$ ($λ_c^{1\to 2}$), which quantifies the curvature of one loss landscape while optimizing another, to analyze the transition from pre-training to fine-tuning and guide data mixing strategies. Critical sharpness provides practitioners with a practical tool for diagnosing curvature dynamics and informing data composition choices at scale. More broadly, our work shows that scalable curvature measures can provide actionable insights for large-scale training.
format Preprint
id arxiv_https___arxiv_org_abs_2601_16979
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Scalable Measure of Loss Landscape Curvature for Analyzing the Training Dynamics of LLMs
Kalra, Dayal Singh
Gagnon-Audet, Jean-Christophe
Gromov, Andrey
Mediratta, Ishita
Niu, Kelvin
Miller, Alexander H
Shvartsman, Michael
Machine Learning
Disordered Systems and Neural Networks
Artificial Intelligence
Understanding the curvature evolution of the loss landscape is fundamental to analyzing the training dynamics of neural networks. The most commonly studied measure, Hessian sharpness ($λ_{\max}^H$) -- the largest eigenvalue of the loss Hessian -- determines local training stability and interacts with the learning rate throughout training. Despite its significance in analyzing training dynamics, direct measurement of Hessian sharpness remains prohibitive for Large Language Models (LLMs) due to high computational cost. We analyze $\textit{critical sharpness}$ ($λ_c$), a computationally efficient measure requiring fewer than $10$ forward passes given the update direction $Δ\mathbfθ$. Critically, this measure captures well-documented Hessian sharpness phenomena, including progressive sharpening and Edge of Stability. Using this measure, we provide the first demonstration of these sharpness phenomena at scale, up to $7$B parameters, spanning both pre-training and mid-training of OLMo-2 models. We further introduce $\textit{relative critical sharpness}$ ($λ_c^{1\to 2}$), which quantifies the curvature of one loss landscape while optimizing another, to analyze the transition from pre-training to fine-tuning and guide data mixing strategies. Critical sharpness provides practitioners with a practical tool for diagnosing curvature dynamics and informing data composition choices at scale. More broadly, our work shows that scalable curvature measures can provide actionable insights for large-scale training.
title A Scalable Measure of Loss Landscape Curvature for Analyzing the Training Dynamics of LLMs
topic Machine Learning
Disordered Systems and Neural Networks
Artificial Intelligence
url https://arxiv.org/abs/2601.16979