AMAGOLD: Amortized Metropolis Adjustment for Efficient Stochastic Gradient MCMC

Ruqi Zhang, A. Feder Cooper, Christopher De Sa
2/29/2020
cs.LGstat.ML
bayesian

Official code: ruqizhang/amagold (2 stars, Jupyter Notebook, last commit 2020-03-03).

Abstract

Stochastic gradient Hamiltonian Monte Carlo (SGHMC) is an efficient method for sampling from continuous distributions. It is a faster alternative to HMC: instead of using the whole dataset at each iteration, SGHMC uses only a subsample.

Show full abstract

This improves performance, but introduces bias that can cause SGHMC to converge to the wrong distribution. One can prevent this using a step size that decays to zero, but such a step size schedule can drastically slow down convergence. To address this tension, we propose a novel second-order SG-MCMC algorithm---AMAGOLD---that infrequently uses Metropolis-Hastings (M-H) corrections to remove bias. The infrequency of corrections amortizes their cost. We prove AMAGOLD converges to the target distribution with a fixed, rather than a diminishing, step size, and that its convergence rate is at most a constant factor slower than a full-batch baseline. We empirically demonstrate AMAGOLD's effectiveness on synthetic distributions, Bayesian logistic regression, and Bayesian neural networks.

View on arXivView PDF

Code Implementations(1)

ruqizhang/amagoldOfficial100%
22Jupyter Notebook, PythonFeb 23, 20206 years ago

Similar Papers

Cite this paper

@article{zhang2020amagold,
  title  = {AMAGOLD: Amortized Metropolis Adjustment for Efficient Stochastic Gradient MCMC},
  author = {Ruqi Zhang and A. Feder Cooper and Christopher De Sa},
  year   = {2020},
  eprint = {2003.00193},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.00193}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.00193.svg)](https://codeofpaper.com/paper/2003.00193)

Discussion