mlsanityData to 7 Oct 2026

A Bayesian Perspective on Generalization and Stochastic Gradient Descent

arXiv 1710.06451 ↗First posted 17 Oct 2017cs.LG cs.AI stat.MLcited by 134

Not on the map. Why?

Abstract (arXiv)

We consider two questions at the heart of machine learning; how can we predict if a minimum will generalize to the test set, and why does stochastic gradient descent find minima that generalize well? Our work responds to Zhang et al. (2016), who showed deep neural networks can easily memorize randomly labeled training data, despite generalizing well on real labels of the same inputs. We show that the same phenomenon occurs in small linear models. These observations are explained by the Bayesian evidence, which penalizes sharp minima but is invariant to model parameterization. We also demonstrate that, when one holds the learning rate fixed, there is an optimum batch size which maximizes the test set accuracy. We propose that the noise introduced by small mini-batches drives the parameters towards minima whose evidence is large. Interpreting stochastic gradient descent as a stochastic differential equation, we identify the "noise scale" g = ε (fracNB - 1) ≈ ε N/B, where ε is the learning rate, N the training set size and B the batch size. Consequently the optimum batch size is proportional to both the learning rate and the size of the training set, Bopt propto ε N. We verify these predictions empirically.

Key facts. Cited by 134 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Oct 2017.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 18; 2022: 18; 2023: 22; 2024: 26; 2025: 31; 2026: 19.

134 papers.

Sort:

By area:

  1. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
  2. 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 183
  3. 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
  4. 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
  5. 2023Explaining grokking through circuit efficiencycited by 105
  6. 2022Improving Generalization in Federated Learning by Seeking Flat Minimacited by 98
  7. 2021On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)cited by 73
  8. 2024How Does Critical Batch Size Scale in Pre-training?cited by 68
  9. 2021Stochastic Training is Not Necessary for Generalizationcited by 63
  10. 2023The No Free Lunch Theorem, Kolmogorov Complexity, and the Role of Inductive Biases in Machine Learningcited by 63
  11. 2023FisherRF: Active View Selection and Uncertainty Quantification for Radiance Fields using Fisher Informationcited by 63
  12. 2022On the Maximum Hessian Eigenvalue and Generalizationcited by 57
38 more
  1. 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
  2. 2025Deep Learning is Not So Mysterious or Differentcited by 55
  3. 2022ColD Fusion: Collaborative Descent for Distributed Multitask Finetuningcited by 52
  4. 2023The Local Learning Coefficient: A Singularity-Aware Complexity Measurecited by 50
  5. 2025Power Lines: Scaling Laws for Weight Decay and Batch Size in LLM Pre-trainingcited by 41
  6. 2022SAM as an Optimal Relaxation of Bayescited by 40
  7. 2022Why neural networks find simple solutions: the many regularizers of geometric complexitycited by 38
  8. 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 36
  9. 2023(S)GD over Diagonal Linear Networks: Implicit Regularisation, Large Stepsizes and Edge of Stabilitycited by 35
  10. 2021Batch size-invariance for policy optimizationcited by 33
  11. 2021Drawing Multiple Augmentation Samples Per Image During Training Efficiently Decreases Test Errorcited by 32
  12. 2021Power-law escape rate of SGDcited by 29
  13. 2021Implicit Gradient Alignment in Distributed and Federated Learningcited by 29
  14. 2022Flat minima generalize for low-rank matrix recoverycited by 28
  15. 2023Implicit bias of SGD in L2-regularized linear DNNs: One-way jumps from high to low rankcited by 28
  16. 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
  17. 2021Stochastic gradient descent with noise of machine learning type. Part II: Continuous time analysiscited by 25
  18. 2023Implicit regularization in Heavy-ball momentum accelerated stochastic gradient descentcited by 25
  19. 2022Implicit Regularization or Implicit Conditioning? Exact Risk Trajectories of SGD in High Dimensionscited by 23
  20. 2025Generalization through variance: how noise shapes inductive biases in diffusion modelscited by 23
  21. 2024Surge Phenomenon in Optimal Learning Rate and Batch Size Scalingcited by 22
  22. 2024Rethinking Conventional Wisdom in Machine Learning: From Generalization to Scalingcited by 21
  23. 2026Emergent Misalignment is Easy, Narrow Misalignment is Hardcited by 21
  24. 2023Temperature Balancing, Layer-wise Weight Analysis, and Neural Network Trainingcited by 19
  25. 2024Training Neural Networks from Scratch with Parallel Low-Rank Adapterscited by 17
  26. 2024Deep linear networks for regression are implicitly regularized towards flat minimacited by 17
  27. 2023Fantastic Weights and How to Find Them: Where to Prune in Dynamic Sparse Trainingcited by 16
  28. 2023On the Role of Server Momentum in Federated Learningcited by 16
  29. 2021Policy Information Capacity: Information-Theoretic Measure for Task Complexity in Deep Reinforcement Learningcited by 15
  30. 2023Tenplex: Dynamic Parallelism for Deep Learning using Parallelizable Tensor Collectionscited by 15
  31. 2025FedAdamW: A Communication-Efficient Optimizer with Convergence and Generalization Guarantees for Federated Large Modelscited by 15
  32. 2021Information Complexity and Generalization Boundscited by 14
  33. 2025LENSLLM: Unveiling Fine-Tuning Dynamics for LLM Selectioncited by 14
  34. 2021An Empirical Study on Hyperparameter Optimization for Fine-Tuning Pre-trained Language Modelscited by 12
  35. 2022Effects of Data Geometry in Early Deep Learningcited by 12
  36. 2023Taming Resource Heterogeneity In Distributed ML Training With Dynamic Batchingcited by 12
  37. 2023On the different regimes of Stochastic Gradient Descentcited by 12
  38. 2026An Imperfect Verifier is Good Enough: Learning with Noisy Rewardscited by 11

50 most cited of 134 All 134 (JSON)