Variational inference

Probabilistic & graphical · classical · 1999 · tabular · any domain

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)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted