A Variational Analysis of Stochastic Gradient Algorithms

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

180 citations recorded by the source corpus.

Stochastic Gradient Descent (SGD) is an important algorithm in machine learning. With constant learning rates, it is a stochastic process that, after an initial phase of convergence, generates samples from a stationary distribution. We show that SGD with constant rates can be effectively used as an approximate posterior inference algorithm for probabilistic modeling. Specifically, we show how to adjust the tuning parameters of SGD such as to match the resulting stationary distribution to the posterior. This analysis rests on interpreting SGD as a continuous-time stochastic process and then minimizing the Kullback-Leibler divergence between its stationary distribution and the target posterior. (This is in the spirit of variational inference.) In more detail, we model SGD as a multivariate Ornstein-Uhlenbeck process and then use properties of this process to derive the optimal parameters. This theoretical framework also connects SGD to modern scalable inference algorithms; we analyze the recently proposed stochastic gradient Fisher scoring under this perspective. We demonstrate that SGD with properly chosen constant rates gives a new way to optimize hyperparameters in probabilistic models.

Subfields: Artificial Intelligence, Computational Mechanics, Statistics and Probability, Optimization & Training, Statistical Learning Theory

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. Sergey Levine
  2. Yoshua Bengio
  3. Caiming Xiong
  4. Michael I. Jordan
  5. Quoc V. Le
  6. Ruslan Salakhutdinov
  7. Percy Liang
  8. Mohit Bansal

In Computational Mechanics

  1. Francis R. Bach
  2. Aymeric Dieuleveut
  3. Michael I. Jordan
  4. Mert Gurbuzbalaban
  5. Stephan Mandt
  6. Bin Shi
  7. E. Weinan
  8. Marius Kloft

In Statistics and Probability

  1. Francis R. Bach
  2. Qiang Liu
  3. Aymeric Dieuleveut
  4. Yihao Feng
  5. Michael I. Jordan
  6. Manfred Opper
  7. Stefano Soatto
  8. Stephan Mandt

In Optimization & Training

  1. Michael I. Jordan
  2. Aymeric Dieuleveut
  3. Francis R. Bach
  4. Stefano Soatto
  5. Qiang Liu
  6. Pratik Chaudhari
  7. Stephan Mandt
  8. Mert Gurbuzbalaban

In Statistical Learning Theory

  1. Francis R. Bach
  2. Qiang Liu
  3. Michael I. Jordan
  4. Kenji Fukumizu
  5. Andrew McCallum
  6. Arthur Gretton
  7. Marius Kloft
  8. Steven C. H. Hoi

Citations in the corpus