Abstract
This paper introduces a variational approximation framework using direct optimization of the scale-invariant Alpha-Beta divergence (sAB divergence). This new objective encompasses most variational objectives that use the Kullback-Leibler, the Rényi, or the gamma divergences, while also providing access to previously unexploited objective functions. Through two interpretable control parameters, the framework allows for a smooth interpolation over the divergence space, enabling a trade-off between properties such as mass-covering of a target distribution and robustness to outliers. Furthermore, the sAB variational objective can be optimized directly via Monte Carlo computation, leading to estimates of the divergence instead of variational lower bounds. The advantages of this objective are demonstrated on Bayesian models for regression problems.
Introduction
Variational Inference (VI) is a cornerstone of modern Bayesian machine learning, transforming posterior estimation into a manageable optimization problem. Traditionally, VI minimizes the Kullback-Leibler (KL) divergence between an approximate distribution $q$ and the true posterior $p$. However, this "standard" approach often forces a restrictive trade-off. Mean-field VI typically exhibits "mode-seeking" behavior, fitting the peaks of a distribution while underestimating the true variance. Conversely, other divergences might offer "mass-covering" properties but can be overly sensitive to outliers or noise in the data.
Researchers from University College London address these limitations by introducing a unified framework based on the scale-invariant Alpha-Beta (sAB) divergence. This approach allows practitioners to tune robustness and uncertainty coverage independently.
The Scale-Invariant Alpha-Beta Divergence
The core contribution of this work is the application of the sAB divergence to the VI framework. The sAB divergence is governed by two parameters, $\alpha$ and $\beta$, which allow it to smoothly interpolate between several well-known statistical measures.
As shown in the map above, specific parameter settings recover standard objectives:
- $\alpha=0, \beta=1$: Standard KL divergence.
- $\alpha+\beta=1$: Proportional to the Rényi divergence, which primarily controls mass-covering behavior.
- $\alpha=1$: Equivalent to the Gamma divergence, which is known for its robustness to outliers.
By parameterizing the divergence with $\lambda = \alpha + \beta$ (controlling robustness) and $\beta$ (controlling mass-covering), the framework provides independent control over these critical properties.
Direct Optimization and Scale Invariance
A significant advantage of the sAB divergence is its scale invariance. In standard VI, the marginal likelihood $p(X)$ is typically intractable, necessitating the maximization of a "Lower Bound" (the ELBO). In contrast, the scale-invariant nature of the sAB objective causes the $p(X)$ terms to cancel out during optimization. This allows for direct minimization of the divergence itself using Monte Carlo (MC) sampling and the "reparameterization trick," providing a more direct path to the optimal posterior approximation.
Experimental Results
The authors evaluated the sAB objective across synthetic and real-world regression tasks, focusing on its ability to handle corrupted data.
Synthetic Regression
In a 2D toy dataset with 5% corrupted data points, the sAB objective successfully ignored outliers, achieving a Mean Squared Error (MSE) of 0.21, significantly lower than the 0.53 achieved by standard KL-VI. The visual behaviors—ranging from mode-seeking to mass-covering and robust fits—are illustrated in the figure above.
UCI Benchmarks
On standard regression benchmarks (Boston Housing, Concrete, Yacht) from the UCI repository, the sAB objective consistently outperformed KL-VI, especially when noise was artificially added. For instance, on the Boston Housing dataset with 10% outliers, sAB achieved an RMSE of 1.07 compared to 1.13 for KL-VI. Even on clean data, the flexibility of the sAB framework allowed it to match or slightly exceed the performance of standard methods by selecting parameters better suited to the specific data distribution.
Discussion and Future Work
While the sAB divergence offers unprecedented flexibility, it introduces new hyperparameters ($\alpha$ and $\beta$) that require tuning, typically via cross-validation. Additionally, the method's reliance on Monte Carlo estimates introduces variance, which may increase computational costs for high-dimensional posteriors. Future research may focus on automatically learning optimal divergence parameters during the training process, further streamlining the application of this robust and flexible variational framework.
Summary updated