Variational Family

Chapter 16 Probability & information

Chapter 16: Variational Inference and Latent Variables — Variational Family

From the book

Chapter 16: Variational Inference and Latent Variables. In the chapter mind map this icon labels **Formulations: Variational Family $q(\mathbf{z})$. The discussion below is excerpted and lightly edited from § Variational Family** in Mathematics for AI and Machine Learning.

The variational family $\mathcal{Q}$ sets the trade-off between accuracy and cost. The mean field family $q(\mathbf z) = \prod_{i=0}^{k-1} q_i(z_i)$ factorizes over the coordinates; a Gaussian $\mathcal{N}(\mathbf z | \boldsymbol\mu, \boldsymbol\Sigma)$ captures linear correlations with $O(k^2)$ parameters for a full covariance, or $2k$ for a diagonal one; and in a VAE a neural network outputs the parameters for every input, $q_{\boldsymbol\phi}(\mathbf z | \mathbf x) = \mathcal{N}(\mathbf z | \boldsymbol\mu_{\boldsymbol\phi}(\mathbf x), \boldsymbol\Sigma_{\boldsymbol\phi}(\mathbf x))$.

What this drawing shows

What you see. Candidate $q_\phi(z)$ curves fixed; highlight cycles across family members until one approximation becomes solid with filled support.

In the mind map. Chapter 16 — Formulations: Variational Family. See From the book above for definitions, figures, and worked examples.

Where to read next

Open Chapter 16 companion →

Read the full definitions, figures, and worked examples in Chapter 16: Variational Inference and Latent Variables — see the mind-map node Formulations: Variational Family.

PNG Icons

Textless (256×256 px)
PNG 256×256 px Copy PNG URL
Textless (64×64 px)
PNG 64×64 px Copy PNG URL
Textless (32×32 px)
PNG 32×32 px Copy PNG URL

Animated GIFs

Animated GIF (256×256 px)
GIF 256×256 px Copy GIF URL
Animated GIF (128×128 px)
GIF 128×128 px Copy GIF URL
Animated GIF (64×64 px)
GIF 64×64 px Copy GIF URL