Stochastic Gradient Descent as Approximate Bayesian Inference
Stephan Mandt, Matthew D. Hoffman, and David M. Blei

TL;DR
This paper explores how constant stochastic gradient descent can be used as an approximate Bayesian inference method, introduces new algorithms, and analyzes their theoretical properties and practical performance.
Contribution
It presents a novel perspective on using constant SGD for Bayesian inference, introduces a variational EM algorithm, and proposes a scalable approximate MCMC method.
Findings
Constant SGD can approximate Bayesian posteriors by tuning parameters.
A new variational EM algorithm for hyperparameter optimization.
A scalable approximate MCMC algorithm called Averaged Stochastic Gradient Sampler.
Abstract
Stochastic Gradient Descent with a constant learning rate (constant SGD) simulates a Markov chain with a stationary distribution. With this perspective, we derive several new results. (1) We show that constant SGD can be used as an approximate Bayesian posterior inference algorithm. Specifically, we show how to adjust the tuning parameters of constant SGD to best match the stationary distribution to a posterior, minimizing the Kullback-Leibler divergence between these two distributions. (2) We demonstrate that constant SGD gives rise to a new variational EM algorithm that optimizes hyperparameters in complex probabilistic models. (3) We also propose SGD with momentum for sampling and show how to adjust the damping coefficient accordingly. (4) We analyze MCMC algorithms. For Langevin Dynamics and Stochastic Gradient Fisher Scoring, we quantify the approximation errors due to finite…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStochastic Gradient Optimization Techniques · Markov Chains and Monte Carlo Methods · Gaussian Processes and Bayesian Inference
MethodsSGD with Momentum · Stochastic Gradient Descent
