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 条
  • [21] Accelerating Bayesian inference for stochastic epidemic models using incidence data
    Andrew Golightly
    Laura E. Wadkin
    Sam A. Whitaker
    Andrew W. Baggaley
    Nick G. Parker
    Theodore Kypraios
    Statistics and Computing, 2023, 33
  • [22] Bayesian Inference for Mixed Model-Based Genome-Wide Analysis of Expression Quantitative Trait Loci by Gibbs Sampling
    Lee, Chaeyoung
    FRONTIERS IN GENETICS, 2019, 10
  • [23] Accelerating Bayesian inference for stochastic epidemic models using incidence data
    Golightly, Andrew
    Wadkin, Laura E.
    Whitaker, Sam A.
    Baggaley, Andrew W.
    Parker, Nick G.
    Kypraios, Theodore
    STATISTICS AND COMPUTING, 2023, 33 (06)
  • [25] Bayesian Estimation of the DINA Model With Gibbs Sampling
    Culpepper, Steven Andrew
    JOURNAL OF EDUCATIONAL AND BEHAVIORAL STATISTICS, 2015, 40 (05) : 454 - 476
  • [26] BAYESIAN INFERENCE OF GENETIC PARAMETERS FOR 305 DAY MILK YIELD IN TURKISH HOLSTEINS VIA GIBBS SAMPLING
    Gevrekci, Yakut
    Mestav, Burcu
    Takma, Cigdem
    FRESENIUS ENVIRONMENTAL BULLETIN, 2018, 27 (09): : 6388 - 6393
  • [27] Accelerating the convergence of replica exchange simulations using Gibbs sampling and adaptive temperature sets
    Vogel, Thomas
    Perez, Danny
    Proceedings of the 28th Workshop on Computer Simulation Studies in Condensed Matter Physics (CSP2015), 2015, 68 : 125 - 129
  • [28] Bayesian Inference Using Artificial Augmenting Regressions
    Tsionas, Efthymios G.
    COMMUNICATIONS IN STATISTICS-THEORY AND METHODS, 2009, 38 (09) : 1361 - 1370
  • [29] BAYESIAN-ANALYSIS OF GENETIC CHANGE DUE TO SELECTION USING GIBBS SAMPLING
    SORENSEN, DA
    WANG, CS
    JENSEN, J
    GIANOLA, D
    GENETICS SELECTION EVOLUTION, 1994, 26 (04) : 333 - 360
  • [30] BAYESIAN INFERENCE FOR LATENT CHAIN GRAPHS
    Lu, Deng
    De Iorio, Maria
    Jasra, Ajay
    Rosner, Gary L.
    FOUNDATIONS OF DATA SCIENCE, 2020, 2 (01): : 35 - 54