Universal Boosting Variational Inference

Trevor Campbell, Xinglong Li

Overview

Universal Boosting Variational Inference (UBVI) addresses a critical flaw in traditional boosting methods for Bayesian inference: the tendency for component distributions to "collapse" or become degenerate. By shifting the optimization objective from the standard Kullback-Leibler (KL) divergence to the Hellinger distance, UBVI leverages the elegant geometry of Hilbert spaces. This creates a "universal" algorithm guaranteed to converge to the best possible approximation, even when the underlying model is misspecified.

The Glass Ceiling of Variational Inference

Variational Inference (VI) is a cornerstone of modern Bayesian computation, favored for its scalability over Markov Chain Monte Carlo (MCMC) methods. However, VI has a "glass ceiling": its accuracy is strictly limited by the complexity of the chosen distribution family (e.g., a single Gaussian).

Boosting Variational Inference (BVI) attempts to break this ceiling by iteratively adding simple components to form a complex mixture. While promising, existing BVI methods rely on KL divergence. In practice, this often leads to degeneracy—the optimization produces components with zero variance or "explodes" trying to match heavy tails. Researchers typically add ad-hoc regularization to prevent this, but these patches can cause the algorithm to fail unpredictably.

Methods: The Geometry of UBVI

UBVI replaces KL divergence with the Hellinger distance. This is not merely a change of metric; it is a fundamental shift in geometry that simplifies the underlying mathematics.

Square-root probability densities represented on the surface of a unit sphere in a Hilbert space.
  1. The Hilbert Space Trick: Square-root probability densities live on the surface of a unit sphere in a Hilbert space ($L^2$). Moving between distributions is akin to moving along a geodesic on this sphere.
  2. Greedy Geodesic Ascent: Instead of a complex joint optimization of weights and components, UBVI finds the next component by maximizing its "alignment" with the current residual error on the sphere.
  3. Nonnegative Least Squares: Once a new component is found, updating the weights of all existing components becomes a simple, convex quadratic optimization problem (specifically, a dual formulation of nonnegative least squares).
  4. Universal Convergence: The authors prove that UBVI achieves an $O(1/N)$ convergence rate to the best possible mixture approximation, regardless of how "coarse" the component family is.

Key Insights and Results

The authors evaluated UBVI against standard VI and regularized BVI (BVI+) on challenging targets, including the heavy-tailed Cauchy distribution, the non-convex Banana distribution, and real-world Logistic Regression tasks (Chemical Reactivity and Phishing datasets).

  • Hellinger > KL for Boosting: The Hellinger distance is symmetric and bounded. Unlike KL divergence, which can approach infinity if the approximation's tails are lighter than the target's, the Hellinger distance remains well-behaved. This prevents the "tail-chasing" degeneracy seen in other methods.
  • Better for Importance Sampling: Minimizing Hellinger distance provides better control over the forward KL divergence. This is crucial because forward KL controls the error of importance sampling—the technique most practitioners use to refine their variational approximations.
UBVI successfully captures complex distributions where standard BVI methods fail or degenerate.
  • Robustness and Accuracy: On the Cauchy distribution, standard BVI failed after the first step due to degeneracy. In contrast, UBVI continued to refine the approximation, accurately capturing heavy tails where others failed. In logistic regression tasks, UBVI consistently reduced the "Energy Distance" to the true posterior as more components were added, whereas KL-based methods often plateaued or improved very slowly.
  • Tail Accuracy: Log-density plots demonstrate that UBVI provides significantly more accurate approximations of distribution tails compared to KL-based methods, which tend to underestimate uncertainty.

Limitations and Future Work

While UBVI offers significant improvements, it has a few limitations:

  • Non-convex Optimization: While the weight update is convex, finding the next component (the greedy step) still requires solving a non-convex optimization problem. The authors use multiple restarts and ADAM to handle this, but it remains the most computationally expensive part of the loop.
  • Gradient Variance: Estimating Hellinger-based objectives via Monte Carlo can sometimes result in higher-variance gradients than KL-based objectives. The authors suggest specific transformations to stabilize this, representing a trade-off for the added robustness.
  • Scaling to Massive Mixtures: While the $O(N^3)$ total cost is manageable for hundreds of components, very large-scale mixtures might require more advanced incremental matrix inversion techniques.

Summary updated

BibTeX
@inproceedings{campbell2019universal,
  author = {Trevor Campbell and Xinglong Li},
  title = {{Universal Boosting Variational Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure