[Paper Review] Linear Response Methods for Accurate Covariance Estimates from Mean Field Variational Bayes
This paper introduces Linear Response Variational Bayes (LRVB), a method that corrects mean field variational Bayes (MFVB) by analytically estimating accurate posterior covariances using linear response theory from statistical physics. When the MFVB posterior is in the exponential family, LRVB computes a simple, scalable correction via a linear system on the MFVB solution, yielding uncertainty estimates nearly matching MCMC but orders of magnitude faster.
Mean field variational Bayes (MFVB) is a popular posterior approximation method due to its fast runtime on large-scale data sets. However, it is well known that a major failing of MFVB is that it underestimates the uncertainty of model variables (sometimes severely) and provides no information about model variable covariance. We generalize linear response methods from statistical physics to deliver accurate uncertainty estimates for model variables---both for individual variables and coherently across variables. We call our method linear response variational Bayes (LRVB). When the MFVB posterior approximation is in the exponential family, LRVB has a simple, analytic form, even for non-conjugate models. Indeed, we make no assumptions about the form of the true posterior. We demonstrate the accuracy and scalability of our method on a range of models for both simulated and real data.
Motivation & Objective
- To address the well-known limitation of mean field variational Bayes (MFVB) in underestimating posterior variances and ignoring variable covariances.
- To develop a general, computationally efficient method for accurate uncertainty quantification in large-scale Bayesian models.
- To extend linear response methods from statistical physics to exponential family variational posteriors without assuming conjugacy or specific posterior forms.
- To demonstrate that the method achieves MCMC-level accuracy in covariance estimation while maintaining MFVB's speed.
- To provide a practical, open-source implementation for broad adoption in real-world Bayesian inference.
Proposed method
- LRVB generalizes linear response theory from statistical physics to derive a correction for MFVB's posterior approximation.
- It formulates the covariance correction as a solution to a linear system based on the MFVB fixed-point solution and the Hessian of the variational objective.
- The method applies to MFVB posteriors in the exponential family, enabling analytic, closed-form corrections without requiring knowledge of the true posterior.
- Sparsity in the Hessian matrix is exploited to ensure scalability across large datasets and high-dimensional parameter spaces.
- The approach computes corrections by perturbing the MFVB fixed point, capturing both marginal variances and coherently estimated cross-variable covariances.
- The method is implemented via a suite of code and applied to diverse models, including Gaussian mixture models and MNIST digit clustering.
Experimental results
Research questions
- RQ1Can linear response theory be adapted to provide accurate, analytic covariance corrections for mean field variational Bayes in non-conjugate models?
- RQ2How does the accuracy of LRVB's uncertainty estimates compare to Markov Chain Monte Carlo (MCMC) in real and simulated data?
- RQ3What is the computational scaling of LRVB relative to MFVB and MCMC across different model sizes and data dimensions?
- RQ4Can LRVB reliably correct MFVB's systematic underestimation of posterior variance in challenging models like finite Gaussian mixtures?
- RQ5To what extent can LRVB maintain speed while achieving MCMC-level accuracy in uncertainty quantification?
Key findings
- LRVB produces covariance estimates that are nearly identical to those from MCMC, even when MFVB underestimates variances by orders of magnitude.
- On a finite Gaussian mixture model, LRVB achieved accurate covariance estimates over 100 times faster than MCMC, with linear scaling in data size and cubic scaling in parameter dimension.
- For the MNIST digit clustering task, LRVB enabled accurate uncertainty quantification on a 25-dimensional subspace with a test error rate of 8%, demonstrating feasibility on real-world data.
- The method’s computational efficiency stems from exploiting sparsity in the Hessian matrix, enabling scalable inference on large datasets.
- LRVB’s analytic correction formula is simple and directly computable from the MFVB solution, requiring no additional sampling or iterative refinement.
- The approach works without assumptions about the true posterior form, making it broadly applicable beyond conjugate models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.