First Order Generative Adversarial Networks

Calvin Seward, Thomas Unterthiner, Urs Bergmann, Nikolay Jetchev, Sepp Hochreiter

Abstract: GANs excel at learning high dimensional distributions, but they can update generator parameters in directions that do not correspond to the steepest descent direction of the objective. Prominent examples of problematic update directions include those used in both Goodfellow's original GAN and the WGAN-GP. To formally describe an optimal update direction, we introduce a theoretical framework which allows the derivation of requirements on both the divergence and corresponding method for determining an update direction, with these requirements guaranteeing unbiased mini-batch updates in the direction of steepest descent. We propose a novel divergence which approximates the Wasserstein distance while regularizing the critic's first order information. Together with an accompanying update direction, this divergence fulfills the requirements for unbiased steepest descent updates. We verify our method, the First Order GAN, with image generation on CelebA, LSUN and CIFAR-10 and set a new state of the art on the One Billion Word language generation task.

The Challenge of Stable GAN Training

Generative Adversarial Networks (GANs) are powerful but notoriously difficult to train. A primary reason for this instability is that the generator's update direction often doesn't align with the "steepest descent" of the objective function. In many popular frameworks, including the original GAN and the Wasserstein GAN with Gradient Penalty (WGAN-GP), the gradients used to update the generator can be undefined on the data manifold or point in suboptimal directions. This leads to slow convergence, mode collapse, or failure to learn distributions in high-dimensional spaces. For successful training, a "well-defined" and "low-variance" update rule is required to provide an unbiased estimate of the true gradient of the divergence.

First Order Penalized Wasserstein Divergence (FOGAN)

The authors propose a new class of adversarial divergence called the First Order Penalized Wasserstein Divergence (FOGAN). Their approach is built on four formal requirements:

  1. Equivalence to Wasserstein Distance: The divergence must be "weak" enough to handle disjoint distributions.
  2. Tractable Critic Learning: The set of admissible critic parameters must be convex to allow for efficient optimization.
  3. Well-Defined Update Rule: Gradients must exist and be unique everywhere on the support of the generated distribution.
  4. Low Variance: The update direction should be an unbiased estimate of the steepest descent.

To achieve this, they first define a Penalized Wasserstein Divergence (PWD) that uses a squared Lipschitz penalty. They then refine this into FOGAN by adding a specific "first-order" gradient penalty. This penalty ensures that the critic’s gradient not only exists but points directly toward the target distribution, effectively "shaping" the loss landscape to be more favorable for the generator. Unlike WGAN-GP, which requires sampling extra points between real and fake data to calculate a gradient penalty, FOGAN’s penalty is more theoretically grounded in the supports of the distributions themselves.

Comparison of update directions between a first-order critic and a normal critic.

Empirical Evaluation and Results

FOGAN was evaluated across several standard benchmarks, including image generation (CelebA, LSUN, CIFAR-10) and language generation (One Billion Word Benchmark).

  • State-of-the-Art Text Generation: FOGAN set a new record on the One Billion Word task, achieving a 6-gram Jensen-Shannon Divergence (JSD) of 0.556, significantly outperforming WGAN-GP (0.573).
  • Competitive Image Synthesis: On CelebA, FOGAN achieved an FID score of 6.0, and 11.4 on LSUN, proving competitive with state-of-the-art methods without requiring extensive hyperparameter tuning.
  • Faster Convergence: In wall-clock time comparisons, FOGAN converged faster than WGAN-GP. Because it avoids the interpolation sampling step, it can perform more training iterations in the same amount of time while maintaining a more stable gradient.
Wall-clock time comparison on the One Billion Word benchmark showing FOGAN's faster convergence.

Conclusion and Future Directions

FOGAN introduces a principled update rule by regularizing the critic's first-order information. While the current theoretical proofs rely on Assumption 2 (compact and disjoint supports), which might be stronger than strictly necessary in practice, the empirical results demonstrate significant stability gains. Future work may involve weakening these assumptions or applying this "gradient penalty trick" to other types of adversarial divergences beyond the Wasserstein distance. Despite the improved update rule, the challenge of finding a near-optimal critic during training remains a common hurdle for all GAN research.

Summary updated

BibTeX
@inproceedings{seward2018first,
  author = {Calvin Seward and Thomas Unterthiner and Urs Bergmann and Nikolay Jetchev and Sepp Hochreiter},
  title = {{First Order Generative Adversarial Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure