Variational bagging: a robust approach for Bayesian uncertainty quantification
Shitao Fan, Ilsang Ohn, David Dunson, Lizhen Lin
TL;DR
This work introduces variational bagging, a bootstrap-aggregation framework for variational Bayes that dramatically improves uncertainty quantification when mean-field VB is used or when model misspecification is present. By aggregating variational posteriors over bootstrap samples, the authors prove a Bernstein–von Mises-type result and posterior contraction guarantees, while recovering off-diagonal covariance structure that standard mean-field VB misses. The approach yields robust, well-calibrated uncertainty across parametric models, finite mixtures, deep networks, and VAEs, with demonstrated gains in predictive intervals and coverage in simulations and real data (MNIST/Omniglot). The method is computationally efficient relative to MCMC, scales to complex models, and provides practical guidance for bootstrap design, making it a versatile tool for robust Bayesian inference in modern applications.
Abstract
Variational Bayes methods are popular due to their computational efficiency and adaptability to diverse applications. In specifying the variational family, mean-field classes are commonly used, which enables efficient algorithms such as coordinate ascent variational inference (CAVI) but fails to capture parameter dependence and typically underestimates uncertainty. In this work, we introduce a variational bagging approach that integrates a bagging procedure with variational Bayes, resulting in a bagged variational posterior for improved inference. We establish strong theoretical guarantees, including posterior contraction rates for general models and a Bernstein-von Mises (BVM) type theorem that ensures valid uncertainty quantification. Notably, our results show that even when using a mean-field variational family, our approach can recover off-diagonal elements of the limiting covariance structure and provide proper uncertainty quantification. In addition, variational bagging is robust to model misspecification, with covariance structures matching those of the target covariance. We illustrate our variational bagging method in numerical studies through applications to parametric models, finite mixture models, deep neural networks, and variational autoencoders (VAEs).
