Emergent properties of the local geometry of neural loss landscapes
Stanislav Fort, Surya Ganguli
TL;DR
The paper tackles the puzzling local geometry of neural loss landscapes in classification by proposing a minimal random-gradient/Hessian model that simultaneously explains four observed properties: a bulk-plus-outlier Hessian spectrum, gradient confinement to the top Hessian subspace, non-monotonic growth of the top eigenvalue during training, and successful training within low-dimensional subspaces via a Goldilocks zone of higher curvature. By assuming weak logit curvature, clustering of logit gradients, and increasing logit variance (probability freezing), the authors derive a simple framework in which these phenomena arise, connect to random matrix theory (BBP transitions) and spin-glass concepts (Derrida’s REM), and demonstrate consistency with empirical data across architectures and datasets. The work provides a unifying, theory-driven explanation for emergent geometric properties of loss landscapes, with potential implications for optimization dynamics, generalization, and design of training regimes. It also highlights how broad theoretical tools can illuminate practical aspects of deep learning, suggesting avenues for extending the approach beyond standard classification tasks.
Abstract
The local geometry of high dimensional neural network loss landscapes can both challenge our cherished theoretical intuitions as well as dramatically impact the practical success of neural network training. Indeed recent works have observed 4 striking local properties of neural loss landscapes on classification tasks: (1) the landscape exhibits exactly $C$ directions of high positive curvature, where $C$ is the number of classes; (2) gradient directions are largely confined to this extremely low dimensional subspace of positive Hessian curvature, leaving the vast majority of directions in weight space unexplored; (3) gradient descent transiently explores intermediate regions of higher positive curvature before eventually finding flatter minima; (4) training can be successful even when confined to low dimensional {\it random} affine hyperplanes, as long as these hyperplanes intersect a Goldilocks zone of higher than average curvature. We develop a simple theoretical model of gradients and Hessians, justified by numerical experiments on architectures and datasets used in practice, that {\it simultaneously} accounts for all $4$ of these surprising and seemingly unrelated properties. Our unified model provides conceptual insights into the emergence of these properties and makes connections with diverse topics in neural networks, random matrix theory, and spin glasses, including the neural tangent kernel, BBP phase transitions, and Derrida's random energy model.
