Two steps at a time --- taking GAN training in stride with Tseng's method

Axel Böhm, Michael Sedlmayer, Ernö Robert Csetnek, Radu Ioan BotOpenReview 2020

TL;DR

This paper tackles the notoriously tricky training of Generative Adversarial Networks (GANs) by reframing the problem as a monotone inclusion. They adapt the Forward-Backward-Forward (FBF) method, a technique from monotone operator theory, and introduce a variant that reuses past gradients to improve efficiency. Both methods achieve new theoretical convergence rates for GAN training, and empirically demonstrate superior performance on Wasserstein GANs compared to existing methods.

What Problem Does This Paper Address?

Training Generative Adversarial Networks (GANs) is notoriously difficult. At their core, GANs involve a generator and a discriminator locked in a competitive game, which can be formulated as a minimax (or saddle point) problem. Traditional methods like Gradient Descent Ascent (GDA) often suffer from oscillations and fail to converge, even for simpler problems. While some methods like Extragradient (EG) and Optimistic Gradient Descent Ascent (OGDA) have been proposed to address this, they have their own drawbacks, such as requiring multiple gradient evaluations per step or having limitations in their convergence guarantees. This paper aims to provide more robust and theoretically grounded methods for training GANs by leveraging the framework of monotone operator theory, which offers provable convergence guarantees for a broader class of problems, including those with nonsmooth regularizers.

Methods

The paper's core contribution lies in applying and extending methods from monotone operator theory to GAN training. Specifically:

  • Forward-Backward-Forward (FBF) Method: This method, originally designed for monotone inclusions, is adapted for GAN training. It uses two gradient evaluations per iteration to ensure convergence and avoid limit cycling, a common issue with simpler methods.
  • Forward-Backward-Forward with Past Gradients (FBFp): To mitigate the computational cost of two gradient evaluations, the authors propose a variant that reuses a gradient from a previous iteration. This approach is shown to be equivalent to Optimistic Gradient Descent Ascent (OGDA) in the unconstrained setting.
  • Unified Scheme: The paper presents a unifying algorithmic framework that encompasses both FBF and FBFp, allowing for a more general analysis.
  • Theoretical Convergence Rates: Novel non-asymptotic convergence rates are proven for both deterministic and stochastic settings. For the deterministic case, they achieve $\mathcal{O}(1/k)$, and for the stochastic case, $\mathcal{O}(1/\sqrt{k})$, measured in terms of a "gap function" that quantifies optimality.
  • Regularization: The authors highlight how their methods naturally handle nonsmooth regularizers (like L1-norm) through proximal operators, which is crucial for improving GAN performance. They propose using L1-regularization as an alternative to the standard weight clipping in Wasserstein GANs.

Datasets

  • CIFAR10: This dataset is used for training and evaluating the Wasserstein GAN models. The paper mentions using the standard 60,000 images (50,000 for training, 10,000 for testing).

Key Insights and Ideas

  • GANs as Monotone Inclusions: The paper successfully bridges the gap between GAN training and the well-established theory of monotone operator inclusions. This allows for the application of powerful theoretical tools with proven convergence guarantees.
  • FBF as a Robust GAN Trainer: The FBF method, with its two-step update and theoretical guarantees, offers a more stable and reliable alternative to traditional GDA-based methods for GAN training.
  • Gradient Recycling for Efficiency: The FBFp variant demonstrates that efficiency gains can be achieved by intelligently reusing past computations, without sacrificing theoretical convergence properties. This is a practical improvement for computationally intensive GAN training.
  • Nonsmooth Regularization Benefits: The paper strongly advocates for the use of nonsmooth regularizers (like L1-norm) in GANs, showing that they can lead to better performance and smoother training compared to hard constraints like weight clipping. This is facilitated by the proximal operator capabilities of the FBF framework.

Key Results

  • Theoretical Convergence: The paper proves new convergence rates for both deterministic ($\mathcal{O}(1/k)$) and stochastic ($\mathcal{O}(1/\sqrt{k})$) versions of their proposed methods (FBF and FBFp) for solving convex-concave minimax problems.
  • Empirical Improvements on WGANs: When applied to training Wasserstein GANs on CIFAR10, the FBF method (with Adam optimizer) consistently outperformed other methods, including standard GDA variants and Extragradient, in terms of both Inception Score (IS) and Fréchet Inception Distance (FID).
  • WGAN-L1 Performance: The proposed WGAN-L1 formulation, using L1-regularization instead of weight clipping, showed improved performance across all tested methods, leading to higher IS and lower FID. FBF Adam with WGAN-L1 yielded the best results.
  • Stabilized Training: The WGAN-L1 objective, in conjunction with the FBF method, resulted in a smoother and more stable training process, as visualized by the Inception Score progression.

Limitations and Future Work

  • Assumptions for Stochastic Setting: The theoretical guarantees for the stochastic setting rely on assumptions about the unbiasedness and bounded variance of the gradient estimator. While standard, these assumptions can be challenging to verify in practice for complex neural network models.
  • Step Size Constraints: While the paper provides theoretical bounds for step sizes, achieving optimal performance might still require careful tuning. The refined theorems show that larger step sizes are theoretically possible but come with worse constants in the convergence rates.
  • Generalization to Non-convex GANs: The theoretical guarantees are primarily for convex-concave minimax problems. While GANs are often non-convex in practice, the paper's empirical success suggests that these methods can still be beneficial. Future work could explore extending the theoretical analysis to non-convex settings.
  • Broader GAN Applications: The authors suggest that the FBF method could be fruitful for a wider range of GAN formulations, implying potential for further research in applying these techniques to other GAN architectures and tasks.

Summary updated

BibTeX
@misc{bohm2020two,
  author = {Axel Böhm and Michael Sedlmayer and Ernö Robert Csetnek and Radu Ioan Bot},
  title = {{Two steps at a time --- taking GAN training in stride with Tseng's method}},
  year = {2020},
  url = {https://openreview.net/forum?id=Yj4mmVB_l6},
  howpublished = {OpenReview},
}
Figure