Stochastic Gradient Hamiltonian Monte Carlo

Tianqi Chen, Emily B. Fox, Carlos Guestrin
2/17/2014
1,048 citations
stat.MEcs.LGstat.ML

No official code found. Best implementation: tqchen/ML-SGHMC (110 stars). 2 more below.

Abstract

Hamiltonian Monte Carlo (HMC) sampling methods provide a mechanism for defining distant proposals with high acceptance probabilities in a Metropolis-Hastings framework, enabling more efficient exploration of the state space than standard random-walk proposals. The popularity of such methods has grown significantly in recent years.

Show full abstract

However, a limitation of HMC methods is the required gradient computation for simulation of the Hamiltonian dynamical system-such computation is infeasible in problems involving a large sample size or streaming data. Instead, we must rely on a noisy gradient estimate computed from a subset of the data. In this paper, we explore the properties of such a stochastic gradient HMC approach. Surprisingly, the natural implementation of the stochastic approximation can be arbitrarily bad. To address this problem we introduce a variant that uses second-order Langevin dynamics with a friction term that counteracts the effects of the noisy gradient, maintaining the desired target distribution as the invariant distribution. Results on simulated data validate our theory. We also provide an application of our methods to a classification task using neural networks and to online Bayesian matrix factorization.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
tqchen/ML-SGHMCCommunity110–––
TurboFreeze/sghmcCommunity12–––
gldmt-duke/CokerAmitaiSGHMCCommunity4–––
tqchen/ML-SGHMCCommunity25%

Experiment code for Stochastic Gradient Hamiltonian Monte Carlo

11038
TurboFreeze/sghmcCommunity25%

Stochastic Gradient Hamiltonian Monte Carlo

122

An implementation of Stochastic Gradient Hamiltonian Monte Carlo by Gilad Amitai and Beau Coker

40

Similar Papers

Cite this paper

@article{chen2014stochastic,
  title  = {Stochastic Gradient Hamiltonian Monte Carlo},
  author = {Tianqi Chen and Emily B. Fox and Carlos Guestrin},
  year   = {2014},
  eprint = {1402.4102},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1402.4102}
}

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/1402.4102.svg)](https://codeofpaper.com/paper/1402.4102)

Discussion