Accelerating Bayesian Inference on Structured Graphs Using Parallel Gibbs Sampling

被引:4
|
作者
Ko, Glenn G. [1 ]
Chai, Yuji [1 ]
Rutenbar, Rob A. [2 ]
Brooks, David [1 ]
Wei, Gu-Yeon [1 ]
机构
[1] Harvard Univ, Cambridge, MA 02138 USA
[2] Univ Pittsburgh, Pittsburgh, PA USA
来源
2019 29TH INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS (FPL) | 2019年
关键词
bayesian inference; markov chain monte carlo; gibbs sampling; hardware accelerator; markov random field;
D O I
10.1109/FPL.2019.00033
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Bayesian models and inference is a class of machine learning that is useful for solving problems where the amount of data is scarce and prior knowledge about the application allows you to draw better conclusions. However, Bayesian models often requires computing high-dimensional integrals and finding the posterior distribution can be intractable. One of the most commonly used approximate methods for Bayesian inference is Gibbs sampling, which is a Markov chain Monte Carlo (MCMC) technique to estimate target stationary distribution. The idea in Gibbs sampling is to generate posterior samples by iterating through each of the variables to sample from its conditional given all the other variables fixed. While Gibbs sampling is a popular method for probabilistic graphical models such as Markov Random Field (MRF), the plain algorithm is slow as it goes through each of the variables sequentially. In this work, we describe a binary label MRF Gibbs sampling inference architecture and extend it to 64-label version capable of running multiple perceptual applications, such as sound source separation and stereo matching. The described accelerator employs a chromatic scheduling of variables to parallelize all the conditionally independent variables to 257 samplers, implemented on the FPGA portion of a CPU-FPGA SoC. For real-time streaming sound source separation task, we show the hybrid CPU-FPGA implementation is 230x faster than a commercial mobile processor, while maintaining a recommended latency under 50 ms. The 64-label version showed 137x and 679x speedups for binary label MRF Gibbs sampling inference and 64 labels, respectively.
引用
收藏
页码:159 / 165
页数:7
相关论文
共 50 条
  • [1] Bayesian inference in the semiparametric log normal frailty model using Gibbs sampling
    Inge Riis Korsgaard
    Per Madsen
    Just Jensen
    Genetics Selection Evolution, 30 (3)
  • [2] BAYESIAN-INFERENCE IN THRESHOLD MODELS USING GIBBS SAMPLING
    SORENSEN, DA
    ANDERSEN, S
    GIANOLA, D
    KORSGAARD, I
    GENETICS SELECTION EVOLUTION, 1995, 27 (03) : 229 - 249
  • [3] Bayesian inference on variance components using Gibbs sampling with various priors
    Lee, C
    Wang, CD
    ASIAN-AUSTRALASIAN JOURNAL OF ANIMAL SCIENCES, 2001, 14 (08): : 1051 - 1056
  • [4] Bayesian inference in the semiparametric log normal frailty model using Gibbs sampling
    Korsgaard, IR
    Madsen, P
    Jensen, J
    GENETICS SELECTION EVOLUTION, 1998, 30 (03) : 241 - 256
  • [5] Application of Bayesian inference using Gibbs sampling to item-response theory modeling of multi-symptom genetic data
    Eaves, L
    Erkanli, A
    Silberg, J
    Angold, A
    Maes, HH
    Foley, D
    BEHAVIOR GENETICS, 2005, 35 (06) : 765 - 780
  • [6] Application of Bayesian Inference using Gibbs Sampling to Item-Response Theory Modeling of Multi-Symptom Genetic Data
    Lindon Eaves
    Alaattin Erkanli
    Judy Silberg
    Adrian Angold
    Hermine H. Maes
    Debra Foley
    Behavior Genetics, 2005, 35 : 765 - 780
  • [7] Computationally efficient Bayesian inference for probabilistic model updating with polynomial chaos and Gibbs sampling
    Han, Qiang
    Ni, Pinghe
    Du, Xiuli
    Zhou, Hongyuan
    Cheng, Xiaowei
    STRUCTURAL CONTROL & HEALTH MONITORING, 2022, 29 (06)
  • [8] BAYESIAN-INFERENCE FOR GENERALIZED LINEAR AND PROPORTIONAL HAZARDS MODELS VIA GIBBS SAMPLING
    DELLAPORTAS, P
    SMITH, AFM
    APPLIED STATISTICS-JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES C, 1993, 42 (03): : 443 - 459
  • [9] Parallel Wavelet-based Bayesian Compressive Sensing based on Gibbs Sampling
    Zhou, Jian
    Chakrabarti, Chaitali
    PROCEEDINGS OF THE 2018 IEEE INTERNATIONAL WORKSHOP ON SIGNAL PROCESSING SYSTEMS (SIPS), 2018, : 140 - 145
  • [10] Bayesian analysis of vector ARMA models using Gibbs sampling
    Ravishanker, N
    Ray, BK
    JOURNAL OF FORECASTING, 1997, 16 (03) : 177 - 194