Disentangling the Mechanisms Behind Implicit Regularization in SGD
Not on the map. Why?
Abstract (arXiv)
A number of competing hypotheses have been proposed to explain why small-batch Stochastic Gradient Descent (SGD)leads to improved generalization over the full-batch regime, with recent work crediting the implicit regularization of various quantities throughout training. However, to date, empirical evidence assessing the explanatory power of these hypotheses is lacking. In this paper, we conduct an extensive empirical evaluation, focusing on the ability of various theorized mechanisms to close the small-to-large batch generalization gap. Additionally, we characterize how the quantities that SGD has been claimed to (implicitly) regularize change over the course of training. By using micro-batches, i.e. disjoint smaller subsets of each mini-batch, we empirically show that explicitly penalizing the gradient norm or the Fisher Information Matrix trace, averaged over micro-batches, in the large-batch regime recovers small-batch SGD generalization, whereas Jacobian-based regularizations fail to do so. This generalization performance is shown to often be correlated with how well the regularized model's gradient norms resemble those of small-batch SGD. We additionally show that this behavior breaks down as the micro-batch size approaches the batch size. Finally, we note that in this line of inquiry, positive experimental findings on CIFAR10 are often reversed on other datasets like CIFAR100, highlighting the need to test hypotheses on a wider collection of datasets.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 29 Nov 2022.
Builds on
21 of 35 references.
References · 21
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 300
- 2017Three Factors Influencing Minima in SGDcited by 273
- 2019A Tail-Index Analysis of Stochastic Gradient Noise in Deep Neural Networkscited by 214
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 184
- 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
- 2020Implicit Gradient Regularizationcited by 146
- 2018Revisiting Small Batch Training for Deep Neural Networkscited by 102
9 more
- 2015Beyond Convexity: Stochastic Quasi-Convex Optimizationcited by 76
- 2021Stochastic Training is Not Necessary for Generalizationcited by 63
- 2020Catastrophic Fisher Explosion: Early Phase Fisher Matrix Impacts Generalizationcited by 62
- 2020Disentangling Adaptive Gradient Methods from Learning Ratescited by 42
- 2022Anticorrelated Noise Injection for Improved Generalizationcited by 42
- 2021Positive-Negative Momentum: Manipulating Stochastic Gradient Noise to Improve Generalizationcited by 28
- 2019An Empirical Study of Large-Batch Stochastic Gradient Descent with Structured Covariance Noisecited by 13
- 2019On the Noisy Gradient Descent that Generalizes as SGDcited by 4
- 2020Improved generalization by noise enhancementcited by 2
Built on by
Citing papers per year: 2023: 1; 2024: 1.
2 papers.