Is SGD a Bayesian sampler? Well, almost
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
Citing papers per year: 2021: 7; 2022: 7; 2023: 2; 2024: 13; 2025: 13; 2026: 8.
50 papers.
Sort:
By area:
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systemscited by 94
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 68
- 2021Separation of Scales and a Thermodynamic Description of Feature Learning in Some CNNscited by 53
- 2024Language Models Resist Alignment: Evidence From Data Compressioncited by 50
- 2022Contrasting random and learned features in deep Bayesian linear regressioncited by 24
- 2022Efficient Bayesian Uncertainty Estimation for nnU-Netcited by 19
- 2021Feature Learning and Signal Propagation in Deep Neural Networkscited by 18
- 2024How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teacherscited by 18
- 2021A Bayesian neural network predicts the dissolution of compact planetary systemscited by 15
- 2025Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architecturescited by 14
- 2021Why flatness does and does not correlate with generalization for deep neural networkscited by 13
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
38 more
- 2025Adaptive kernel predictors from feature-learning infinite limits of neural networkscited by 13
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wildcited by 13
- 2024Using Degeneracy in the Loss Landscape for Mechanistic Interpretabilitycited by 12
- 2025Bayesian Influence Functions for Hessian-Free Data Attributioncited by 12
- 2022On the generalization of learning algorithms that do not convergecited by 9
- 2024Querying Easily Flip-flopped Samples for Deep Active Learningcited by 7
- 2026Patterning: The Dual of Interpretabilitycited by 6
- 2021Double-descent curves in neural networks: a new perspective using Gaussian processescited by 5
- 2022Investigating Generalization by Controlling Normalized Margincited by 5
- 2024Provable Tempered Overfitting of Minimal Nets and Typical Netscited by 5
- 2022Optimal learning rate schedules in high-dimensional non-convex optimization problemscited by 4
- 2025Mitigating the Curse of Detail: Scaling Arguments for Feature Learning and Sample Complexitycited by 4
- 2021Computing the Information Content of Trained Neural Networkscited by 3
- 2024Do Quantum Neural Networks have Simplicity Bias?cited by 3
- 2024Exploiting the equivalence between quantum neural networks and perceptronscited by 3
- 2025Estimating the Probability of Sampling a Trained Neural Network at Randomcited by 3
- 2022R'enyi Divergence Deep Mutual Learningcited by 2
- 2023Predictive Minds: LLMs As Atypical Active Inference Agentscited by 2
- 2024Bias of Stochastic Gradient Descent or the Architecture: Disentangling the Effects of Overparameterization of Neural Networkscited by 2
- 2024Rule Extrapolation in Language Models: A Study of Compositional Generalization on OOD Promptscited by 2
- 2025Almost Bayesian: The Fractal Dynamics of Stochastic Gradient Descentcited by 2
- 2025Generalization performance of narrow one-hidden layer networks in the teacher-student settingcited by 2
- 2026Statistical Properties of Training & Generalizationcited by 2
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
- 2021SGD Through the Lens of Kolmogorov Complexitycited by 1
- 2024Bayesian Uncertainty Estimation by Hamiltonian Monte Carlo: Applications to Cardiac MRI Segmentationcited by 1
- 2025Characterising the Inductive Biases of Neural Networks on Boolean Datacited by 1
- 2026Self-Improvement as Coherence Optimization: A Theoretical Accountcited by 1
- 2026On the Sample Efficiency of Inverse Dynamics Models for Semi-Supervised Imitation Learningcited by 1
- 2026Revisiting the Volume Hypothesiscited by 1
- 2023Points of non-linearity of functions generated by random neural networkscited by 0
- 2024Variational Stochastic Gradient Descent for Deep Neural Networkscited by 0
- 2025Variational Deep Learning via Implicit Regularizationcited by 0
- 2025ResNets Are Deeper Than You Thinkcited by 0
- 2025Decomposing Prediction Mechanisms for In-Context Recallcited by 0
- 2025Zero Generalization Error Theorem for Random Interpolators via Algebraic Geometrycited by 0
- 2026All ERMs Can Fail in Stochastic Convex Optimization Lower Bounds in Linear Dimensioncited by 0
- 2026Truth as a Compression Artifact in Language Model Trainingcited by 0
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Revisiting the Volume Hypothesis30 Jun 2026
- 2026Statistical Properties of Training & Generalization18 Jun 2026
- 2026Truth as a Compression Artifact in Language Model Training12 Mar 2026
- 2026All ERMs Can Fail in Stochastic Convex Optimization Lower Bounds in Linear Dimension9 Feb 2026
- 2026On the Sample Efficiency of Inverse Dynamics Models for Semi-Supervised Imitation Learning2 Feb 2026
- 2026Self-Improvement as Coherence Optimization: A Theoretical Account20 Jan 2026
- 2026Patterning: The Dual of Interpretability20 Jan 2026
- 2025Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architectures23 Dec 2025
- 2025Zero Generalization Error Theorem for Random Interpolators via Algebraic Geometry6 Dec 2025
- 2025Mitigating the Curse of Detail: Scaling Arguments for Feature Learning and Sample Complexity3 Dec 2025
- 2025Bayesian Influence Functions for Hessian-Free Data Attribution30 Sep 2025
38 more
- 2025Decomposing Prediction Mechanisms for In-Context Recall2 Jul 2025
- 2025Generalization performance of narrow one-hidden layer networks in the teacher-student setting1 Jul 2025
- 2025ResNets Are Deeper Than You Think17 Jun 2025
- 2025Characterising the Inductive Biases of Neural Networks on Boolean Data29 May 2025
- 2025Variational Deep Learning via Implicit Regularization26 May 2025
- 2025Almost Bayesian: The Fractal Dynamics of Stochastic Gradient Descent28 Mar 2025
- 2025Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wild13 Mar 2025
- 2025Adaptive kernel predictors from feature-learning infinite limits of neural networks11 Feb 2025
- 2025Estimating the Probability of Sampling a Trained Neural Network at Random31 Jan 2025
- 2024Provable Tempered Overfitting of Minimal Nets and Typical Nets24 Oct 2024
- 2024Rule Extrapolation in Language Models: A Study of Compositional Generalization on OOD Prompts9 Sep 2024
- 2024Exploiting the equivalence between quantum neural networks and perceptrons5 Jul 2024
- 2024Bias of Stochastic Gradient Descent or the Architecture: Disentangling the Effects of Overparameterization of Neural Networks4 Jul 2024
- 2024Do Quantum Neural Networks have Simplicity Bias?3 Jul 2024
- 2024Language Models Resist Alignment: Evidence From Data Compression10 Jun 2024
- 2024Using Degeneracy in the Loss Landscape for Mechanistic Interpretability17 May 2024
- 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systems10 May 2024
- 2024Variational Stochastic Gradient Descent for Deep Neural Networks9 Apr 2024
- 2024Bayesian Uncertainty Estimation by Hamiltonian Monte Carlo: Applications to Cardiac MRI Segmentation4 Mar 2024
- 2024How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teachers9 Feb 2024
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinity7 Feb 2024
- 2024Querying Easily Flip-flopped Samples for Deep Active Learning18 Jan 2024
- 2023Predictive Minds: LLMs As Atypical Active Inference Agents16 Nov 2023
- 2023Points of non-linearity of functions generated by random neural networks19 Apr 2023
- 2022Efficient Bayesian Uncertainty Estimation for nnU-Net12 Dec 2022
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functions22 Nov 2022
- 2022R'enyi Divergence Deep Mutual Learning13 Sep 2022
- 2022On the generalization of learning algorithms that do not converge16 Aug 2022
- 2022Investigating Generalization by Controlling Normalized Margin8 May 2022
- 2022Contrasting random and learned features in deep Bayesian linear regression1 Mar 2022
- 2022Optimal learning rate schedules in high-dimensional non-convex optimization problems9 Feb 2022
- 2021Separation of Scales and a Thermodynamic Description of Feature Learning in Some CNNs31 Dec 2021
- 2021SGD Through the Lens of Kolmogorov Complexity10 Nov 2021
- 2021Feature Learning and Signal Propagation in Deep Neural Networks22 Oct 2021
- 2021Why flatness does and does not correlate with generalization for deep neural networks10 Mar 2021
- 2021Computing the Information Content of Trained Neural Networks1 Mar 2021
- 2021Double-descent curves in neural networks: a new perspective using Gaussian processes14 Feb 2021
- 2021A Bayesian neural network predicts the dissolution of compact planetary systems11 Jan 2021
- 2023Predictive Minds: LLMs As Atypical Active Inference Agents16 Nov 2023
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 68
- 2021Separation of Scales and a Thermodynamic Description of Feature Learning in Some CNNscited by 53
- 2024Language Models Resist Alignment: Evidence From Data Compressioncited by 50
- 2022Contrasting random and learned features in deep Bayesian linear regressioncited by 24
- 2022Efficient Bayesian Uncertainty Estimation for nnU-Netcited by 19
- 2021Feature Learning and Signal Propagation in Deep Neural Networkscited by 18
- 2024How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow Teacherscited by 18
- 2021A Bayesian neural network predicts the dissolution of compact planetary systemscited by 15
- 2025Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architecturescited by 14
- 2021Why flatness does and does not correlate with generalization for deep neural networkscited by 13
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
- 2025Adaptive kernel predictors from feature-learning infinite limits of neural networkscited by 13
12 most cited of 46 All 46 (JSON)
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Revisiting the Volume Hypothesis30 Jun 2026
- 2026Statistical Properties of Training & Generalization18 Jun 2026
- 2026Truth as a Compression Artifact in Language Model Training12 Mar 2026
- 2026All ERMs Can Fail in Stochastic Convex Optimization Lower Bounds in Linear Dimension9 Feb 2026
- 2026Patterning: The Dual of Interpretability20 Jan 2026
- 2025Saddle-to-Saddle Dynamics Explains A Simplicity Bias Across Neural Network Architectures23 Dec 2025
- 2025Zero Generalization Error Theorem for Random Interpolators via Algebraic Geometry6 Dec 2025
- 2025Mitigating the Curse of Detail: Scaling Arguments for Feature Learning and Sample Complexity3 Dec 2025
- 2025Bayesian Influence Functions for Hessian-Free Data Attribution30 Sep 2025
- 2025Decomposing Prediction Mechanisms for In-Context Recall2 Jul 2025
- 2025Generalization performance of narrow one-hidden layer networks in the teacher-student setting1 Jul 2025
12 newest of 46 All 46 (JSON)