Mixed Hamiltonian Monte Carlo for Mixed Discrete and Continuous Variables
摘要
Hamiltonian Monte Carlo (HMC) has emerged as a powerful Markov Chain Monte Carlo (MCMC) method to sample from complex continuous distributions. However, a fundamental limitation of HMC is that it can not be applied to distributions with mixed discrete and continuous variables. In this paper, we propose mixed HMC (M-HMC) as a general framework to address this limitation. M-HMC is a novel family of MCMC algorithms that evolves the discrete and continuous variables in tandem, allowing more frequent updates of discrete variables while maintaining HMC's ability to suppress random-walk behavior. We establish M-HMC's theoretical properties, and present an efficient implementation with Laplace momentum that introduces minimal overhead compared to existing HMC methods. The superior performances of M-HMC over existing methods are demonstrated with numerical experiments on Gaussian mixture models (GMMs), variable selection in Bayesian logistic regression (BLR), and correlated topic models (CTMs). One existing approach for addressing this limitation involves integrating out the discrete variables(e.g. in Stan[8], Pyro [3] ), yet it's only applicable on a small-scale, and can not always be carried out automatically. Another approach involves alternating between updating continuous variables using HMC/NUTS and discrete variables using generic MCMC methods (e.g. in PyMC3[27], Turing.jl[14]). However, to suppress random walk behavior in HMC, long trajectories are needed. As a result, the discrete variables can only be updated infrequently, limiting the efficiency of this approach. The most promising approach involves updating the discrete and continuous variables in tandem. Since naively making MH updates of discrete variables within HMC results in incorrect samples [22] , novel variants of HMC (e.g. discontinuous HMC (DHMC) [23, 29] , probabilistic path HMC (PPHMC) [12] ) are developed. However, these methods can not be easily generalized to complicated discrete state spaces (DHMC works best for ordinal discrete parameters, PPHMC is only applicable to phylogenetic trees), and as we show in Sections 2.5 and 3, DHMC's embedding and algorithmic structure are inefficient.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper4
- Robust Neural Posterior Estimation and Statistical Model CriticismDaniel Ward, Patrick Cannon, Mark Beaumont, Matteo Fasiolo 等NeurIPS 2022 · 79 次引用
- A Langevin-like Sampler for Discrete DistributionsRuqi Zhang, Xingchao Liu, Qiang LiuICML 2022 · 51 次引用
- Nonparametric Hamiltonian Monte CarloCarol Mak, Fabian Zaiser, Luke OngICML 2021 · 7 次引用
- Hamiltonian Monte Carlo on ReLU Neural Networks is InefficientVu C. Dinh, Lam Si Tung Ho, Cuong V. NguyenNeurIPS 2024 · 3 次引用
相关 Paper
- Fixed-Distance Hamiltonian Monte CarloHadi Mohasel Afshar, Sally CrippsNeurIPS 2022
- Unbiased constrained sampling with Self-Concordant Barrier Hamiltonian Monte CarloMaxence Noble, Valentin De Bortoli, Alain DurmusNeurIPS 2023 · 11 次引用
- Entropy-based adaptive Hamiltonian Monte CarloMarcel Hirt, Michalis K. Titsias, Petros DellaportasNeurIPS 2021 · 11 次引用
- Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects ModelsJinlin Lai, Justin Domke, Daniel R. SheldonNeurIPS 2024 · 2 次引用
- MixFlows: principled variational inference via mixed flowsZuheng Xu, Naitong Chen, Trevor CampbellICML 2023 · 11 次引用
