On the One-sided Convergence of Adam-type Algorithms in Non-convex Non-concave Min-max Optimization

Zehao Dou, Yuanzhi Li

TL;DR

This paper uncovers a phenomenon called one-sided convergence in GAN training: while the generator’s gradient norm converges to zero, the discriminator’s gradient norm remains high, even in successful models. The authors bridge the gap between practice and theory by introducing a "one-sided Minty Variational Inequality (MVI)" condition and proving that Adam-type algorithms (specifically AMSGrad variants) provably converge under this more realistic assumption.

What Problem Does This Paper Address?

Generative Adversarial Networks (GANs) are notoriously difficult to train. While Adam-type optimizers are the empirical "gold standard" for GANs, theoretical explanations for their success are lacking.

Standard optimization theory for min-max problems (like GANs) usually aims for a critical point—a state where the gradients of both the generator ($x$) and the discriminator ($y$) vanish. However, the authors observed that in actual GAN training, this doesn't happen. The discriminator often remains "active" with a high gradient norm, yet the generator still produces high-quality results. This creates a disconnect: if the algorithms aren't converging to a standard critical point, what are they doing, and can we prove they will reach a good solution?

Methods

The authors analyze the convergence of "theoretically correct" versions of Adam, focusing on AMSGrad because it ensures non-decreasing "velocity" terms, making it easier to analyze than vanilla Adam. They introduce two main algorithmic frameworks:

  1. Extra Gradient AMSGrad (AMSGrad-EG): Combines the adaptive learning rates of AMSGrad with the "extra-gradient" technique (taking a look-ahead step) often used to stabilize min-max optimization.
  2. AMSGrad-EG with Dual Rate Decay (AMSGrad-EG-DRD): A modified version where the learning rate for the discriminator ($y$) decays at a different rate ($O(1/\sqrt{k})$) than the generator.

The core theoretical innovation is the one-sided MVI condition. Traditional MVI assumes the entire gradient field behaves globally "well" toward a solution. The one-sided version only requires this behavior for the generator ($x$), acknowledging that the discriminator ($y$) might never reach a stable "optimal" state during training.

Datasets

The authors validated their findings and algorithms on three standard benchmarks:

  • MNIST: Handwritten digits.
  • Fashion-MNIST: Clothing items.
  • CIFAR-10: Small color images (used with a more complex DCGAN architecture).

These datasets were used to empirically demonstrate the one-sided convergence phenomenon and to show that the proposed AMSGrad variants produce higher-quality images than standard Stochastic Gradient Descent Ascent (SGDA).

Key Insights and Ideas

  • The "One-Sided" Reality: The most striking insight is that we shouldn't expect the discriminator to converge. As shown in Figure 1, the generator's gradient (blue) drops toward zero, but the discriminator's gradient (red) stays volatile and high.

    Figure 1: We train GAN on the dataset MNIST and Fashion-MNIST. The two figures above show us the Frobenius norm of the gradients of discriminator and generator.
  • MVI is Too Strong for GANs: The paper argues that the standard MVI condition—a common assumption in min-max theory—is unrealistic for GANs because it implies an "optimal discriminator" exists that works for all possible generators. Their "one-sided MVI" is a much milder, more realistic assumption that they verify empirically.

  • Bridging the Theory Gap: By focusing on the generator's convergence, the authors provide the first strict theoretical guarantee for Adam-type algorithms in a non-convex non-concave min-max setting that actually matches what researchers see in their logs.

Key Results

  • Theoretical Convergence: The authors prove that AMSGrad-EG converges to an $\epsilon$-stationary point with a complexity of $O(d\epsilon^{-2})$ in deterministic settings and $O(d\epsilon^{-4})$ in stochastic settings.
  • Empirical Success: Despite the "one-sided" nature of the convergence, the training successfully produces high-quality images.

    Figure 2: After 50k iterations, we obtain these figures by using Adam. Despite its one-sided convergence, the min-max training actually succeeds.
  • Condition Verification: They plot "MVI values" along training trajectories (Figure 3 in the paper, referenced as Figure 6 in the appendix for DCGAN) and show that while the "total MVI" often fails (goes negative), the "x-sided MVI" stays positive, justifying their new theoretical framework.

Limitations and Future Work

  • Proxy Algorithms: The theoretical proofs are for AMSGrad-EG, which is a "theoretically correct" variant of Adam. While it behaves similarly to the Adam used in practice, there is still a small gap between the analyzed algorithm and the exact implementation of vanilla Adam.
  • Assumption Constraints: The proofs rely on certain assumptions, such as the Stochastic First-order Oracle (SFO) having bounded output, which might not always hold in extremely deep or unstable networks.
  • Future Directions: The authors suggest that this one-sided convergence framework could be applied to other min-max problems beyond GANs, such as adversarial training or reinforcement learning, where one player's stability is more critical than the other's.

Summary updated

BibTeX
@inproceedings{dou2022one,
  author = {Zehao Dou and Yuanzhi Li},
  title = {{On the One-sided Convergence of Adam-type Algorithms in Non-convex Non-concave Min-max Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=NK5hHymegzo},
}
Figure