The target is a bivariate Gaussian with zero mean, unit variances and correlation . A mean-field approximation is fitted by minimising . What are the factor variances, and why are they much smaller than the true marginal variances?
Probabilistic models, Variational inference
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you know that minimising with a factorised gives variances , and can explain why this under-covers.
Key idea
The mean-field update gives where is the precision matrix. The conditional variance is below the marginal variance whenever the variables are correlated.
Steps
- The covariance is . Its inverse is . With , we get .
- . Average over in the update, keeping only terms in : .
- This is a Gaussian in with precision and mean . By symmetry the same holds for . The fixed point is the true mean 0.
- Variance of each factor: , with standard deviation . The true marginal variance is 1.
- Why: the reverse KL heavily penalises any mass that puts where has almost none (it would be infinite where ). The target is a thin ridge along the diagonal, and an axis-aligned must stay narrow to avoid leaving the ridge. So ends up with the conditional variance, not the marginal variance.
- Consequence: mean-field posteriors are over-confident. The means are right here, but credible intervals are too narrow, and the stronger the correlation, the worse it gets.
Common mistakes
- Saying the means are wrong. For a Gaussian target the mean-field means are exact.
- Using instead of for the variance of the factor.
- Confusing the direction: would give the marginal variances, whereas is the zero-forcing (mode-seeking) direction.
How long your answer should be
Half a page to a page.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: Derive the log marginal likelihood of a GP regression model with , , and its gradient with respect to a kernel hyperparameter . How do the data-fit and complexity terms trade off as the length-scale grows?
Next in Probabilistic models: Two chains, each with post-burn-in draws of a scalar, give and . Compute the Gelman–Rubin and say what it indicates. Why is still not a proof of convergence?