Paper commentary
Towards Principled Methods for Training Generative Adversarial Networks
Smoothing discriminator inputs with noise is proposed to stabilize GAN training
- Problem A stronger discriminator makes GAN generator updates worse, and training stays unstable. The discriminator's gradient vanishes when the real and generated distributions do not overlap.
- Method The authors add continuous noise to discriminator inputs, so both distributions gain densities. Generator updates then use noisy samples, which gives them a set of positive measure to act on.
- Results The authors prove the noiseless Wasserstein distance is bounded by a noise term plus a noisy JSD term.
Why generator updates degrade
A GAN trains two networks against each other: the discriminator learns to tell real samples from generated ones, and the generator is then updated through the discriminator's signal. In theory, a near-optimal discriminator makes the generator's cost track the Jensen-Shannon divergence, so the discriminator should be trained as far as possible before each generator step.
In practice, however, a stronger discriminator makes the generator's updates worse.
The original GAN work blamed saturation and switched to a different generator cost, but updates still degrade and optimization stays unstable under that cost too. That leaves four questions: why updates degrade under both costs, why training is unstable, whether the new cost follows a similar divergence, and whether these issues can be avoided.
Why the discriminator becomes perfect
The generator is a neural network g that maps a prior sample z to a point in data space, so the generator distribution lives on the image g(Z) of the prior's domain. When the prior has lower dimension than the data space, which is the usual case, that image sits on low dimensional manifolds and has measure zero in the data space.
Take first the case where the two supports are disjoint compact sets M and P with positive distance δ between them. The authors thicken each set to a neighbourhood of radius δ/3, which keeps the two neighbourhoods disjoint, and then use a smooth function that equals 1 on one and 0 on the other. That function is an optimal discriminator with accuracy 1, and its input gradient is zero on both supports, so it gives the generator nothing to learn from.
The experiment behind this is Figure 1, where a DCGAN generator is fixed and a discriminator is trained from scratch. Its error falls to 0 within very few iterations, even after 25 epochs when the samples look good, and its accuracy reaches 1 in sometimes less than 50 iterations. The authors read this as a sign that the two distributions are not absolutely continuous, which is what the theory predicts.
Disjoint supports are not required: Theorem 2.2 covers two closed manifolds that do not perfectly align and do not have full dimension. Perfect alignment means two manifolds fail to intersect transversally at some common point, and Lemma 2 shows that small random perturbations make this happen with probability 1. Under that condition the optimal discriminator is smooth with zero gradient almost everywhere on both manifolds.
Theorem 2.3 then says the JSD equals log 2 and both KL divergences are infinite, even when the manifolds lie arbitrarily close.
Vanishing gradients under the original cost
The authors measure how far the trained discriminator D is from the optimal D* using a norm that combines the supremum of the values and of the input gradients. Theorem 2.4 bounds the gradient of the generator's objective when the discriminator is within ε of D* and the Jacobian of the generator is bounded by M. The bound is \[\|\nabla_\theta \mathbb{E}_{z}[\log(1-D(g_\theta(z)))]\|_2 < M\frac{\epsilon}{1-\epsilon}\], so the gradient goes to zero as D approaches D*.
Figure 2 tests this with a fixed DCGAN generator and a discriminator trained from scratch under the original cost. The gradient norms decay quickly, and in the best case they fall by 5 orders of magnitude after 4000 discriminator iterations. So a more accurate discriminator yields a vanishing generator signal, which leaves only two options: inaccurate discriminator updates or none at all.
What the −log D update optimizes
To avoid vanishing gradients when the discriminator is very confident, practitioners switched the generator step to the −log D cost.
The reverse KL term penalizes fake-looking samples only weakly and mode dropping heavily, while the JSD term enters with the opposite sign and pushes the distributions apart. This matches the behaviour seen in practice, where stabilized GANs give good-looking samples but still drop modes. The proof rewrites the reverse KL through D* evaluated at θ0, then subtracts the known JSD gradient from the original cost.
Why −log D updates become unstable
Under that model each coordinate of the expected −log D update is a centered Cauchy variable, with infinite expectation and variance. Even if the updates are bounded, their expectation stays at zero, so they give no useful direction to the generator.
Figure 3 checks this on a DCGAN with a fixed generator, where the gradient norm grows as the discriminator approaches optimality. The noise in the curves also grows, and every stage except convergence gives lower sample quality. The authors concede that the decorrelation assumption between the noise in D and in its gradient is too strong, so this experiment only suggests the theorem's behaviour.
Smoothing the discriminator input with noise
The authors add continuous noise to the discriminator's inputs, so the probability mass is spread out and the earlier obstacles to gradients no longer hold. Theorem 3.1 states that if the noise ε has a density, then X plus ε also has a density, given by averaging the noise density over the support of X. \[P_{X+\epsilon}(x)=\mathbb{E}_{y\sim P_X}[P_\epsilon(x-y)]\]
For Gaussian noise, the density at x becomes proportional to a weighted average of exp of minus the squared distance from x to points of the support. So the density is larger near points of high data probability, and the noise covariance chooses which notion of distance is used. Theorem 3.2 then writes the generator's gradient as a difference between a weighted pull toward the data and a weighted push away from the generated samples.
If the generator is updated only on exact samples g(z), the discriminator can ignore errors on that measure-zero set, and it becomes open to adversarial examples. So the authors also back-propagate through noisy generator samples, which gives the generator's update a set of positive measure to act on. With that change, Corollary 3.2 shows the expected update equals twice the gradient of the JSD between the two noisy distributions.
A Wasserstein bound that stays informative
The JSD between a distribution and its noisy version stays maxed out whatever the noise amount, so it can't track how close the two distributions are. The Wasserstein distance, defined as the minimal transport cost over couplings, does shrink smoothly as the noise variance goes down. Lemma 4 gives \[W(P_X,P_{X+\epsilon})\le V^{1/2}\] for zero-mean noise with variance V, and the proof uses a coupling and Jensen's inequality.
Theorem 3.3 bounds the distance between the noiseless distributions by a term in V^(1/2) plus a term in the square root of the JSD between the noisy distributions. \[W(P_r,P_g)\le 2V^{1/2}+2C\sqrt{\mathrm{JSD}(P_{r+\epsilon}\|P_{g+\epsilon})}\] The proof chains the triangle inequality through the mixture of the two noisy distributions, uses total variation, and then applies Pinsker's inequality.
Because the noisy distributions are continuous, the discriminator can be trained to optimality without the usual schedule problems. The bound needs the noisy distributions to be supported on a ball of diameter C, and the authors note that Gaussian noise breaks this condition unless it is clipped.
Limitations
The experiments in the text are DCGAN checks of discriminator error and generator gradient norms, shown in Figures 1 to 3.
The impossibility results rest on the supports being disjoint or on manifolds that don't perfectly align, and on the continuity of the distributions on them. Lemma 1 covers only compositions of affine maps with the listed nonlinearities, and the decorrelation assumption behind the Cauchy result is too strong by the authors' own account.
Paper info
- Authors
- Arjovsky, Martin, Bottou, Léon
- Venue
- arXiv · Preprint
- First published
- 2017-1-17
- Added
- 2026-11-12
- Updated
- 2017-1-17
- Version
- v1
- arXiv
- 1701.04862
- Category
- stat.ML · cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- 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
Arjovsky, Martin, Bottou, Léon (2017). Towards Principled Methods for Training Generative Adversarial Networks. arXiv:1701.04862v1. https://arxiv.org/abs/1701.04862v1
BibTeX
@misc{martin2017towards,
title = {{Towards Principled Methods for Training Generative Adversarial Networks}},
author = {Arjovsky, Martin and Bottou, Léon},
year = {2017},
eprint = {1701.04862},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1701.04862v1}
}