[Paper Review] Boosting Black Box Variational Inference
This paper proposes a black box variational inference (BBVI) framework that boosts approximation quality by iteratively constructing a mixture of densities using the Frank-Wolfe algorithm. By relaxing convergence conditions and introducing the Residual ELBO (RELBO), the method enables fully black-box implementation without custom LMOs, achieving better posterior approximations with lower variance and improved stability across diverse models.
Approximating a probability density in a tractable manner is a central task in Bayesian statistics. Variational Inference (VI) is a popular technique that achieves tractability by choosing a relatively simple variational family. Borrowing ideas from the classic boosting framework, recent approaches attempt to \emph{boost} VI by replacing the selection of a single density with a greedily constructed mixture of densities. In order to guarantee convergence, previous works impose stringent assumptions that require significant effort for practitioners. Specifically, they require a custom implementation of the greedy step (called the LMO) for every probabilistic model with respect to an unnatural variational family of truncated distributions. Our work fixes these issues with novel theoretical and algorithmic insights. On the theoretical side, we show that boosting VI satisfies a relaxed smoothness assumption which is sufficient for the convergence of the functional Frank-Wolfe (FW) algorithm. Furthermore, we rephrase the LMO problem and propose to maximize the Residual ELBO (RELBO) which replaces the standard ELBO optimization in VI. These theoretical enhancements allow for black box implementation of the boosting subroutine. Finally, we present a stopping criterion drawn from the duality gap in the classic FW analyses and exhaustive experiments to illustrate the usefulness of our theoretical and algorithmic contributions.
Motivation & Objective
- To address the impracticality of white-box boosting VI due to stringent assumptions on variational families and LMO implementations.
- To enable black box deployment of boosting VI by removing the need for custom, model-specific LMOs.
- To improve convergence guarantees and stability of boosting VI through relaxed curvature-based conditions instead of strict smoothness.
- To provide a practical stopping criterion based on the duality gap in Frank-Wolfe optimization.
- To demonstrate the effectiveness of the method across multiple real-world and synthetic Bayesian models.
Proposed method
- Reformulates the boosting VI problem using the functional Frank-Wolfe algorithm with a relaxed bounded curvature assumption instead of strict smoothness.
- Introduces the Residual ELBO (RELBO) as a modified objective to ensure non-degenerate component selection during each boosting iteration.
- Enables black box compatibility by decoupling the boosting subroutine from model-specific implementations, allowing reuse of standard VI solvers.
- Employs a duality gap-based stopping criterion derived from classic Frank-Wolfe theory to determine optimal iteration count.
- Uses iterative mixture updates where each new component is selected via RELBO maximization over a flexible, untruncated variational family.
- Applies the framework to Bayesian linear regression, matrix factorization, and clinical prediction tasks using standard BBVI back-ends.
Experimental results
Research questions
- RQ1Can boosting variational inference be made fully black box without requiring custom LMO implementations for each model?
- RQ2Does relaxing the smoothness assumption to bounded curvature improve convergence guarantees and practicality in VI?
- RQ3Can the Residual ELBO (RELBO) objective ensure non-degenerate, high-quality components while enabling black box optimization?
- RQ4Is the duality gap a reliable and effective stopping criterion for boosting VI in practice?
- RQ5Does the proposed method achieve better posterior approximation quality and lower variance compared to standard BBVI?
Key findings
- On the ChemReact dataset, boosting BBVI with a Laplace base family achieved a test AUROC of 0.794 ± 0.005, outperforming BBVI with Laplace (0.781 ± 0.012) and Gaussian (0.790 ± 0.009) families.
- On the eICU dataset, boosting BBVI achieved a test AUROC of 0.844 ± 0.006, showing improved performance and lower variance compared to baseline BBVI (0.838 ± 0.016).
- In Bayesian matrix factorization on the CBCL Face dataset, boosting BBVI reduced mean-squared error to 0.0135 ± 0.52e-04 (D=10), outperforming baseline BBVI (0.0188 ± 0.001).
- For held-out test log-likelihood, boosting BBVI achieved -0.9492 ± 0.001 (D=10), surpassing baseline BBVI’s -0.9468 ± 0.3e-3.
- The method consistently reduced variance across multiple repetitions, indicating greater stability than standard BBVI.
- The duality gap-based stopping criterion effectively identified optimal iteration counts, with iteration 17 yielding best performance on both ChemReact and eICU datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.