Revisiting the Characteristics of Stochastic Gradient Noise and Dynamics
Not on the map. Why?
Abstract (arXiv)
In this paper, we characterize the noise of stochastic gradients and analyze the noise-induced dynamics during training deep neural networks by gradient-based optimizers. Specifically, we firstly show that the stochastic gradient noise possesses finite variance, and therefore the classical Central Limit Theorem (CLT) applies; this indicates that the gradient noise is asymptotically Gaussian. Such an asymptotic result validates the wide-accepted assumption of Gaussian noise. We clarify that the recently observed phenomenon of heavy tails within gradient noise may not be intrinsic properties, but the consequence of insufficient mini-batch size; the gradient noise, which is a sum of limited i.i.d. random variables, has not reached the asymptotic regime of CLT, thus deviates from Gaussian. We quantitatively measure the goodness of Gaussian approximation of the noise, which supports our conclusion. Secondly, we analyze the noise-induced dynamics of stochastic gradient descent using the Langevin equation, granting for momentum hyperparameter in the optimizer with a physical interpretation. We then proceed to demonstrate the existence of the steady-state distribution of stochastic gradient descent and approximate the distribution at a small learning rate.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 19 of its 60 references that are in the map. First posted on arXiv 20 Sep 2021.
Builds on
19 of 60 references.
References · 19
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2016Understanding deep learning requires rethinking generalizationcited by 1,657
- 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 401
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 298
- 2019A Tail-Index Analysis of Stochastic Gradient Noise in Deep Neural Networkscited by 213
- 2015Stochastic modified equations and adaptive stochastic gradient algorithmscited by 141
- 2020SMARTS: Scalable Multi-Agent Reinforcement Learning Training School for Autonomous Drivingcited by 121
- 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 116
- 2017Multiagent Bidirectionally-Coordinated Nets: Emergence of Human-level Coordination in Learning to Play StarCraft Combat Gamescited by 93
- 2020Fractional Underdamped Langevin Dynamics: Retargeting SGD with Momentum under Heavy-Tailed Gradient Noisecited by 33
7 more
- 2019Non-Gaussianity of Stochastic Gradient Noisecited by 22
- 2020Dynamic of Stochastic Gradient Descent with State-Dependent Noisecited by 12
- 2018Can Deep Learning Predict Risky Retail Investors? A Case Study in Financial Risk Behavior Forecastingcited by 7
- 2017Thermostat-assisted continuously-tempered Hamiltonian Monte Carlo for Bayesian learningcited by 6
- 2019On the Noisy Gradient Descent that Generalizes as SGDcited by 4
- 2018Benchmarking Deep Sequential Models on Volatility Predictions for Financial Time Seriescited by 3
- 2019Replica-exchange Nos'e-Hoover dynamics for Bayesian learning on large datasetscited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 2.
4 papers.
- 2022On uniform-in-time diffusion approximation for stochastic gradient descentcited by 5
- 2024Robust Adaptation of Foundation Models with Black-Box Visual Promptingcited by 3
- 2023Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relationcited by 1
- 2024OptEx: Expediting First-Order Optimization with Approximately Parallelized Iterationscited by 0
- 2024Robust Adaptation of Foundation Models with Black-Box Visual Prompting4 Jul 2024
- 2024OptEx: Expediting First-Order Optimization with Approximately Parallelized Iterations18 Feb 2024
- 2023Weight fluctuations in (deep) linear neural networks and a derivation of the inverse-variance flatness relation23 Nov 2023
- 2022On uniform-in-time diffusion approximation for stochastic gradient descent11 Jul 2022