arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.08264stat.MLcs.LG
收藏

面向近似后验的大规模并行期望最大化

Massively Parallel Expectation Maximization For Approximate Posteriors

University of Bristol(布里斯托大学)

Thomas Heap, Sam Bowyer, Laurence Aitchison

AI总结:

本文提出QEM方法,利用大规模并行重要性加权估计后验矩,再通过期望最大化快速拟合近似后验,在速度上优于并行RWS和VI,且对模型重参数化不敏感。

摘要:

分层模型的贝叶斯推断可能极具挑战性。MCMC方法难以扩展到具有大量观测和潜在变量的大型模型。虽然变分推断(VI)和重加权醒眠算法(RWS)具有更好的可扩展性,但它们是基于梯度的方法,因此通常需要多次迭代才能收敛。我们的关键洞察是,现代大规模并行重要性加权方法(Bowyer等人,2024)能够提供快速且准确的后验矩估计,我们可以利用这些矩估计来快速学习近似后验。具体而言,我们提出使用期望最大化来拟合近似后验,并将其称为QEM。期望步骤涉及使用来自Bowyer等人(2024)的高质量大规模并行估计来计算后验矩。最大化步骤涉及使用这些矩来拟合近似后验,对于简单的近似后验(如高斯、伽马、贝塔、狄利克雷、二项、多项、类别分布等,或其组合),这一步骤可以直接完成。我们证明,QEM比最先进的大规模并行RWS和VI变体更快,并且对会显著减慢基于梯度方法的模型重参数化具有不变性。

英文摘要:

Bayesian inference for hierarchical models can be very challenging. MCMC methods have difficulty scaling to large models with many observations and latent variables. While variational inference (VI) and reweighted wake-sleep (RWS) can be more scalable, they are gradient-based methods and so often require many iterations to converge. Our key insight was that modern massively parallel importance weighting methods (Bowyer et al., 2024) give fast and accurate posterior moment estimates, and we can use these moment estimates to rapidly learn an approximate posterior. Specifically, we propose using expectation maximization to fit the approximate posterior, which we call QEM. The expectation step involves computing the posterior moments using high-quality massively parallel estimates from Bowyer et al. (2024). The maximization step involves fitting the approximate posterior using these moments, which can be done straightforwardly for simple approximate posteriors such as Gaussian, Gamma, Beta, Dirichlet, Binomial, Multinomial, Categorical, etc. (or combinations thereof). We show that QEM is faster than state-of-the-art, massively parallel variants of RWS and VI, and is invariant to reparameterizations of the model that dramatically slow down gradient based methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑