A Provably Convergent and Practical Algorithm for Min-max Optimization with Applications to GANs

Oren Mangoubi, Sushant Sachdeva, Nisheeth K. Vishnoi

Abstract

We study a variant of a recently introduced min-max optimization framework where the max-player is constrained to update its parameters in a greedy manner until it reaches a first-order stationary point. Our equilibrium definition for this framework depends on a proposal distribution which the min-player uses to choose directions in which to update its parameters. We show that, given a smooth and bounded nonconvex-nonconcave objective function, access to any proposal distribution for the min-player's updates, and stochastic gradient oracle for the max-player, our algorithm converges to the aforementioned approximate local equilibrium in a number of iterations that does not depend on the dimension. The equilibrium point found by our algorithm depends on the proposal distribution, and when applying our algorithm to train GANs we choose the proposal distribution to be a distribution of stochastic gradients. We empirically evaluate our algorithm on challenging nonconvex-nonconcave test-functions and loss functions arising in GAN training. Our algorithm converges on these test functions and, when used to train GANs, trains stably on synthetic and real-world datasets and avoids mode collapse.

Introduction

Min-max optimization is the mathematical engine behind Generative Adversarial Networks (GANs), where a generator (the min-player) and a discriminator (the max-player) compete. However, standard optimization tools like Gradient Descent-Ascent (GDA) are notoriously unstable in these settings. Because the two players constantly react to one another, the system often falls into endless cycles or diverges entirely. In GANs, this manifests as "mode collapse," where the generator produces limited varieties of output by exploiting temporary blind spots in the discriminator.

While convergence theories exist for simple convex-concave problems, real-world deep learning is nonconvex-nonconcave. Most existing solutions for this harder setting require either starting very close to the optimal solution or making restrictive assumptions that do not hold in practice. This research introduces a framework that ensures stability and convergence even in complex, high-dimensional landscapes.

Methodology

The proposed framework restricts the max-player to "greedy" updates. Instead of taking a single step, the max-player updates its parameters along a continuous path where the loss increases until it reaches a first-order stationary point. This approach is implemented through a two-part algorithm:

  1. Proposal and Response: The min-player proposes a move based on a proposal distribution (e.g., stochastic gradients). For every proposed move, the max-player runs a stochastic gradient ascent subroutine until it reaches a stationary point.
  2. Randomized Accept-Reject: To prevent the algorithm from getting stuck in cycles, a randomized rule is applied. If a move leads to a lower loss after the max-player's response, it is accepted. If the loss increases, the move is occasionally accepted based on a "temperature" schedule, similar to simulated annealing.
Visualization of the optimization path on a nonconvex-nonconcave test function, showing the alternating updates between the greedy max-player (red) and the min-player (blue) towards the equilibrium (star).

A key theoretical contribution is the proof that the number of iterations required to reach equilibrium is dimension-independent. This suggests the algorithm is fundamentally well-suited for high-dimensional deep learning models with millions or billions of parameters.

Experimental Evaluation

The researchers evaluated the algorithm on synthetic "stress tests" and standard benchmarks:

  • Synthetic Test Functions: On mathematical functions where standard algorithms like GDA and Optimistic Mirror Descent (OMD) cycle endlessly, this algorithm converged directly to the global min-max point.
  • Gaussian Mixture Dataset: In tests with 2D datasets containing four distinct clusters, the algorithm learned all four modes in 70% of runs. In contrast, GDA failed to learn more than two modes in 95% of runs.
  • Image Datasets (MNIST and CIFAR-10): The algorithm successfully learned to generate handwritten digits without mode collapse. On CIFAR-10, it achieved a mean Inception Score of 4.68, demonstrating high stability and performance compared to traditional baselines.

Discussion and Conclusion

By forcing the max-player to reach a stationary point before evaluating the min-player's move, the algorithm effectively "looks ahead," breaking the oscillations common in GDA. While the current convergence bounds are polynomial, the researchers suspect that more refined analysis could show even faster runtime. Future work may involve exploring adaptively preconditioned proposal distributions to further accelerate convergence in complex GAN architectures.

Summary updated

BibTeX
@misc{mangoubi2020provably,
  author = {Oren Mangoubi and Sushant Sachdeva and Nisheeth K. Vishnoi},
  title = {{A Provably Convergent and Practical Algorithm for Min-max Optimization with Applications to GANs}},
  year = {2020},
  eprint = {2006.12376},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.12376},
}
Figure