A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat Minima
Not on the map. Why?
Abstract (arXiv)
Stochastic Gradient Descent (SGD) and its variants are mainstream methods for training deep networks in practice. SGD is known to find a flat minimum that often generalizes well. However, it is mathematically unclear how deep learning can select a flat minimum among so many minima. To answer the question quantitatively, we develop a density diffusion theory (DDT) to reveal how minima selection quantitatively depends on the minima sharpness and the hyperparameters. To the best of our knowledge, we are the first to theoretically and empirically prove that, benefited from the Hessian-dependent covariance of stochastic gradient noise, SGD favors flat minima exponentially more than sharp minima, while Gradient Descent (GD) with injected white noise favors flat minima only polynomially more than sharp minima. We also reveal that either a small learning rate or large-batch training requires exponentially many iterations to escape from minima in terms of the ratio of the batch size and learning rate. Thus, large-batch training cannot search flat minima efficiently in a realistic computational time.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). First posted on arXiv 10 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 1; 2023: 3; 2024: 1; 2025: 2.
11 papers.
- 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 107
- 2023An SDE for Modeling SAM: Theory and Insightscited by 22
- 2024SDEs for Minimax Optimizationcited by 6
- 2025Thinking Beyond Tokens: From Brain-Inspired Intelligence to Cognitive Foundations for Artificial General Intelligence and its Societal Impactcited by 6
- 2023Unlocking optimal batch size schedules using continuous-time control and perturbation theorycited by 3
- 2025Reasoning Bias of Next Token Prediction Trainingcited by 3
- 2021Combining resampling and reweighting for faithful stochastic optimizationcited by 0
- 2021AdaL: Adaptive Gradient Transformation Contributes to Convergences and Generalizationscited by 0
- 2021Optimizing Information-theoretical Generalization Bounds via Anisotropic Noise in SGLDcited by 0
- 2022Learning Non-Vacuous Generalization Bounds from Optimizationcited by 0
- 2023Power-law Dynamic arising from machine learningcited by 0
- 2025Thinking Beyond Tokens: From Brain-Inspired Intelligence to Cognitive Foundations for Artificial General Intelligence and its Societal Impact1 Jul 2025
- 2025Reasoning Bias of Next Token Prediction Training4 Feb 2025
- 2024SDEs for Minimax Optimization19 Feb 2024
- 2023Unlocking optimal batch size schedules using continuous-time control and perturbation theory4 Dec 2023
- 2023Power-law Dynamic arising from machine learning16 Jun 2023
- 2023An SDE for Modeling SAM: Theory and Insights19 Jan 2023
- 2022Learning Non-Vacuous Generalization Bounds from Optimization9 Jun 2022
- 2021Optimizing Information-theoretical Generalization Bounds via Anisotropic Noise in SGLD26 Oct 2021
- 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Framework13 Oct 2021
- 2021AdaL: Adaptive Gradient Transformation Contributes to Convergences and Generalizations4 Jul 2021
- 2021Combining resampling and reweighting for faithful stochastic optimization31 May 2021