Write the VAE ELBO and explain each term.
hardAnswer
- .
- Reconstruction term: how well the decoder reproduces x from a latent sampled by the encoder.
- KL term: pushes the encoder's posterior toward the prior p(z) (usually N(0, I)).
- Maximizing ELBO ≤ log p(x).
- The KL acts as regularizer — without it, VAE collapses to an autoencoder. β-VAE weights the KL term for disentanglement.
Check yourself — multiple choice
- Only reconstruction loss
- — reconstruction + regularizer toward prior
- Only KL divergence
- Same as GAN loss
VAE ELBO: reconstruction likelihood − .
#vae#generative#losses
Practise Deep Learning
214 interview questions in this topic.
Related questions
- What is the standard reconstruction loss for autoencoders?
- Write the vanilla GAN's minimax objective.
- What is perceptual loss and why is it better than pixel-wise for image quality?
- What does WGAN + gradient penalty change vs vanilla GAN?
- Why compute softmax + cross-entropy jointly via log-sum-exp?
- How should the output head be designed for a regression task with a strictly positive target?