CHAPTER 21 / 40
Variational Inference and Generative Models
3 lessons · Explore, experiment and understand.
The ELBO, the reparameterization trick, and score matching are the three ideas behind variational autoencoders and the entire diffusion-model era — from Stable Diffusion to AlphaFold.
- VAE
- Stable Diffusion
- DDPM
- normalizing flows
- Step 92~10m13
The Evidence Lower Bound (ELBO)
The ELBO is the single objective that makes variational autoencoders, Bayesian deep learning, and most modern generative models trainable —…
Open lesson - Step 93~10m13
The Reparameterization Trick
The reparameterization trick is a one-line rewrite that converts the random sampling inside a VAE into a deterministic function plus externa…
Open lesson - Step 94~15m3D · 113★Most cinematic
Score Matching and Diffusion Models
The math behind diffusion models (Stable Diffusion, DALL-E) is just three pieces: a fixed forward noising process, a learned score function…
Open lesson