Efficiently Vectorized MCMC on Modern Accelerators
Hugh Dance, Pierre Glaser, Peter Orbanz, Ryan P. Adams
摘要
With the advent of automatic vectorization tools (e.g., JAX's vmap), writing multi-chain MCMC algorithms is often now as simple as invoking those tools on single-chain code. Whilst convenient, for various MCMC algorithms this results in a synchronization problem-loosely speaking, at each iteration all chains running in parallel must wait until the last chain has finished drawing its sample. In this work, we show how to design single-chain MCMC algorithms in a way that avoids synchronization overheads when vectorizing with tools like vmap, by using the framework of finite state machines (FSMs). Using a simplified model, we derive an exact theoretical form of the obtainable speed-ups using our approach, and use it to make principled recommendations for optimal algorithm design. We implement several popular MCMC algorithms as FSMs, including Elliptical Slice Sampling, HMC-NUTS, and Delayed Rejection, demonstrating speed-ups of up to an order of magnitude in experiments.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper1
问问它们各自怎么用它它引用的顶会 Paper6
- JAX MD: A Framework for Differentiable PhysicsSamuel S. Schoenholz, Ekin Dogus CubukNeurIPS 2020 · 被引用 195 次
- Automatic Reparameterisation of Probabilistic ProgramsMaria I. Gorinova, Dave Moore, Matthew D. HoffmanICML 2020 · 被引用 33 次
- Unbiased Contrastive Divergence Algorithm for Training Energy-Based Latent Variable ModelsYixuan Qiu, Lingsong Zhang, Xiao WangICLR 2020 · 被引用 26 次
- Training Linear Finite-State MachinesArash Ardakani, Amir Ardakani, Warren J. GrossNeurIPS 2020 · 被引用 5 次
- Recurrent Neural Language Models as Probabilistic Finite-state AutomataAnej Svete, Ryan CotterellEMNLP 2023 · 被引用 1 次
相关 Paper
- Probabilistic Programming with Vectorized Programmable InferenceMcCoy R. Becker, Mathieu Huot, George Matheos, Xiaoyan Wang 等POPL 2026 · 被引用 1 次
- Distributed Metropolis Sampler with Optimal ParallelismWeiming Feng, Thomas P. Hayes, Yitong YinSODA 2021 · 被引用 7 次
- Scaling out speculative execution of finite-state machines with parallel mergeYang Xia, Peng Jiang, Gagan AgrawalPPoPP 2020 · 被引用 10 次
- Involutive MCMC: a Unifying FrameworkKirill Neklyudov, Max Welling, Evgenii Egorov, Dmitry P. VetrovICML 2020 · 被引用 40 次
- Metropolis Adjusted Microcanonical Hamiltonian Monte CarloJakob Robnik, Reuben Cohn-Gordon, Uros SeljakNeurIPS 2025 · 被引用 8 次
