Paper commentary
Wasserstein Generative Adversarial Networks
Wasserstein GANs train a critic to estimate Earth-Mover distance
- Problem Likelihood-based generators need the data to have a density. Distributions on low-dimensional manifolds often have none, so the KL divergence is undefined.
- Method WGAN trains a critic to estimate the Earth-Mover distance, then updates the generator with it. Clipping the critic's weights to a fixed box keeps it Lipschitz.
- Results On LSUN-Bedrooms, the WGAN estimate of the EM distance falls as sample quality improves, unlike the JS estimate, which often stays near log 2.
Why density models break on low-dimensional data
Likelihood-based generators fit a parametric density by maximizing the likelihood of the real examples. That only works when the model has a density, and a distribution on a low-dimensional manifold often has none. The model manifold rarely overlaps the true support in a non-negligible way, so the KL divergence is undefined or infinite. Maximizing likelihood then amounts to minimizing KL(Pr‖Pθ), which the paper only treats as meaningful when the model density exists.
The usual remedy adds a noise term to the model distribution, which is why most classical generative models carry one. That noise has to be large: the optimal standard deviation reported for likelihood models is around 0.1 per pixel on images scaled to [0, 1]. The noise degrades sample quality and makes images blurry, so the fix that makes likelihood training work is itself wrong for the task.
Authors who report sample images don't add that noise term, even though they report likelihood numbers with it.
The alternative skips the density and pushes a fixed prior z through a parametric function g_θ that generates samples directly. Such a model can represent distributions confined to a low-dimensional manifold, and generating samples from it is easy. VAEs and GANs both take this route, but VAEs still need additional noise terms because they focus on approximate likelihood.
GAN training is delicate and unstable, which is why the paper turns to the choice of distance next.
Choosing a distance that still gives a signal
The authors compare distances by how easily they let a sequence of distributions converge. A weaker distance makes it easier to keep the map from θ to P_θ continuous, which is what optimization needs. Their main candidate is the Earth-Mover (EM) distance, the cost of the optimal transport plan between P_r and P_g. It is the infimum of the expected value of ||x-y|| over all joint distributions whose marginals are P_r and P_g.
Example 1 makes the contrast concrete with P_θ, the law of (θ, Z), which is a vertical line shifted by θ. Here W(P_0, P_θ) equals |θ|, while the JS divergence equals log 2 for every nonzero θ. So as θ goes to zero, the EM distance goes to zero with a usable gradient. The JS, KL and TV divergences don't converge in that case, so gradient descent on them can't learn the line.
Theorem 1 says W(P_r, P_θ) is continuous in θ whenever g_θ is continuous in θ. Corollary 1 extends this to feedforward networks with a prior whose expected norm is finite. With that prior, the loss is continuous everywhere and differentiable almost everywhere. The same continuity statements fail for the JS divergence and the KL divergences.
Theorem 2 orders the topologies, with KL the strongest, then JS and TV, and EM the weakest. On a compact space, convergence under the total variation or JS distance implies convergence under EM. That makes EM the sensible cost when the target lies on a low-dimensional manifold. The later Wasserstein GAN section then turns this distance into a trainable critic with the Kantorovich-Rubinstein duality.
Turning the distance into a trainable critic
The EM definition has an infimum over joint distributions, and that infimum is highly intractable. WGAN gets around it with the Kantorovich-Rubinstein duality, which turns the distance into a supremum over 1-Lipschitz functions. The duality writes W(P_r, P_θ) as the expectation of f under P_r minus its expectation under P_θ, maximized over f.
If the family is K-Lipschitz instead, the estimate is only scaled by K, so a bounded family of networks gives the distance up to a constant. The authors call the attainment of the supremum a pretty strong assumption, similar to the one behind consistency of an estimator.
The critic f_w is a network with weights w, trained to maximize the mean of f_w on real samples minus its mean on generated samples. The generator then receives the gradient of the critic's average output on generated samples, which is how the critic steers it. Weights are kept in a compact set W, so every f_w is K-Lipschitz for a K that depends only on W, not on the individual weights.
Weight clipping does this by clamping each weight to a fixed box, for example W = [-0.01, 0.01], after each gradient update.
Each round starts with the critic, which samples a real batch and a prior batch, takes an RMSProp step on w, and then clips w. After n_critic such critic steps, the generator takes one RMSProp step on a fresh batch of prior samples. All experiments used α = 0.00005, c = 0.01, m = 64 and n_critic = 5. Because the critic is trained several times per generator step, the generator's loss is an estimate of the EM distance rather than a separate objective.
Theorem 3 says a maximizing f exists and that the gradient of W with respect to θ equals minus the expected gradient of f over generated samples. That gradient result holds when both terms are well-defined. The authors use this theorem to justify backpropagating through the critic, so the generator is trained on a principled signal under the optimality assumption.
Why the critic can be trained to optimality
The authors argue the critic should be trained to optimality, because the EM distance is continuous and differentiable almost everywhere. The more the critic is trained, the more reliable its gradient of the Wasserstein distance becomes. Training the critic to the end doesn't break down the way a discriminator can, which is the contrast the paper draws next.
For the JS divergence, a better discriminator gives more reliable gradients, but the true gradient is zero where JS is locally saturated. The authors point to Figure 1 and Theorem 2.4 of Arjovsky & Bottou (2017) for this vanishing-gradient behaviour. In the two-Gaussian example of Figure 3, the GAN discriminator learns very quickly to tell fake from real.
As a result, the discriminator provides no reliable gradient information.
The authors also argue that training the critic to optimality makes mode collapse impossible. That account traces back to Goodfellow et al. (2014) and Metz et al. (2016). The paper's next section then tests these benefits against traditional GANs in practice.
Does the loss track sample quality?
The authors ran image generation experiments on LSUN-Bedrooms to check whether the loss follows sample quality. The generated samples are 3-channel images of 64x64 pixels. They used the hyper-parameters specified in Algorithm 1 for all experiments. The generator was either a DCGAN or a 4-layer ReLU-MLP with 512 hidden units, and the critic was a DCGAN without the sigmoid.
The training curves were median-filtered for display.
For the WGAN, the loss is an estimate of the EM distance, because the critic is trained relatively well before each generator update. Figure 4 shows that the WGAN estimate of the EM distance falls as sample quality improves for the MLP and DCGAN generators. They describe this as the first time such a convergence property of a GAN loss has been shown.
In Figure 5, the standard GAN estimate is the discriminator objective L plus log 2, halved, and this is a lower bound on the JS distance. This JS estimate often stays near log 2, about 0.69, which is the highest value the JS distance takes. For the DCGAN generator, samples improved while the JS estimate increased or stayed constant.
The authors say the loss is useful for debugging and hyperparameter searches, since one needn't inspect samples to spot failure modes. They don't claim the loss is yet a quantitative evaluation method for generative models. The constant scaling factor depends on the critic's architecture, so models with different critics are hard to compare.
Generator architectures that break standard GAN training
On the mixture of eight Gaussians spread in a circle, WGAN approximately recovers the target distribution without mode collapse. The authors note that WGAN first matches the low-dimensional structure of the circle before it fits the individual bumps. The authors describe the same behaviour as a property of the Wasserstein distance, which gives more weight to matching low-dimensional supports than to exact density ratios.
The architecture study compares three generators: a DCGAN, a DCGAN without batch normalization and with constant filters, and a four-layer ReLU-MLP with 512 hidden units. The critic or discriminator keeps the DCGAN architecture in all three cases. WGAN still produced samples from that same weakened generator.
With the MLP generator, WGAN samples were of lower quality than DCGAN but higher than those of the standard GAN MLP. The standard GAN MLP showed significant mode collapse. These comparisons rest on sample grids, and the paper reports no score for them.
The authors saw no evidence of mode collapse for WGAN in any of their experiments. They kept the samples uncherry-picked, and they refer to Appendix H for full sheets of generated samples.
Limits of the optimizer and the loss metric
WGAN training became unstable at times when a momentum-based optimizer was used on the critic, or when high learning rates were used. The momentum-based optimizer in question is Adam (Kingma & Ba, 2014) with β1 > 0, applied to the critic. The authors note that the loss for the critic is nonstationary, and that momentum-based methods seemed to perform worse in this setting.
They report that the cosine was negative only in these unstable situations.
The loss metric is an estimate of the EM distance only up to a constant factor set by the Lipschitz constant of the critic. That constant scaling factor depends on the critic's architecture, which makes it hard to compare models that use different critics. The critic doesn't have infinite capacity, so it is hard to know how close the estimate is to the EM distance.
The authors still used the loss metric to validate their experiments repeatedly and without failure.
The Lipschitz constraint is enforced by clamping the critic weights to a fixed box, for example W = [−0.01, 0.01]^l, after each gradient update. The paper's experiments cover only LSUN-Bedrooms and the mixture of eight Gaussians. The authors don't test other ways of enforcing the Lipschitz constraint than weight clipping.
Paper info
- Authors
- Martin Arjovsky, Soumith Chintala, Léon Bottou
- Venue
- International Conference on Machine Learning · Published
- First published
- 2017-7-17
- Added
- 2026-11-11
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Martin Arjovsky, Soumith Chintala, Léon Bottou (2017). Wasserstein Generative Adversarial Networks. International Conference on Machine Learning. https://proceedings.mlr.press/v70/arjovsky17a.html
BibTeX
@article{arjovsky2017wasserstein,
title = {{Wasserstein Generative Adversarial Networks}},
author = {Martin Arjovsky and Soumith Chintala and Léon Bottou},
year = {2017},
journal = {International Conference on Machine Learning},
url = {https://proceedings.mlr.press/v70/arjovsky17a.html}
}