Does SGD Seek Flatness or Sharpness? An Exactly Solvable Model
Not on the map. Why?
Abstract (arXiv)
A large body of theory and empirical work hypothesizes a connection between the flatness of a neural network's loss landscape during training and its performance. However, there have been conceptually opposite pieces of evidence regarding when SGD prefers flatter or sharper solutions during training. In this work, we partially but causally clarify the flatness-seeking behavior of SGD by identifying and exactly solving an analytically solvable model that exhibits both flattening and sharpening behavior during training. In this model, the SGD training has no textita priori preference for flatness, but only a preference for minimal gradient fluctuations. This leads to the insight that, at least within this model, it is data distribution that uniquely determines the sharpness at convergence, and that a flat minimum is preferred if and only if the noise in the labels is isotropic across all output dimensions. When the noise in the labels is anisotropic, the model instead prefers sharpness and can converge to an arbitrarily sharp solution, depending on the imbalance in the noise in the labels spectrum. We reproduce this key insight in controlled settings with different model architectures such as MLP, RNN, and transformers.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 50 of its 59 references that are in the map. First posted on arXiv 4 Feb 2026.
Builds on
50 of 59 references.
References · 50
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 748
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2017Implicit Regularization in Matrix Factorizationcited by 318
- 2016Deep Learning without Poor Local Minimacited by 233
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 183
- 2018A Convergence Analysis of Gradient Descent for Deep Linear Neural Networkscited by 180
- 2022Self-Stabilization: The Implicit Bias of Gradient Descent at the Edge of Stabilitycited by 151
- 2020The Break-Even Point on Optimization Trajectories of Deep Neural Networkscited by 149
- 2022Understanding Gradient Descent on Edge of Stability in Deep Learningcited by 126
38 more
- 2019Implicit regularization for deep neural networks driven by an Ornstein-Uhlenbeck like processcited by 123
- 2019Implicit Regularization of Discrete Gradient Dynamics in Linear Neural Networkscited by 122
- 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
- 2021Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticitycited by 107
- 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 106
- 2020Shape Matters: Understanding the Implicit Bias of the Noise Covariancecited by 88
- 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
- 2022Understanding the Generalization Benefit of Normalization Layers: Sharpness Reductioncited by 86
- 2018On the Relation Between the Sharpest Directions of DNN Loss and the SGD Step Lengthcited by 85
- 2022Understanding the unstable convergence of gradient descentcited by 84
- 2017Deep linear neural networks with arbitrary loss: All local minima are globalcited by 64
- 2022The alignment property of SGD noise and how it helps select flat minima: A stability analysiscited by 64
- 2019Learning deep linear neural networks: Riemannian gradient flows and convergence to global minimizerscited by 61
- 2022Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stabilitycited by 61
- 2024Understanding Optimization in Deep Learning with Central Flowscited by 57
- 2022Understanding Edge-of-Stability Training Dynamics with a Minimalist Examplecited by 54
- 2019Width Provably Matters in Optimization for Deep Linear Neural Networkscited by 52
- 2022Learning threshold neurons via the "edge of stability"cited by 50
- 2021Large Learning Rate Tames Homogeneity: Convergence and Balancing Effectcited by 48
- 2023The Implicit Regularization of Dynamical Stability in Stochastic Gradient Descentcited by 44
- 2022Second-order regression models exhibit progressive sharpening to the edge of stabilitycited by 40
- 2023(S)GD over Diagonal Linear Networks: Implicit Regularisation, Large Stepsizes and Edge of Stabilitycited by 35
- 2022Label noise (stochastic) gradient descent implicitly solves the Lasso for quadratic parametrisationcited by 29
- 2022Exact Solutions of a Deep Linear Networkcited by 24
- 2024Edge of Stochastic Stability: Revisiting the Edge of Stability for SGDcited by 24
- 2021Convergence of gradient descent for learning linear neural networkscited by 22
- 2020Training Linear Neural Networks: Non-Local Convergence and Complexity Resultscited by 19
- 2024Parameter Symmetry and Noise Equilibrium of Stochastic Gradient Descentcited by 19
- 2024Deep linear networks for regression are implicitly regularized towards flat minimacited by 17
- 2023Exact Mean Square Linear Stability Analysis for SGDcited by 10
- 2023On the Trajectories of SGD Without Replacementcited by 10
- 2024How Neural Networks Learn the Support is an Implicit Regularization Effect of SGDcited by 8
- 2025Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learningcited by 8
- 2023On progressive sharpening, flat minima and generalisationcited by 6
- 2025Learning Dynamics of Deep Linear Networks Beyond the Edge of Stabilitycited by 4
- 2025How Does Label Noise Gradient Descent Improve Generalization in the Low SNR Regime?cited by 4
- 2025Gradient Descent Converges Linearly to Flatter Minima than Gradient Flow in Shallow Linear Networkscited by 2
- 2025Sharpness of Minima in Deep Matrix Factorizationcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.