Reproduce “A Bayesian Perspective on Generalization and Stochastic Gradient Descent” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Samuel L. Smith, Quoc V. Le
Researchers from Google Brain present a Bayesian framework explaining generalization in neural networks and the efficacy of Stochastic Gradient Descent. The work demonstrates that Bayesian evidence predicts generalization performance, even for memorization phenomena, and derives empirically validated scaling rules for mini-batch size, learning rate, and momentum that govern the generalization gap.
Key insights
- Bayesian evidence, through its 'Occam factor', provides a robust, reparameterization-invariant measure that quantitatively explains generalization phenomena, including the memorization of random labels.
- The inherent noise from small mini-batches in SGD is not just a computational artifact but a critical stochastic element that biases the optimization process towards 'broad' minima, which correlate with better generalization.
- A 'noise scale' derived from the SDE interpretation of SGD, approximately ηN / (B(1-m)) for SGD with momentum, quantifies the balance between gradient descent and random fluctuations, governing generalization performance.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.