Variational Inference (VI) has long been the "fast" alternative to Markov Chain Monte Carlo (MCMC) for Bayesian posterior estimation. By turning integration into optimization, VI allows us to scale Bayesian methods to massive datasets. However, standard VI often struggles when the model isn't "conjugate"—meaning the math doesn't simplify into neat, closed-form updates.
In this paper, Mohammad Emtiyaz Khan and colleagues introduce a framework that uses proximal optimization to make non-conjugate inference as easy as the conjugate case, all while respecting the underlying geometry of the probability distributions.
TL;DR
The authors propose a new variational inference method that uses the Kullback-Leibler (KL) divergence as a "proximal term" in the optimization objective. This framework proves that natural gradient descent is actually a specific type of proximal algorithm and provides a powerful "splitting" technique to solve complex, non-conjugate models using simple, closed-form updates.
What Problem Does This Paper Address?
In Bayesian inference, we want to find the posterior distribution $p(z|y)$. Variational Inference approximates this by maximizing the Evidence Lower Bound (ELBO).
For "conditionally-conjugate" models, this is straightforward; the math works out such that we can update parameters analytically. But for "non-conjugate" models (like a Gaussian Process with a Logistic likelihood), the ELBO becomes a nightmare to optimize. Existing solutions either ignore the "geometry" of the distribution (how a small change in parameters might cause a huge change in the actual distribution) or use complex Taylor expansions that aren't "tight," leading to poor approximations.
Methods
The authors introduce two main algorithmic contributions based on Proximal Point theory:
- KL Proximal-Point Algorithm: They show that by adding a KL-divergence penalty to the ELBO optimization, the resulting steps are equivalent to Natural Gradient Descent. This provides a new theoretical bridge between proximal optimization and information geometry.
- KL Proximal-Gradient (The Splitting Method): This is the practical breakthrough for difficult models. They split the ELBO into "easy" terms (conjugate) and "difficult" terms (non-conjugate).
- They linearize the difficult terms.
- Because they linearize the expectation of the difficult term (rather than the term inside the expectation), the approximation is "tight" at the current iteration.
- This converts a non-conjugate problem into a sequence of sub-problems that look exactly like conjugate models, which have well-known closed-form solutions.
Key Insights and Ideas
- Natural Gradients are Proximal Steps: The realization that a step along the natural gradient is mathematically equivalent to a KL-proximal step is a major "aha" moment. It justifies why natural gradients work so well: they are essentially keeping the update "close" to the previous distribution in a way that respects probability space.
- Tightness Matters: Many previous methods approximated the log-likelihood before taking the expectation. By linearizing the expected log-likelihood, this method ensures the surrogate objective is perfectly accurate at the current parameter value, leading to more stable convergence.
- The Kernel Trick Lives On: For Gaussian Processes, the authors show their proximal updates can be "kernelized." This allows them to avoid expensive $D \times D$ matrix operations when the number of features is much larger than the number of data points.
Key Results
The authors evaluated their method on several standard benchmarks from the LIBSVM and UCI repositories, including Bayesian Logistic Regression and Gaussian Process (GP) Classification/Regression.
- Speed: On the
a1adataset, the Proximal method was nearly 2x faster than the Cholesky-based VI method while achieving the same accuracy.
- Accuracy: In GP classification and regression tasks, the Proximal method consistently matched or slightly outperformed Expectation Propagation (EP), which is often considered the gold standard for accuracy in these models but is notoriously difficult to implement and can be numerically unstable.
- Simplicity: Unlike EP or Laplace approximations, the proximal framework provides a unified way to handle different likelihoods (Logistic, Laplace, etc.) without redesigning the entire algorithm from scratch.
Limitations and Future Work
While the paper presents a robust framework, a few areas remain for exploration:
- Stochasticity: The current version is batch-oriented. While the authors mention that stochastic approximations (SVI) are possible, they don't focus on them in the experimental section.
- Step-Size Tuning: The algorithm relies on a step-size sequence ($\beta_k$). The authors used fixed step sizes in their experiments, but they note that a formal line-search method for proximal-gradient VI would be a valuable future contribution.
- Distributed Systems: The "splitting" nature of the algorithm makes it a prime candidate for distributed or parallel optimization, which the authors suggest as a promising direction.
Summary updated