Google · ML & AI Fundamentals
Explain VAEs, ELBO, KL, and Reparameterization
TrueInterview
October 7, 2026 · 1 min read
Explain VAEs, the ELBO, the KL Term, and Reparameterization
Describe a variational autoencoder, derive the evidence lower bound, and explain why the objective contains a reconstruction term and a KL term. Explain the reparameterization trick and why it enables gradient-based training.
Constraints & Assumptions
- Use a latent-variable model , an encoder , and a decoder .
- State the prior over explicitly rather than leaving it implicit.
- Distinguish maximizing the ELBO from exactly maximizing the log evidence.
Clarifying Questions to Ask
- Which likelihood model defines reconstruction quality?
- What posterior family does the encoder produce?
- How is the KL term weighted in the stated variant?
Hint: Add and subtract the posterior. Write as the ELBO plus a nonnegative divergence from the approximate posterior to the true posterior.
What a Strong Answer Covers
- Encoder, decoder, prior, and generative story.
- ELBO derivation and the roles of reconstruction and regularization.
- Closed-form or estimated KL behavior and posterior collapse risk.
- Reparameterization as a deterministic noise transformation and gradient path.
Follow-up Questions
- What changes in a beta-VAE?
- Why can a powerful decoder ignore the latent variable?
Overview: Connect VAE components to the ELBO, reconstruction and KL terms, posterior approximation, reparameterized gradients, and collapse risk.
Loading comments…