arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.11533cs.LGcs.ROstat.ML
收藏

使用高斯混合模型的自然梯度变分推断的统一视角

A Unified Perspective on Natural Gradient Variational Inference with Gaussian Mixture Models

Technical University of Darmstadt(达姆施塔特工业大学);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Hessian Center for AI (hessian.AI)(黑森人工智能中心(hessian.AI))

Oleg Arenz, Philipp Dahlinger, Zihan Ye, Michael Volpp, Gerhard Neumann

AI总结:

本文统一分析VIPS与iBayes-GMM的自然梯度GMM变分推断更新,识别样本选择、梯度估计、步长和信赖域等设计差异,并提出显著优于两者的混合方法及开源实现。

摘要:

使用高斯混合模型(GMM)的变分推断能够学习难以处理的目标分布的高度易处理且多模态的近似,这些目标分布维度可达数百维。目前基于GMM的变分推断最有效的两种方法VIPS和iBayes-GMM,都对各个分量及其权重采用独立的自然梯度更新。我们首次表明,尽管它们的实际实现和理论保证不同,但其推导得出的更新是等价的。我们确定了区分这两种方法的若干设计选择,即关于样本选择、自然梯度估计、步长自适应,以及是否强制使用信赖域或是否自适应分量数量。我们认为,对于这两种方法,学习到的近似质量都可能因各自的设计选择而严重受损:通过使用来自混合模型的样本更新各个分量,iBayes-GMM通常无法对低权重分量产生有意义的更新;而通过使用零阶方法估计自然梯度,VIPS在扩展到更高维问题时表现很差。此外,我们表明,即使使用一阶自然梯度估计,信息几何信赖域(VIPS所使用的)仍然有效,并且通常优于iBayes-GMM所使用的改进贝叶斯学习规则(iBLR)更新。我们系统评估了设计选择的影响,并表明一种混合方法显著优于此前的两项工作。伴随这项工作,我们发布了高度模块化且高效的、用于高斯混合模型自然梯度变分推断的实现,它支持432种不同的设计选择组合,有助于复现我们的所有实验,并可能对从业者具有价值。

英文摘要:

Variational inference with Gaussian mixture models (GMMs) enables learning of highly tractable yet multi-modal approximations of intractable target distributions with up to a few hundred dimensions. The two currently most effective methods for GMM-based variational inference, VIPS and iBayes-GMM, both employ independent natural gradient updates for the individual components and their weights. We show for the first time, that their derived updates are equivalent, although their practical implementations and theoretical guarantees differ. We identify several design choices that distinguish both approaches, namely with respect to sample selection, natural gradient estimation, stepsize adaptation, and whether trust regions are enforced or the number of components adapted. We argue that for both approaches, the quality of the learned approximations can heavily suffer from the respective design choices: By updating the individual components using samples from the mixture model, iBayes-GMM often fails to produce meaningful updates to low-weight components, and by using a zero-order method for estimating the natural gradient, VIPS scales badly to higher-dimensional problems. Furthermore, we show that information-geometric trust-regions (used by VIPS) are effective even when using first-order natural gradient estimates, and often outperform the improved Bayesian learning rule (iBLR) update used by iBayes-GMM. We systematically evaluate the effects of design choices and show that a hybrid approach significantly outperforms both prior works. Along with this work, we publish our highly modular and efficient implementation for natural gradient variational inference with Gaussian mixture models, which supports 432 different combinations of design choices, facilitates the reproduction of all our experiments, and may prove valuable for the practitioner.

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

↑