The Limiting Dynamics of SGD: Modified Loss, Phase Space Oscillations, and Anomalous Diffusion
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 732
- 2017Deep Neural Networks as Gaussian Processescited by 617
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
- 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 555
- 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
- 2018On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transportcited by 422
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
28 more
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 283
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
- 2017Three Factors Influencing Minima in SGDcited by 270
- 2019A Tail-Index Analysis of Stochastic Gradient Noise in Deep Neural Networkscited by 213
- 2018Gradient Descent Happens in a Tiny Subspacecited by 208
- 2016Deep Information Propagationcited by 194
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 183
- 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 156
- 2020Implicit Gradient Regularizationcited by 145
- 2015Stochastic modified equations and adaptive stochastic gradient algorithmscited by 141
- 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 116
- 2017Stochastic gradient descent performs variational inference, converges to limit cycles for deep networkscited by 108
- 2020Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamicscited by 93
- 2018On the Relation Between the Sharpest Directions of DNN Loss and the SGD Step Lengthcited by 85
- 2021On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)cited by 73
- 2020Dynamical mean-field theory for stochastic gradient descent in Gaussian mixture classificationcited by 60
- 2020Reconciling Modern Deep Learning with Traditional Optimization Analyses: The Intrinsic Learning Ratecited by 59
- 2020The Implicit Regularization of Stochastic Gradient Flow for Least Squarescited by 58
- 2016A Variational Analysis of Stochastic Gradient Algorithmscited by 56
- 2020Optimization and Generalization of Shallow Neural Networks with Quadratic Activation Functionscited by 50
- 2018Fluctuation-dissipation relations for stochastic gradient descentcited by 47
- 2019On the interplay between noise and curvature and its effect on optimization and generalizationcited by 44
- 2018Comparing Dynamics: Deep Neural Networks versus Glassy Systemscited by 42
- 2020Noise and Fluctuation of Finite Learning Rate Stochastic Gradient Descentcited by 36
- 2017Theory of Deep Learning III: explaining the non-overfitting puzzlecited by 32
- 2021Stochasticity helps to navigate rough landscapes: comparing gradient-descent-based algorithms in the phase retrieval problemcited by 23
- 2020Anomalous diffusion dynamics of learning in deep neural networkscited by 9
- 2020Spherical Motion Dynamics: Learning Dynamics of Neural Network with Normalization, Weight Decay, and SGDcited by 5
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 5; 2024: 0; 2025: 7; 2026: 3.
19 papers.
Sort:
- 2022Beyond the Quadratic Approximation: the Multiscale Structure of Neural Network Loss Landscapescited by 42
- 2023Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler Subnetworkscited by 38
- 2021Neural Network Weights Do Not Converge to Stationary Points: An Invariant Measure Perspectivecited by 15
- 2022Born-Infeld (BI) for AI: Energy-Conserving Descent (ECD) for Optimizationcited by 10
- 2025Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learningcited by 8
- 2023Identifying Equivalent Training Dynamicscited by 7
- 2023Noise Balance and Stationary Distribution of Stochastic Gradient Descentcited by 6
- 2022Flatter, faster: scaling momentum for optimal speedup of SGDcited by 5
- 2023Machine learning in and out of equilibriumcited by 5
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEscited by 4
- 2025SGD as Free Energy Minimization: A Thermodynamic View on Neural Network Trainingcited by 4
- 2025Establishing a Scale for Kullback-Leibler Divergence in Language Models Across Various Settingscited by 3
7 more
- 2023Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relationcited by 1
- 2025Contribution of task-irrelevant stimuli to drift of neural representationscited by 1
- 2025Fokker-Planck to Callan-Symanzik: evolution of weight matrices under trainingcited by 0
- 2025Can Stationary Distributions of Scale-Invariant Neural Networks Be Described by the Thermodynamics of an Ideal Gas?cited by 0
- 2026Stochastic Gradient Descent in the Saddle-to-Saddle Regime of Deep Linear Networkscited by 0
- 2026Percolation Dynamics in Optimization: Variance Cascades and Nested Symmetrycited by 0
- 2026Beyond Gradient Flow: Identifiability and Recovery from Distribution Snapshotscited by 0
- 2026Beyond Gradient Flow: Identifiability and Recovery from Distribution Snapshots28 Sep 2026
- 2026Percolation Dynamics in Optimization: Variance Cascades and Nested Symmetry2 Sep 2026
- 2026Stochastic Gradient Descent in the Saddle-to-Saddle Regime of Deep Linear Networks7 Apr 2026
- 2025Can Stationary Distributions of Scale-Invariant Neural Networks Be Described by the Thermodynamics of an Ideal Gas?10 Nov 2025
- 2025Contribution of task-irrelevant stimuli to drift of neural representations24 Oct 2025
- 2025SGD as Free Energy Minimization: A Thermodynamic View on Neural Network Training29 May 2025
- 2025Establishing a Scale for Kullback-Leibler Divergence in Language Models Across Various Settings21 May 2025
- 2025Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learning18 May 2025
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEs24 Feb 2025
- 2025Fokker-Planck to Callan-Symanzik: evolution of weight matrices under training16 Jan 2025
- 2023Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relation23 Nov 2023
- 2023Noise Balance and Stationary Distribution of Stochastic Gradient Descent13 Aug 2023
7 more
- 2023Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler Subnetworks7 Jun 2023
- 2023Machine learning in and out of equilibrium6 Jun 2023
- 2023Identifying Equivalent Training Dynamics17 Feb 2023
- 2022Flatter, faster: scaling momentum for optimal speedup of SGD28 Oct 2022
- 2022Beyond the Quadratic Approximation: the Multiscale Structure of Neural Network Loss Landscapes24 Apr 2022
- 2022Born-Infeld (BI) for AI: Energy-Conserving Descent (ECD) for Optimization26 Jan 2022
- 2021Neural Network Weights Do Not Converge to Stationary Points: An Invariant Measure Perspective12 Oct 2021
- 2022Beyond the Quadratic Approximation: the Multiscale Structure of Neural Network Loss Landscapescited by 42
- 2023Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler Subnetworkscited by 38
- 2021Neural Network Weights Do Not Converge to Stationary Points: An Invariant Measure Perspectivecited by 15
- 2022Born-Infeld (BI) for AI: Energy-Conserving Descent (ECD) for Optimizationcited by 10
- 2025Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learningcited by 8
- 2023Identifying Equivalent Training Dynamicscited by 7
- 2023Noise Balance and Stationary Distribution of Stochastic Gradient Descentcited by 6
- 2022Flatter, faster: scaling momentum for optimal speedup of SGDcited by 5
- 2023Machine learning in and out of equilibriumcited by 5
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEscited by 4
- 2025SGD as Free Energy Minimization: A Thermodynamic View on Neural Network Trainingcited by 4
- 2025Establishing a Scale for Kullback-Leibler Divergence in Language Models Across Various Settingscited by 3
12 most cited of 19 All 19 (JSON)
- 2026Beyond Gradient Flow: Identifiability and Recovery from Distribution Snapshots28 Sep 2026
- 2026Percolation Dynamics in Optimization: Variance Cascades and Nested Symmetry2 Sep 2026
- 2026Stochastic Gradient Descent in the Saddle-to-Saddle Regime of Deep Linear Networks7 Apr 2026
- 2025Can Stationary Distributions of Scale-Invariant Neural Networks Be Described by the Thermodynamics of an Ideal Gas?10 Nov 2025
- 2025Contribution of task-irrelevant stimuli to drift of neural representations24 Oct 2025
- 2025SGD as Free Energy Minimization: A Thermodynamic View on Neural Network Training29 May 2025
- 2025Establishing a Scale for Kullback-Leibler Divergence in Language Models Across Various Settings21 May 2025
- 2025Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learning18 May 2025
- 2025Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEs24 Feb 2025
- 2025Fokker-Planck to Callan-Symanzik: evolution of weight matrices under training16 Jan 2025
- 2023Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relation23 Nov 2023
- 2023Noise Balance and Stationary Distribution of Stochastic Gradient Descent13 Aug 2023
12 newest of 19 All 19 (JSON)