Papers › Efficient Mixture Learning in Black-Box Variational Inference

Efficient Mixture Learning in Black-Box Variational Inference

11 Jun 2024arXiv:2406.07083archive 2025-07-28

Alexandra Hotti, Oskar Kviman, Ricky Molén, Víctor Elvira, Jens Lagergren

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.07083")

Code

Syntology Ran 11 of 12 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

okviman/efficient-mixtures officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 11 ran; 2 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
8ran
1unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from okviman/efficient-mixtures. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Conv2d okviman/efficient-mixtures/models/misvae.py official repository ran fingerprinted no licence file found · pointer only · ed3b70ab7a6d4b5d · report
EnsembleGatedConv2dEncoders okviman/efficient-mixtures/models/misvae.py official repository ran no licence file found · pointer only · d82fe55119b35e73 · report
GatedConv2d okviman/efficient-mixtures/models/misvae.py official repository ran fingerprinted no licence file found · pointer only · 7a3bfb98894b2c9c · report
GatedConv2dEncoder okviman/efficient-mixtures/models/misvae.py official repository ran no licence file found · pointer only · ff0ad3c747498f46 · report
GatedConv2dResidualEncoder okviman/efficient-mixtures/models/misvae.py official repository ran no licence file found · pointer only · 79f679bd8a2777cc · report
GatedDense okviman/efficient-mixtures/models/misvae.py official repository ran fingerprinted no licence file found · pointer only · 1c2db98cc4262a60 · report
MaskedConv2d okviman/efficient-mixtures/models/misvae.py official repository ran fingerprinted no licence file found · pointer only · 1e7fccef55322b25 · report
SingleLayerPixelCNNDecoder okviman/efficient-mixtures/models/misvae.py official repository ran no licence file found · pointer only · 1374c4bce3e76e05 · report
evaluate okviman/efficient-mixtures/mnist_train.py official repository ran · honoured contract no licence file found · pointer only · 15cef4b080fc9a0d · report
evaluate_in_parts okviman/efficient-mixtures/mnist_train.py official repository ran · honoured contract no licence file found · pointer only · 06d3d6f24a5a0eb4 · report
trainer okviman/efficient-mixtures/mnist_train.py official repository ran · our draft was wrong no licence file found · pointer only · 7cb76609b75bc07d · report
MISVAECNN okviman/efficient-mixtures/models/misvae.py official repository unverified no licence file found · pointer only · 0828e4fc807cceca · report

Tasks

Density EstimationVariational Inference

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Variational Inference

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections