Mathematics for AI and Machine Learning

Foundations for modern AI and machine learning

Stochastic Variational Inference

Chapter 16 Mathematics for AI

Chapter 16: Variational Inference and Latent Variables — Stochastic Variational Inference

Animated preview (GIF)
Stochastic Variational Inference — animated GIF preview
High-resolution PNG
Stochastic Variational Inference — high-resolution mind-map icon

From the book

Chapter 16: Variational Inference and Latent Variables. In the chapter mind map this icon labels Stochastic VI(SVI). The discussion below is excerpted and lightly edited from § Stochastic Variational Inference in Mathematics for AI and Machine Learning.

Latent variable models, variational inference, and the ELBO optimization

What this drawing shows

What you see. Green mini-batch and purple ELBO curve fixed; red stochastic gradient arrows grow sequentially from batch samples toward the objective.

In the mind map. Chapter 16 — Stochastic VI(SVI). 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 Stochastic VI(SVI).