Stochastic Gradient Descent as Approximate Bayesian Inference

By Stephan Mandt, Matthew D. Hoffman, David M. Blei. 2017

758 citations recorded by the source corpus.

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 learning rates. Finally (5), we use the stochastic process perspective to give a short proof of why Polyak averaging is optimal. Based on this idea, we propose a scalable approximate MCMC algorithm, the Averaged Stochastic Gradient Sampler.

Subfields: Artificial Intelligence, Statistics and Probability, Optimization & Training, Probabilistic & Bayesian Methods

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yoshua Bengio
  2. Quoc V. Le
  3. Sergey Levine
  4. Percy Liang
  5. Ruslan Salakhutdinov
  6. Mohit Bansal
  7. Jianfeng Gao
  8. Richard Socher

In Statistics and Probability

  1. Francis R. Bach
  2. Qiang Liu
  3. Aymeric Dieuleveut
  4. Samuel L. Smith
  5. Laurence Aitchison
  6. Daniel S. Park
  7. Dilin Wang
  8. Soham De

In Optimization & Training

  1. Francis R. Bach
  2. Sebastian U. Stich
  3. Peter Richtárik
  4. Yoshua Bengio
  5. Martin Jaggi
  6. Soham De
  7. Samuel L. Smith
  8. Quoc V. Le

In Probabilistic & Bayesian Methods

  1. Richard E. Turner
  2. Andrew Gordon Wilson
  3. Qiang Liu
  4. Yarin Gal
  5. Laurence Aitchison
  6. Greg Yang
  7. José Miguel Hernández-Lobato
  8. Pavel Izmailov

Citations in the corpus