Abstract: When factorized approximations are used for variational inference (VI), they tend to underestimate the uncertainty -- as measured in various ways -- of the distributions they are meant to approximate. We consider two popular ways to measure the uncertainty deficit of VI: (i) the degree to which it underestimates the componentwise variance, and (ii) the degree to which it underestimates the entropy. To better understand these effects, and the relationship between them, we examine an informative setting where they can be explicitly (and elegantly) analyzed: the approximation of a Gaussian, $p$, with a dense covariance matrix, by a Gaussian, $q$, with a diagonal covariance matrix. We prove that $q$ always underestimates both the componentwise variance and the entropy of $p$, though not necessarily to the same degree. Moreover we demonstrate that the entropy of $q$ is determined by the trade-off of two competing forces: it is decreased by the shrinkage of its componentwise variances (our first measure of uncertainty) but it is increased by the factorized approximation which delinks the nodes in the graphical model of $p$. We study various manifestations of this trade-off, notably one where, as the dimension of the problem grows, the per-component entropy gap between $p$ and $q$ becomes vanishingly small even though $q$ underestimates every componentwise variance by a constant multiplicative factor. We also use the shrinkage-delinkage trade-off to bound the entropy gap in terms of the problem dimension and the condition number of the correlation matrix of $p$. Finally we present empirical results on both Gaussian and non-Gaussian targets, the former to validate our analysis and the latter to explore its limitations.
Introduction
Factorized Variational Inference (VI), specifically Mean-Field VI, is a staple of modern Bayesian machine learning due to its scalability. However, it is notorious for being "overconfident," producing approximations that are significantly more compact than the true posterior. While this underestimation of uncertainty is well-documented empirically, the mathematical relationship between individual marginal variances and total joint uncertainty (entropy) has remained under-explored. This paper introduces the "shrinkage-delinkage trade-off" to provide a rigorous foundation for these observations.
The Shrinkage-Delinkage Framework
The core of the analysis focuses on approximating a multivariate Gaussian $p$ (with a dense covariance matrix) using a factorized Gaussian $q$ (with a diagonal covariance matrix). The authors decompose the resulting entropy gap—the difference in uncertainty between the truth and the approximation—into two competing forces:
- Shrinkage: To minimize the Kullback-Leibler (KL) divergence, the approximation must "shrink" its marginal variances to avoid regions of low probability in the target. This effect decreases entropy.
- Delinkage: By assuming independence between variables, the approximation "delinks" the nodes in the graphical model. In a Gaussian setting, ignoring correlations increases the volume (entropy) of the approximating shape relative to a correlated one of the same scale.
Key Theoretical Insights
KL Divergence as the Entropy Gap
For Gaussian targets, the authors prove that the KL divergence—the objective function VI minimizes—is exactly equal to the entropy gap $H(p) - H(q)$. This implies that VI is explicitly designed to match the total volume (entropy) of the target, even if it must sacrifice the accuracy of individual marginal variances to do so.
The Vanishing Entropy Gap
One of the most surprising findings is that in high dimensions ($n \to \infty$) with constant correlation, the per-component entropy gap can vanish. This occurs even though the approximation continues to underestimate every single individual variance by a constant factor. In this limit, the "delinkage" effect perfectly compensates for the "shrinkage" effect.
The "Compactness" Illusion
Visualizations in 2D often make the VI approximation look much smaller than the target. However, the authors argue this is a low-dimensional illusion. In high dimensions, the "approximating sphere" gains volume much faster than the "target ellipse," making the joint uncertainty estimate far more accurate than 2D plots suggest.
Empirical Results and Limitations
The theory was validated using synthetic Gaussian targets and real-world Bayesian models from PosteriorDB (e.g., hierarchical models and Gaussian processes). For Gaussian targets, the inequalities $\text{Var}_q(z_i) \le \text{Var}_p(z_i)$ and $H(q) \le H(p)$ were proven to always hold.
In non-Gaussian settings, these patterns generally persist as robust heuristics, though they are not absolute laws. For example, in highly multi-modal distributions, VI may collapse to a single mode, leading to extreme variance underestimation that exceeds the predictions of the Gaussian-based theory. Future work may extend this analysis to more complex approximating families, such as low-rank plus diagonal structures, to further refine our understanding of uncertainty in variational methods.
Summary updated