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

Oleg Arenz, Philipp Dahlinger, Zihan Ye, Michael Volpp, Gerhard Neumann
9/23/2022
cs.LGcs.ROstat.ML
bayesian

Official code: OlegArenz/gmmvi_reproducibility (2 stars, Python, MIT, last commit 2023-07-18).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Scripts and config files that were used for running the experiments for our TMLR Submission "A Unified Perspective on Natural Gradient Variational Inference with Gaussian Mixture Models"

20Python, ShellJul 14, 20233 years agoMIT

Similar Papers

Cite this paper

@article{arenz2022unified,
  title  = {A Unified Perspective on Natural Gradient Variational Inference with Gaussian Mixture Models},
  author = {Oleg Arenz and Philipp Dahlinger and Zihan Ye and Michael Volpp and Gerhard Neumann},
  year   = {2022},
  eprint = {2209.11533},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.11533}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.11533.svg)](https://codeofpaper.com/paper/2209.11533)

Discussion