Variational Bayes under Model Misspecification

Yixin Wang, David M. Blei

Introduction

In Bayesian statistics, practitioners typically assume that their chosen model family contains the "true" process that generated the data—a scenario known as a "well-specified" model. However, in reality, models are almost always simplifications. While strong theoretical guarantees exist for exact posterior inference under these "misspecified" conditions, similar guarantees have historically been lacking for Variational Bayes (VB).

VB is a popular, computationally efficient alternative to Markov chain Monte Carlo (MCMC) that frames inference as an optimization problem. Critics frequently note that VB is an approximation that tends to be "under-dispersed," meaning it is overly confident in its estimates. This paper investigates a critical question: If our model is fundamentally misspecified, does VB still function effectively? Furthermore, why does it often yield predictive results that are just as good as those from "exact" MCMC methods?

Theoretical Framework and Methods

The authors address this gap by extending the classical Bernstein–von Mises theorem—which describes the asymptotic behavior of posteriors as data approaches infinity—to the context of Variational Bayes under model misspecification.

Asymptotic convergence of the exact posterior and variational approximation

Key technical contributions include:

  • Asymptotic Analysis: The authors prove that the VB posterior $q^*(\theta)$ converges to a point mass at $\theta^*$. Here, $\theta^*$ is the parameter value that minimizes the Kullback-Leibler (KL) divergence between the model and the true data-generating distribution.
  • Variational Models: To accommodate complex models with "local" latent variables (variables that scale with the number of data points, such as topics in a document), they introduce a "variational model" framework. This approach reduces complex models to a simpler parametric form, facilitating theoretical analysis.
  • Error Decomposition: They mathematically decouple the "model misspecification error" (the distance between the best possible model and reality) from the "variational approximation error" (the distance between the VB approximation and the exact posterior).

Key Insights and Results

The theoretical analysis yields several profound insights into why VB performs well in practice:

  • The "Negligible Price" of Approximation: In the limit of infinite data, both the exact posterior and the VB posterior converge to the same point ($\theta^*$). Because point masses are inherently "factorizable," the structural constraints of VB (such as the mean-field assumption) eventually cease to matter.
  • Robust Predictions: A striking finding is that for posterior predictive distributions, the error introduced by the model being wrong vastly outweighs the error introduced by using an approximate inference method. This theoretical result validates the "folk wisdom" in machine learning that VB is "good enough" for prediction tasks.
  • Formal Guarantees: The paper formally establishes that the VB posterior is asymptotically normal and centers at the KL-minimizing parameter $\theta^*$. Furthermore, it shows that the variational approximation error vanishes relative to the model misspecification error as the dataset size $n \to \infty$.
  • Uncertainty Quantification Remains Challenging: While VB excels at prediction, the authors caution that neither VB nor exact MCMC provides reliable uncertainty quantification (e.g., credible intervals) when the model is misspecified. Being "exact" in inference does not compensate for being exactly wrong in modeling.

Empirical Validation

The authors validated their theoretical findings using two simulation studies with known "ground truths" but intentionally "wrong" models:

  1. Bayesian Generalized Linear Mixed Model (GLMM): Data was simulated from a Negative Binomial distribution but fitted using a Poisson model, representing a common form of "under-dispersion" misspecification.
  2. Latent Dirichlet Allocation (LDA): Documents were simulated using a 15-topic model, but the VB and MCMC algorithms were restricted to fitting them using only a 10-topic model (dimensionality misspecification).

In both experiments, VB and MCMC (specifically the No-U-Turn Sampler) achieved nearly identical proximity to the optimal $\theta^*$ and demonstrated comparable predictive log-likelihoods as the dataset size increased, perfectly mirroring the theoretical predictions.

Limitations and Future Directions

While providing a robust safety net for VB, the paper notes several areas for future exploration:

  • Global vs. Local Optima: The theoretical guarantees assume that the VB optimization (minimizing the Evidence Lower Bound, or ELBO) successfully finds a global optimum. In practice, VB often converges to local optima. Characterizing the behavior of these local optima is a crucial next step.
  • Parametric Focus: The current theory assumes that "global" parameters have a fixed, finite dimension. Extending these guarantees to non-parametric models or high-dimensional regimes where the number of parameters grows with $n$ remains an open challenge.
  • Optimization Guarantees: Combining these statistical convergence results with algorithmic optimization guarantees would yield a more comprehensive understanding of VB's reliability in real-world applications.

Summary updated

BibTeX
@inproceedings{wang2019variational,
  author = {Yixin Wang and David M. Blei},
  title = {{Variational Bayes under Model Misspecification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure