Boosting Variational Inference

Fangjian Guo, Xiangyu Wang, Kai Fan, Tamara Broderick, David B. DunsonarXiv 2016

Introduction

Standard Variational Inference (VI) is widely used for its speed, but it often sacrifices accuracy by relying on overly simplistic distribution families. This paper introduces Boosting Variational Inference (BVI), a framework that iteratively constructs a complex mixture model to approximate the posterior. By doing so, BVI captures multimodality and intricate correlations that traditional methods, such as Mean-Field VI (MFVI), typically overlook.

MFVI assumes parameter independence, which frequently leads to underestimated uncertainty and a failure to represent multimodal distributions. Because the family of distributions in MFVI is restricted, it can never reach the true posterior, regardless of computational effort. BVI addresses this by expanding the variational family to include arbitrary mixtures.

Comparison of variational families across key approximation capabilities.

Methodology: Laplacian Gradient Boosting

Inspired by gradient boosting in supervised learning, BVI builds a mixture model—a weighted sum of simple distributions—one component at a time. The process involves:

  1. Iterative Refinement: The algorithm begins with a single component and identifies regions where the current approximation lacks density relative to the true posterior.
  2. Residual Log-Density: The "residual" is defined as the difference between the true posterior and the current ensemble. The algorithm searches for local peaks in this residual.
  3. Laplace Approximation: At a detected peak, a new Gaussian component is formed using the peak as the mean and the Hessian (curvature) at that point to define the covariance.
  4. Optimal Weighting: Stochastic Gradient Descent (SGD) is employed to determine the optimal weight ($\alpha$) for integrating the new component into the existing ensemble.

This approach ensures the approximation stays within the "convex hull" of the base distribution family, providing theoretical guarantees that the ensemble can arbitrarily closely approximate any continuous density as more components are added.

Experimental Evaluation

The authors evaluated BVI across several benchmarks:

  • Synthetic Distributions: Testing on heavy-tailed Cauchy distributions and "Banana" distributions showed BVI's ability to handle non-linear shapes and strong correlations.
  • Sensor Network Localization: In this 16-dimensional, highly multimodal task, standard methods like Automatic Differentiation VI (ADVI) collapsed to a single point. BVI successfully identified multiple clusters of likely sensor coordinates, matching ground truth MCMC results.
  • Bayesian Logistic Regression: Using the Nodal dataset, BVI provided superior variance and covariance estimates compared to mean-field methods, which typically set covariances to zero by default.

Key Insights

BVI allows practitioners to "buy" accuracy with computation time. Unlike standard VI, which hits an accuracy ceiling, BVI continues to improve as more components are added. By treating the ratio between the true posterior and the current approximation as a "residual," the algorithm effectively "patches" holes in the model's understanding of the parameter space. While more complex than MFVI, BVI proved significantly faster than MCMC while achieving a level of accuracy that standard VI simply cannot reach.

Limitations and Future Directions

While powerful, BVI faces challenges in extremely high dimensions due to the $O(d^3)$ cost of calculating and inverting the Hessian matrix. Future work may involve diagonal Hessian approximations or more sophisticated global optimization techniques to identify the best next component in complex landscapes. Additionally, formal convergence rates for this functional version of boosting remain an open area for theoretical research.

Summary updated

BibTeX
@misc{guo2016boosting,
  author = {Fangjian Guo and Xiangyu Wang and Kai Fan and Tamara Broderick and David B. Dunson},
  title = {{Boosting Variational Inference}},
  year = {2016},
  eprint = {1611.05559},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.05559},
}
Figure