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 条
  • [41] Bayesian updating of geotechnical parameters with polynomial chaos Kriging model and Gibbs sampling
    Zhang, Wenhao
    El Naggar, M. Hesham
    Ni, Pinghe
    Zhao, Mi
    Du, Xiuli
    COMPUTERS AND GEOTECHNICS, 2025, 180
  • [42] A new economical design of acceptance sampling models using Bayesian inference
    Fallahnezhad, Mohammad Saber
    Aslam, Muhammad
    ACCREDITATION AND QUALITY ASSURANCE, 2013, 18 (03) : 187 - 195
  • [43] A BAYESIAN-APPROACH TO OUTLIER DETECTION IN REGRESSION-ANALYSIS USING GIBBS SAMPLING
    VANDERMERWE, AJ
    BOTHA, TJ
    SOUTH AFRICAN STATISTICAL JOURNAL, 1993, 27 (02) : 181 - 202
  • [44] BAYESIAN-ANALYSIS OF CONSTRAINED PARAMETER AND TRUNCATED DATA PROBLEMS USING GIBBS SAMPLING
    GELFAND, AE
    SMITH, AFM
    LEE, TM
    JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 1992, 87 (418) : 523 - 532
  • [45] A Parallel Gibbs Sampling Algorithm for Motif Finding on GPU
    Yu, Linbin
    Xu, Yun
    2009 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS, PROCEEDINGS, 2009, : 555 - 558
  • [46] Bayesian inference for stochastic multitype epidemics in structured populations using sample data
    O'Neill, Philip D.
    BIOSTATISTICS, 2009, 10 (04) : 779 - 791
  • [47] A note on parallel sampling in Markov graphs
    Bauer, Verena
    Fuerlinger, Karl
    Kauermann, Goeran
    COMPUTATIONAL STATISTICS, 2019, 34 (03) : 1087 - 1107
  • [48] A note on parallel sampling in Markov graphs
    Verena Bauer
    Karl Fürlinger
    Göran Kauermann
    Computational Statistics, 2019, 34 : 1087 - 1107
  • [49] Policy Gradient Importance Sampling for Bayesian Inference
    El-Laham, Yousef
    Bugallo, Monica F.
    IEEE TRANSACTIONS ON SIGNAL PROCESSING, 2021, 69 : 4245 - 4256
  • [50] Sequential Bayesian Inference and Monte-Carlo Sampling Using Memristor Stochasticity
    Malik, Adil
    Papavassiliou, Christos
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2024, 71 (12) : 5506 - 5518