Boosting Variational Inference: an Optimization Perspective

Francesco Locatello, Rajiv Khanna, Joydeep Ghosh, Gunnar Rätsch

Introduction

Variational Inference (VI) is a fundamental tool in Bayesian statistics, designed to approximate complex, intractable posterior distributions with simpler, more manageable ones. Traditionally, practitioners have relied on mean-field VI, which often assumes a single-mode Gaussian structure. While computationally efficient, this approach frequently fails to capture the nuances of multi-modal or heavy-tailed distributions.

To address these limitations, researchers developed "Boosting" Variational Inference (BVI). This technique constructs a complex mixture model by greedily adding simple components one at a time. Although BVI has demonstrated strong empirical performance, it has historically lacked a rigorous theoretical foundation. This paper bridges that gap by framing BVI as a functional optimization problem, providing the first formal convergence guarantees for the method.

A Functional Optimization Framework

The core contribution of this work is the re-interpretation of BVI through the lens of the Frank-Wolfe (FW) algorithm, a classic optimization method for constrained convex problems. By mapping the addition of a new distribution component to the "Linear Minimization Oracle" (LMO) step in Frank-Wolfe, the authors provide a mathematical structure for the greedy growth of the mixture model.

Algorithmic Variants

The authors analyze three primary versions of the BVI algorithm:

  1. Standard BVI: Components are added using either a fixed or line-search step size.
  2. Stochastic LMO: A stochastic gradient approach is employed to identify the next optimal component, making the process more scalable.
  3. Norm-Corrective FW: This more advanced variant re-optimizes the weights of all existing components in the mixture at every step, rather than just the newest addition, leading to significantly faster convergence.
Density approximation and convergence rates on a synthetic multi-modal distribution.

Theoretical Insights and the Smoothness Requirement

A significant technical challenge in applying optimization theory to VI is the behavior of the Kullback-Leibler (KL) divergence. The KL divergence is not mathematically "smooth" if the approximating density reaches zero. To ensure well-behaved optimization, the authors propose restricting components to truncated supports. This theoretical adjustment ensures the densities remain bounded away from zero relative to the true posterior.

One of the most surprising findings is that BVI is not limited to sublinear convergence ($O(1/T)$). The authors prove that if the optimal distribution lies within the "relative interior" of the mixture space, BVI can achieve linear (exponential) convergence. Furthermore, they demonstrate that the global convergence guarantees hold even if the "boosting" subroutine only finds an approximate solution (within an accuracy $\delta$), rather than a perfect one.

Empirical Validation

The theoretical framework was validated using both synthetic toy problems and real-world datasets. Synthetic experiments involved 1D problems with heavy-tailed Cauchy distributions and multi-modal Gaussian mixtures, confirming the predicted convergence rates and the efficiency of corrective steps.

For real-world application, the authors utilized the CHEMREACT dataset, which consists of 26,733 chemicals characterized by 100 features. BVI was applied to a Bayesian Logistic Regression task to predict chemical reactivity.

Training Log-Likelihood and Test AUC on the CHEMREACT dataset.

Key Results

  • Superior Predictive Power: In the CHEMREACT experiments, the BVI approach consistently outperformed vanilla mean-field VI. As the number of components increased, both the training log-likelihood and the test Area Under the Curve (AUC) improved, demonstrating that the mixture model captures the posterior more accurately than a single Gaussian.
  • Corrective Efficiency: The "Norm-Corrective" variant showed the fastest convergence in practice, justifying the additional computational effort required to re-weight the ensemble at each step.

Limitations and Future Directions

While this paper provides a robust foundation for BVI, several areas remain open for exploration. The current convergence constants depend on $L_2$ norms, which may scale poorly in very high-dimensional spaces. Future work could investigate different distance metrics to improve high-dimensional bounds.

Additionally, there remains a slight gap between the theoretically necessary truncated densities and the non-truncated Gaussians commonly used in practice. Finally, while the "outer" optimization of the mixture is convex, the "inner" search for the best next component remains a non-convex problem. Improving the robustness of this inner loop search is a key priority for future research in boosting variational inference.

Summary updated

BibTeX
@inproceedings{locatello2018boosting,
  author = {Francesco Locatello and Rajiv Khanna and Joydeep Ghosh and Gunnar Rätsch},
  title = {{Boosting Variational Inference: an Optimization Perspective}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
}
Figure