sgmcmc: An R Package for Stochastic Gradient Markov Chain Monte Carlo
Jack Baker, Paul Fearnhead, Emily B. Fox, Christopher Nemeth

TL;DR
The paper presents the sgmcmc R package that facilitates Bayesian inference on large datasets using stochastic gradient MCMC, leveraging automatic differentiation and TensorFlow to simplify implementation.
Contribution
It introduces an R package that automates gradient calculations and integrates with TensorFlow, making stochastic gradient MCMC accessible for statistical modeling.
Findings
Enables scalable Bayesian inference on large datasets.
Automates gradient computation with automatic differentiation.
Bridges the gap between machine learning and statistical communities.
Abstract
This paper introduces the R package sgmcmc; which can be used for Bayesian inference on problems with large datasets using stochastic gradient Markov chain Monte Carlo (SGMCMC). Traditional Markov chain Monte Carlo (MCMC) methods, such as Metropolis-Hastings, are known to run prohibitively slowly as the dataset size increases. SGMCMC solves this issue by only using a subset of data at each iteration. SGMCMC requires calculating gradients of the log likelihood and log priors, which can be time consuming and error prone to perform by hand. The sgmcmc package calculates these gradients itself using automatic differentiation, making the implementation of these methods much easier. To do this, the package uses the software library TensorFlow, which has a variety of statistical distributions and mathematical operations as standard, meaning a wide class of models can be built using this…
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
TopicsMarkov Chains and Monte Carlo Methods · Gaussian Processes and Bayesian Inference · Bayesian Methods and Mixture Models
