mlsanityData to 7 Oct 2026

The Limiting Dynamics of SGD: Modified Loss, Phase Space Oscillations, and Anomalous Diffusion

arXiv 2107.09133 ↗First posted 19 Jul 2021cs.LG cond-mat.stat-mech q-bio.NCcited by 19

Not on the map. Why?

Abstract (arXiv)

In this work we explore the limiting dynamics of deep neural networks trained with stochastic gradient descent (SGD). As observed previously, long after performance has converged, networks continue to move through parameter space by a process of anomalous diffusion in which distance travelled grows as a power law in the number of gradient updates with a nontrivial exponent. We reveal an intricate interaction between the hyperparameters of optimization, the structure in the gradient noise, and the Hessian matrix at the end of training that explains this anomalous diffusion. To build this understanding, we first derive a continuous-time model for SGD with finite learning rates and batch sizes as an underdamped Langevin equation. We study this equation in the setting of linear regression, where we can derive exact, analytic expressions for the phase space dynamics of the parameters and their instantaneous velocities from initialization to stationarity. Using the Fokker-Planck equation, we show that the key ingredient driving these dynamics is not the original training loss, but rather the combination of a modified loss, which implicitly regularizes the velocity, and probability currents, which cause oscillations in phase space. We identify qualitative and quantitative predictions of this theory in the dynamics of a ResNet-18 model trained on ImageNet. Through the lens of statistical physics, we uncover a mechanistic origin for the anomalous limiting dynamics of deep neural networks trained with SGD.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 40 of its 55 references that are in the map. First posted on arXiv 19 Jul 2021.

Builds on

40 of 55 references.

References · 40

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  3. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  4. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  5. 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
  6. 2017Deep Neural Networks as Gaussian Processescited by 617
  7. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
  8. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 555
  9. 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
  10. 2018On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transportcited by 422
  11. 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
  12. 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
28 more
  1. 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 283
  2. 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
  3. 2017Three Factors Influencing Minima in SGDcited by 270
  4. 2019A Tail-Index Analysis of Stochastic Gradient Noise in Deep Neural Networkscited by 213
  5. 2018Gradient Descent Happens in a Tiny Subspacecited by 208
  6. 2016Deep Information Propagationcited by 194
  7. 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 183
  8. 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 156
  9. 2020Implicit Gradient Regularizationcited by 145
  10. 2015Stochastic modified equations and adaptive stochastic gradient algorithmscited by 141
  11. 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 116
  12. 2017Stochastic gradient descent performs variational inference, converges to limit cycles for deep networkscited by 108
  13. 2020Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamicscited by 93
  14. 2018On the Relation Between the Sharpest Directions of DNN Loss and the SGD Step Lengthcited by 85
  15. 2021On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)cited by 73
  16. 2020Dynamical mean-field theory for stochastic gradient descent in Gaussian mixture classificationcited by 60
  17. 2020Reconciling Modern Deep Learning with Traditional Optimization Analyses: The Intrinsic Learning Ratecited by 59
  18. 2020The Implicit Regularization of Stochastic Gradient Flow for Least Squarescited by 58
  19. 2016A Variational Analysis of Stochastic Gradient Algorithmscited by 56
  20. 2020Optimization and Generalization of Shallow Neural Networks with Quadratic Activation Functionscited by 50
  21. 2018Fluctuation-dissipation relations for stochastic gradient descentcited by 47
  22. 2019On the interplay between noise and curvature and its effect on optimization and generalizationcited by 44
  23. 2018Comparing Dynamics: Deep Neural Networks versus Glassy Systemscited by 42
  24. 2020Noise and Fluctuation of Finite Learning Rate Stochastic Gradient Descentcited by 36
  25. 2017Theory of Deep Learning III: explaining the non-overfitting puzzlecited by 32
  26. 2021Stochasticity helps to navigate rough landscapes: comparing gradient-descent-based algorithms in the phase retrieval problemcited by 23
  27. 2020Anomalous diffusion dynamics of learning in deep neural networkscited by 9
  28. 2020Spherical Motion Dynamics: Learning Dynamics of Neural Network with Normalization, Weight Decay, and SGDcited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 3; 2023: 5; 2024: 0; 2025: 7; 2026: 3.

19 papers.

Sort:

  1. 2022Beyond the Quadratic Approximation: the Multiscale Structure of Neural Network Loss Landscapescited by 42
  2. 2023Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler Subnetworkscited by 38
  3. 2021Neural Network Weights Do Not Converge to Stationary Points: An Invariant Measure Perspectivecited by 15
  4. 2022Born-Infeld (BI) for AI: Energy-Conserving Descent (ECD) for Optimizationcited by 10
  5. 2025Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learningcited by 8
  6. 2023Identifying Equivalent Training Dynamicscited by 7
  7. 2023Noise Balance and Stationary Distribution of Stochastic Gradient Descentcited by 6
  8. 2022Flatter, faster: scaling momentum for optimal speedup of SGDcited by 5
  9. 2023Machine learning in and out of equilibriumcited by 5
  10. 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEscited by 4
  11. 2025SGD as Free Energy Minimization: A Thermodynamic View on Neural Network Trainingcited by 4
  12. 2025Establishing a Scale for Kullback-Leibler Divergence in Language Models Across Various Settingscited by 3
7 more
  1. 2023Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relationcited by 1
  2. 2025Contribution of task-irrelevant stimuli to drift of neural representationscited by 1
  3. 2025Fokker-Planck to Callan-Symanzik: evolution of weight matrices under trainingcited by 0
  4. 2025Can Stationary Distributions of Scale-Invariant Neural Networks Be Described by the Thermodynamics of an Ideal Gas?cited by 0
  5. 2026Stochastic Gradient Descent in the Saddle-to-Saddle Regime of Deep Linear Networkscited by 0
  6. 2026Percolation Dynamics in Optimization: Variance Cascades and Nested Symmetrycited by 0
  7. 2026Beyond Gradient Flow: Identifiability and Recovery from Distribution Snapshotscited by 0