Variational inference
What it is
Turns intractable posterior integration into optimization by fitting a tractable approximation.
When to use it
Bayesian models too big for MCMC, and the machinery behind VAEs and diffusion samplers.
Caveats
The approximation is limited by the chosen family; mean-field ignores correlations and typically underestimates uncertainty. The ELBO is non-convex, and its value does not tell you how far you are from the true posterior.
Key ideas
- Turns Bayesian inference into optimization
- Picks the member of a simple family closest to the true posterior by maximizing the ELBO
- Much faster than MCMC, and scales to large data with stochastic gradients
Related architectures
Original paper
Variational Inference: A Review for Statisticians (2017, DOI)