mlsanityData to 7 Oct 2026

Is SGD a Bayesian sampler? Well, almost

arXiv 2006.15191 ↗First posted 26 Jun 2020cs.LG stat.MLcited by 50

Not on the map. Why?

Abstract (arXiv)

Overparameterised deep neural networks (DNNs) are highly expressive and so can, in principle, generate almost any function that fits a training dataset with zero error. The vast majority of these functions will perform poorly on unseen data, and yet in practice DNNs often generalise remarkably well. This success suggests that a trained DNN must have a strong inductive bias towards functions with low generalisation error. Here we empirically investigate this inductive bias by calculating, for a range of architectures and datasets, the probability PSGD(fmid S) that an overparameterised DNN, trained with stochastic gradient descent (SGD) or one of its variants, converges on a function f consistent with a training set S. We also use Gaussian processes to estimate the Bayesian posterior probability PB(fmid S) that the DNN expresses f upon random sampling of its parameters, conditioned on S. Our main findings are that PSGD(fmid S) correlates remarkably well with PB(fmid S) and that PB(fmid S) is strongly biased towards low-error and low complexity functions. These results imply that strong inductive bias in the parameter-function map (which determines PB(fmid S)), rather than a special property of SGD, is the primary explanation for why DNNs generalise so well in the overparameterised regime. While our results suggest that the Bayesian posterior PB(fmid S) is the first order determinant of PSGD(fmid S), there remain second order differences that are sensitive to hyperparameter tuning. A function probability picture, based on PSGD(fmid S) and/or PB(fmid S), can shed new light on the way that variations in architecture or hyperparameter settings such as batch size, learning rate, and optimiser choice, affect DNN performance.

Key facts. Cited by 50 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Jun 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 7; 2022: 7; 2023: 2; 2024: 13; 2025: 13; 2026: 8.

50 papers.

Sort:

By area:

  1. 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systemscited by 94
  2. 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 68
  3. 2021Separation of Scales and a Thermodynamic Description of Feature Learning in Some CNNscited by 53
  4. 2024Language Models Resist Alignment: Evidence From Data Compressioncited by 50
  5. 2022Contrasting random and learned features in deep Bayesian linear regressioncited by 24
  6. 2022Efficient Bayesian Uncertainty Estimation for nnU-Netcited by 19
  7. 2021Feature Learning and Signal Propagation in Deep Neural Networkscited by 18
  8. 2024How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teacherscited by 18
  9. 2021A Bayesian neural network predicts the dissolution of compact planetary systemscited by 15
  10. 2025Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architecturescited by 14
  11. 2021Why flatness does and does not correlate with generalization for deep neural networkscited by 13
  12. 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
38 more
  1. 2025Adaptive kernel predictors from feature-learning infinite limits of neural networkscited by 13
  2. 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
  3. 2024Using Degeneracy in the Loss Landscape for Mechanistic Interpretabilitycited by 12
  4. 2025Bayesian Influence Functions for Hessian-Free Data Attributioncited by 12
  5. 2022On the generalization of learning algorithms that do not convergecited by 9
  6. 2024Querying Easily Flip-flopped Samples for Deep Active Learningcited by 7
  7. 2026Patterning: The Dual of Interpretabilitycited by 6
  8. 2021Double-descent curves in neural networks: a new perspective using Gaussian processescited by 5
  9. 2022Investigating Generalization by Controlling Normalized Margincited by 5
  10. 2024Provable Tempered Overfitting of Minimal Nets and Typical Netscited by 5
  11. 2022Optimal learning rate schedules in high-dimensional non-convex optimization problemscited by 4
  12. 2025Mitigating the Curse of Detail: Scaling Arguments for Feature Learning and Sample Complexitycited by 4
  13. 2021Computing the Information Content of Trained Neural Networkscited by 3
  14. 2024Do Quantum Neural Networks have Simplicity Bias?cited by 3
  15. 2024Exploiting the equivalence between quantum neural networks and perceptronscited by 3
  16. 2025Estimating the Probability of Sampling a Trained Neural Network at Randomcited by 3
  17. 2022R'enyi Divergence Deep Mutual Learningcited by 2
  18. 2023Predictive Minds: LLMs As Atypical Active Inference Agentscited by 2
  19. 2024Bias of Stochastic Gradient Descent or the Architecture: Disentangling the Effects of Overparameterization of Neural Networkscited by 2
  20. 2024Rule Extrapolation in Language Models: A Study of Compositional Generalization on OOD Promptscited by 2
  21. 2025Almost Bayesian: The Fractal Dynamics of Stochastic Gradient Descentcited by 2
  22. 2025Generalization performance of narrow one-hidden layer networks in the teacher-student settingcited by 2
  23. 2026Statistical Properties of Training & Generalizationcited by 2
  24. 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
  25. 2021SGD Through the Lens of Kolmogorov Complexitycited by 1
  26. 2024Bayesian Uncertainty Estimation by Hamiltonian Monte Carlo: Applications to Cardiac MRI Segmentationcited by 1
  27. 2025Characterising the Inductive Biases of Neural Networks on Boolean Datacited by 1
  28. 2026Self-Improvement as Coherence Optimization: A Theoretical Accountcited by 1
  29. 2026On the Sample Efficiency of Inverse Dynamics Models for Semi-Supervised Imitation Learningcited by 1
  30. 2026Revisiting the Volume Hypothesiscited by 1
  31. 2023Points of non-linearity of functions generated by random neural networkscited by 0
  32. 2024Variational Stochastic Gradient Descent for Deep Neural Networkscited by 0
  33. 2025Variational Deep Learning via Implicit Regularizationcited by 0
  34. 2025ResNets Are Deeper Than You Thinkcited by 0
  35. 2025Decomposing Prediction Mechanisms for In-Context Recallcited by 0
  36. 2025Zero Generalization Error Theorem for Random Interpolators via Algebraic Geometrycited by 0
  37. 2026All ERMs Can Fail in Stochastic Convex Optimization Lower Bounds in Linear Dimensioncited by 0
  38. 2026Truth as a Compression Artifact in Language Model Trainingcited by 0