Hamiltonian Monte Carlo (HMC) is a powerful algorithm to sample latent variables from Bayesian models. The advent of probabilistic programming languages (PPLs) frees users from writing inference algorithms and lets users focus on modeling. However, many models are difficult for HMC to solve directly, which often require tricks like model reparameterization. We are motivated by the fact that many of those models could be simplified by marginalization. We propose to use automatic marginalization as part of the sampling process using HMC in a graphical model extracted from a PPL, which substantially improves sampling from real-world hierarchical models.
翻译:Hamilton Monte Carlo (HMC) 是一种强大的算法,用来从巴伊西亚模式中抽取潜在变量,概率性编程语言的出现使用户不必写推论算法,而让用户专注于建模。然而,许多模型对于HMC来说很难直接解决,这往往需要模型再校准等技巧。我们之所以这样做,是因为许多模型可以通过边缘化而简化。我们提议在从PPPL中提取的图形模型中,使用HMC作为取样过程的一部分,使用HMC,这大大改进了从现实世界等级模型的取样。