GPU-accelerated Gibbs sampling: a case study of the Horseshoe Probit model

Alexander Terenin, Shawfeng Dong, David Draper
8/15/2016
43 citations
stat.COcs.DC

Official code: aterenin/GPUHorseshoe (6 stars, Scala, Apache-2.0, last commit 2018-02-12).

Abstract

Gibbs sampling is a widely used Markov chain Monte Carlo (MCMC) method for numerically approximating integrals of interest in Bayesian statistics and other mathematical sciences. Many implementations of MCMC methods do not extend easily to parallel computing environments, as their inherently sequential nature incurs a large synchronization cost.

Show full abstract

In the case study illustrated by this paper, we show how to do Gibbs sampling in a fully data-parallel manner on a graphics processing unit, for a large class of exchangeable models that admit latent variable representations. Our approach takes a systems perspective, with emphasis placed on efficient use of compute hardware. We demonstrate our method on a Horseshoe Probit regression model and find that our implementation scales effectively to thousands of predictors and millions of data points simultaneously.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
60Scala, CudaJun 1, 20168 years agoApache-2.0

Similar Papers

Cite this paper

@article{terenin2016gpuaccelerated,
  title  = {GPU-accelerated Gibbs sampling: a case study of the Horseshoe Probit model},
  author = {Alexander Terenin and Shawfeng Dong and David Draper},
  year   = {2016},
  eprint = {1608.04329},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1608.04329}
}

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

Discussion