Paper Breakdown
Variational Auto-Encoders (VAE) Explained
A layman's guide to the Kingma & Welling paper that revolutionized generative AI and became the foundation for models like Stable Diffusion.
Introduction & Problem Scenario
The central question, generative model setup, and the three intractability problems.
The Variational Bound (ELBO)
The mathematical derivation of the variational lower bound — Equations (1), (2), (3).
SGVB Estimator & AEVB Algorithm
The practical estimator that makes VAE training possible — Equations (5), (6), (7), (8).
The Reparameterization Trick
The key innovation that enables backpropagation through sampling — Equation (4).
VAE Example: Neural Network Implementation
The concrete implementation using MLPs — Equations (9), (10) and PyTorch code.
Related Work & Experiments
Connections to Wake-Sleep, experimental results on MNIST and Frey Face.
Appendix: Mathematical Details
KL divergence derivation for Gaussians (Appendix B) and MLP specifications (Appendix C).