Compare VAEs, GANs and diffusion models on training objective, sample quality, mode coverage, likelihood evaluation and sampling speed.
Answer
Model answer, written in a candidate's voice
In short
- VAE: maximise ELBO, a tractable lower bound on likelihood; fast one-pass sampling; often blurrier samples; decent mode coverage but can average modes.
- GAN: adversarial min-max between generator and discriminator; sharp samples; no tractable likelihood; unstable training and mode collapse risk.
- Diffusion: denoising/score-matching objective; strong quality and coverage; likelihood only via expensive ODE/bound estimates; slow iterative sampling, improved by distillation/few-step samplers and latent diffusion.
- Evaluation: FID/perceptual metrics for quality and diversity, likelihood/ELBO for density; no single metric captures all three.
In full
The core trade-off is density modelling versus perceptual realism. VAEs train by maximising an ELBO, a tractable lower bound on log-likelihood, so they are principled for density estimation and sample in one forward pass, but the Gaussian/averaged reconstruction often yields blurrier samples. GANs train with an adversarial min-max objective and can produce very sharp samples in one pass, but they give no tractable likelihood and are prone to instability and mode collapse, so sharpness does not guarantee coverage. Diffusion models train by denoising or score matching and generally give the strongest perceptual quality and mode coverage, but sampling is iterative and slow; distillation, few-step samplers, and latent diffusion reduce cost rather than remove the trade-off. For evaluation, FID and related perceptual/diversity metrics are usually more informative for sample quality, while likelihood is useful for density but is only a bound for VAEs, unavailable for GANs, and expensive/approximate for diffusion. In practice I would choose VAEs when a tractable bound and fast sampling matter, GANs when sharp one-pass generation matters and coverage can be monitored, and diffusion when quality and coverage are paramount and compute is available.
What a strong answer covers
- VAE: ELBO objective, a tractable bound, blurrier samples.
- GAN: adversarial min-max, sharp samples, mode collapse, no likelihood.
- Diffusion: denoising or score matching, strong quality and coverage, slow iterative sampling (distillation and few-step samplers help); latent diffusion.
- Evaluation: FID vs likelihood.
Common mistakes
- Claiming GANs give likelihoods.
- Ignoring the cost of diffusion sampling.