Why do gradients of the original minimax GAN objective vanish when and have disjoint supports, what is mode collapse, and how does the Wasserstein-1 distance in WGAN fix both?
Deep learning, Generative adversarial networks
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you understand the geometric failure of Jensen–Shannon divergence on low-dimensional manifolds and how Kantorovich–Rubinstein duality yields usable gradients everywhere.
Key idea
Real images and generated images typically lie on low-dimensional manifolds that do not overlap early in training. On disjoint supports, identically, giving zero gradient to the generator; the Wasserstein-1 distance remains continuous and gives non-zero linear slopes even when supports do not overlap.
Steps
- Show why minimax gradients vanish: if , an optimal discriminator outputs on real data and on generated data, so (constant) regardless of how close the two manifolds are. The generator’s gradient vanishes (and even the non-saturating heuristic suffers from high variance or instability if is trained to optimality).
- Define mode collapse: the generator maps many different noise vectors to just a few high-scoring data modes (e.g. generating only one or two digits) to fool the current discriminator, sacrificing sample diversity.
- Introduce WGAN: replace with the Earth-Mover (Wasserstein-1) distance via Kantorovich–Rubinstein duality, , where the critic is constrained to be -Lipschitz ().
- Explain why WGAN helps both issues: because has bounded slope rather than saturating sigmoid logits, you can train the critic to near-optimality without killing generator gradients, providing a meaningful distance metric everywhere and reducing mode collapse. In practice, -Lipschitzness is enforced via a gradient penalty (WGAN-GP: penalising on interpolates ) rather than brittle weight clipping.
Common mistakes
- Saying WGAN uses a discriminator with a sigmoid output; a WGAN critic outputs an unbounded real score and has no sigmoid.
- Claiming weight clipping enforces exact -Lipschitzness smoothly; weight clipping forces weights to the box boundaries and harms critic capacity, which is why WGAN-GP replaced it.
How long your answer should be
Half to three-quarters of a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Deep learning: Why can a deterministic autoencoder not generate realistic new images by sampling from its latent space, and how does the VAE’s KL term fix this? What is posterior collapse in VAEs, when does it happen, and how do -VAE and KL annealing address it?
Next in Deep learning: In a denoising diffusion probabilistic model (DDPM), the forward process is . How do you derive the closed-form marginal with and , and why does predicting the noise match predicting the score ?