Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Diffusion Models In-Depth
·
Module 1
Foundations of Variational Inference
1
KL Divergence Between Gaussians
Derive the KL divergence between two Gaussian distributions and explain its asymmetry.
2
Deriving the Evidence Lower Bound (ELBO)
Derive the Evidence Lower Bound (ELBO) from the log-marginal likelihood using Jensen's inequality.
3
Reparameterization Trick for ELBO Optimization
Explain the reparameterization trick and why it enables gradient-based optimization of the ELBO.
4
VAE Loss Function: Reconstruction and KL Regularization
Derive the Variational Autoencoder (VAE) loss function as a combination of reconstruction loss and a KL regularization term.
5
Understanding VAE Failure Modes
Identify common failure modes of VAEs (e.g., posterior collapse, blurry outputs) and explain their underlying causes.
VAE Implementation in PyTorch for MNIST
Implement and train a VAE in PyTorch on the MNIST dataset.
7
KL Divergence Weight and VAE Trade-offs
Analyze the effect of the KL divergence weight on the trade-off between reconstruction fidelity and sample quality in a trained VAE.
Next module isn't ready yet,
Back to course
Previous module
Next module