arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.07083cs.LGstat.ML

黑盒变分推断中的高效混合学习

Efficient Mixture Learning in Black-Box Variational Inference

KTH Royal Institute of Technology(瑞典皇家理工学院);Science for Life Laboratory(生命科学实验室);University of Edinburgh(爱丁堡大学)

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

AI总结:

针对 BBVI 混合分布参数与计算开销问题,本文提出 MISVAE 和两个新的 ELBO 估计器,实现数百成分扩展,并在 MNIST 及贝叶斯系统发育推断中取得更优速度与性能。

摘要:

黑盒变分推断(BBVI)中的混合变分分布已在具有挑战性的密度估计任务中展现出令人瞩目的结果。然而,目前扩展混合成分数量会导致可学习参数数量线性增加,并且由于证据下界(ELBO)的评估,推断时间会呈二次增长。我们的两项关键贡献解决了这些局限。首先,我们提出了新颖的多重重要性采样变分自编码器(MISVAE),它使用 one-hot 编码来摊销从输入到混合参数空间的映射。幸运的是,借助 MISVAE,每增加一个混合成分只会带来可忽略的网络参数增长。其次,我们为 BBVI 中的混合分布构建了两个新的 ELBO 估计器,从而能够大幅减少推断时间,同时对性能仅产生边际影响,甚至带来性能提升。总体而言,我们的贡献使模型能够扩展到数百个混合成分,并在更短时间内以更少的网络参数提供优于以往 Mixture VAE 的估计性能。通过使用 MISVAE 进行实验,我们在 MNIST 上取得了惊人的 SOTA 结果。此外,我们还在其他 BBVI 设置中通过实验验证了我们的估计器,包括贝叶斯系统发育推断;在该任务中,我们在八个数据集上改进了 SOTA 混合模型的推断时间。

英文摘要:

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.

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

↑