Efficient Mixture Learning in Black-Box Variational Inference

A. Hotti, Oskar Kviman, Ricky Mol'en, Victor Elvira, Jens Lagergren
2/12/2026

No official code found. Best implementation: okviman/efficient-mixtures (2 stars, last commit 2024-07-05).

Abstract

Mixture variational distributions in black box variational inference (BBVI) have demonstrated impressive results in challenging density estimation tasks. However, currently scaling the number of mixture components can lead to a linear increase in the number of learnable parameters and a quadratic increase in inference time due to the evaluation of the evidence lower bound (ELBO). Our two key contributions address these limitations. First, we introduce the novel Multiple Importance Sampling Variational Autoencoder (MISVAE), which amortizes the mapping from input to mixture-parameter space using one-hot encodings. Fortunately, with MISVAE, each additional mixture component incurs a negligible increase in network parameters. Second, we construct two new estimators of the ELBO for mixtures in BBVI, enabling a tremendous reduction in inference time with marginal or even improved impact on performance. Collectively, our contributions enable scalability to hundreds of mixture components and provide superior estimation performance in shorter time, with fewer network parameters compared to previous Mixture VAEs. Experimenting with MISVAE, we achieve astonishing, SOTA results on MNIST. Furthermore, we empirically validate our estimators in other BBVI settings, including Bayesian phylogenetic inference, where we improve inference times for the SOTA mixture model on eight data sets.

View on arXivView PDF

Code Implementations(1)

Code for reproducing results for "Efficient Mixture Learning in Black-Box VI"

23Shell, PythonOct 25, 20232 years ago

Similar Papers

Cite this paper

@article{hotti2026efficient,
  title  = {Efficient Mixture Learning in Black-Box Variational Inference},
  author = {A. Hotti and Oskar Kviman and Ricky Mol'en and Victor Elvira and Jens Lagergren},
  year   = {2026},
  eprint = {2406.07083},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.07083},
  journal = {ICML 2024 2024}
}

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/2406.07083.svg)](https://codeofpaper.com/paper/2406.07083)

Discussion