mlsanityData to 14 Oct 2026

Exact Mean Square Linear Stability Analysis for SGD

arXiv 2306.07850 ↗First posted 13 Jun 2023cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

The dynamical stability of optimization methods at the vicinity of minima of the loss has recently attracted significant attention. For gradient descent (GD), stable convergence is possible only to minima that are sufficiently flat w.r.t. the step size, and those have been linked with favorable properties of the trained model. However, while the stability threshold of GD is well-known, to date, no explicit expression has been derived for the exact threshold of stochastic GD (SGD). In this paper, we derive such a closed-form expression. Specifically, we provide an explicit condition on the step size that is both necessary and sufficient for the linear stability of SGD in the mean square sense. Our analysis sheds light on the precise role of the batch size B. In particular, we show that the stability threshold is monotonically non-decreasing in the batch size, which means that reducing the batch size can only decrease stability. Furthermore, we show that SGD's stability threshold is equivalent to that of a mixture process which takes in each iteration a full batch gradient step w.p. 1-p, and a single sample gradient step w.p. p, where p ≈ 1/B . This indicates that even with moderate batch sizes, SGD's stability threshold is very close to that of GD's. We also prove simple necessary conditions for linear stability, which depend on the batch size, and are easier to compute than the precise threshold. Finally, we derive the asymptotic covariance of the dynamics around the minimum, and discuss its dependence on the learning rate. We validate our theoretical findings through experiments on the MNIST dataset.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 15 of its 26 references that are in the map. First posted on arXiv 13 Jun 2023.

Builds on

15 of 26 references.

References · 15

  1. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  2. 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 427
  3. 2017Three Factors Influencing Minima in SGDcited by 273
  4. 2022Self-Stabilization: The Implicit Bias of Gradient Descent at the Edge of Stabilitycited by 155
  5. 2020The Break-Even Point on Optimization Trajectories of Deep Neural Networkscited by 150
  6. 2018On the Relation Between the Sharpest Directions of DNN Loss and the SGD Step Lengthcited by 88
  7. 2017Towards Understanding Generalization of Deep Learning: Perspective of Loss Landscapescited by 84
  8. 2022The alignment property of SGD noise and how it helps select flat minima: A stability analysiscited by 64
  9. 2021On Linear Stability of SGD and Input-Smoothness of Neural Networkscited by 63
  10. 2020Learning Rates as a Function of Batch Size: A Random Matrix Theory Approach to Neural Network Trainingcited by 50
  11. 2021Strength of Minibatch Noise in SGDcited by 39
  12. 2020Noise and Fluctuation of Finite Learning Rate Stochastic Gradient Descentcited by 37
3 more
  1. 2018Step Size Matters in Deep Learningcited by 19
  2. 2022A view of mini-batch SGD via generating functions: conditions of convergence, phase transitions, benefit from negative momentacited by 11
  3. 2023Type-II Saddles and Probabilistic Stability of Stochastic Gradient Descentcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 8.

11 papers.