mlsanityData to 14 Oct 2026

Anti-Correlated Noise in Epoch-Based Stochastic Gradient Descent: Implications for Weight Variances in Flat Directions

arXiv 2306.05300 ↗First posted 8 Jun 2023cs.LG cond-mat.dis-nncited by 2

Not on the map. Why?

Abstract (arXiv)

Stochastic Gradient Descent (SGD) has become a cornerstone of neural network optimization due to its computational efficiency and generalization capabilities. However, the gradient noise introduced by SGD is often assumed to be uncorrelated over time, despite the common practice of epoch-based training where data is sampled without replacement. In this work, we challenge this assumption and investigate the effects of epoch-based noise correlations on the stationary distribution of discrete-time SGD with momentum. Our main contributions are twofold: First, we calculate the exact autocorrelation of the noise during epoch-based training under the assumption that the noise is independent of small fluctuations in the weight vector, revealing that SGD noise is inherently anti-correlated over time. Second, we explore the influence of these anti-correlations on the variance of weight fluctuations. We find that for directions with curvature of the loss greater than a hyperparameter-dependent crossover value, the conventional predictions of isotropic weight variance under stationarity, based on uncorrelated and curvature-proportional noise, are recovered. Anti-correlations have negligible effect here. However, for relatively flat directions, the weight variance is significantly reduced, leading to a considerable decrease in loss fluctuations compared to the constant weight variance assumption. Furthermore, we present a numerical experiment where training with these anti-correlations enhances test performance, suggesting that the inherent noise structure induced by epoch-based training may play a role in finding flatter minima that generalize better.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 21 of its 27 references that are in the map. First posted on arXiv 8 Jun 2023.

Builds on

21 of 27 references.

References · 21

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  5. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  6. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  7. 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 290
  8. 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 279
  9. 2017Three Factors Influencing Minima in SGDcited by 273
  10. 2015Escaping From Saddle Points --- Online Stochastic Gradient for Tensor Decompositioncited by 243
  11. 2018Gradient Descent Happens in a Tiny Subspacecited by 217
  12. 2017A Bayesian Perspective on Generalization and Stochastic Gradient Descentcited by 135
9 more
  1. 2020Descending through a Crowded Valley - Benchmarking Deep Learning Optimizerscited by 119
  2. 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 117
  3. 2017Stochastic gradient descent performs variational inference, converges to limit cycles for deep networkscited by 109
  4. 2021Stochastic Training is Not Necessary for Generalizationcited by 63
  5. 2018Fluctuation-dissipation relations for stochastic gradient descentcited by 48
  6. 2019On the interplay between noise and curvature and its effect on optimization and generalizationcited by 44
  7. 2021Strength of Minibatch Noise in SGDcited by 39
  8. 2019Hessian based analysis of SGD for Deep Nets: Dynamics and Generalizationcited by 37
  9. 2020Noise and Fluctuation of Finite Learning Rate Stochastic Gradient Descentcited by 37

Built on by

Cited by year

Citing papers per year: 2023: 2.

2 papers.