Universal Gradient Descent Ascent Method for Nonconvex-Nonconcave Minimax Optimization

José Blanchet, Jiajin Li, Anthony Man-Cho So, Taoli Zheng, Linglingzhi Zhu

Abstract

Nonconvex-nonconcave minimax optimization has received intense attention over the last decade due to its broad applications in machine learning. Most existing algorithms rely on one-sided information, such as the convexity (resp. concavity) of the primal (resp. dual) functions, or other specific structures, such as the Polyak-Łojasiewicz (PŁ) and Kurdyka-Łojasiewicz (KŁ) conditions. However, verifying these regularity conditions is challenging in practice. To meet this challenge, we propose a novel universally applicable single-loop algorithm, the doubly smoothed gradient descent ascent method (DS-GDA), which naturally balances the primal and dual updates. That is, DS-GDA with the same hyperparameters is able to uniformly solve nonconvex-concave, convex-nonconcave, and nonconvex-nonconcave problems with one-sided KŁ properties, achieving convergence with $\mathcal{O}(\epsilon^{-4})$ complexity. Sharper (even optimal) iteration complexity can be obtained when the KŁ exponent is known. Specifically, under the one-sided KŁ condition with exponent $\theta\in(0,1)$, DS-GDA converges with an iteration complexity of $\mathcal{O}(\epsilon^{-2\max\{2\theta,1\}})$. They all match the corresponding best results in the literature. Moreover, we show that DS-GDA is practically applicable to general nonconvex-nonconcave problems even without any regularity conditions, such as the PŁ condition, KŁ condition, or weak Minty variational inequalities condition. For various challenging nonconvex-nonconcave examples in the literature, including "Forsaken", "Bilinearly-coupled minimax", "Sixth-order polynomial", and "PolarGame", the proposed DS-GDA can all get rid of limit cycles. To the best of our knowledge, this is the first first-order algorithm to achieve convergence on all of these formidable problems.

Introduction: The Challenge of Nonconvex-Nonconcave Optimization

Minimax optimization problems, formulated as $\min_x \max_y f(x,y)$, are foundational to modern machine learning tasks such as Generative Adversarial Networks (GANs) and adversarial training. While these problems are well-understood in convex-concave settings, modern applications often present nonconvex-nonconcave landscapes. In these scenarios, standard algorithms like Gradient Descent Ascent (GDA) frequently fail, becoming trapped in "limit cycles"—oscillatory paths that orbit a solution without ever converging.

Existing solutions often require specific mathematical regularity conditions, such as the Polyak-Łojasiewicz (PŁ) or Kurdyka-Łojasiewicz (KŁ) conditions, to be satisfied on one side of the problem. However, these conditions are notoriously difficult to verify in practice. Incorrectly tuning an algorithm for a condition that isn't met leads to stalling or divergence. This research introduces a "universal" algorithm designed to handle these complexities without requiring prior verification of problem structures.

Methodology: Doubly Smoothed Gradient Descent Ascent (DS-GDA)

The core contribution of this work is the Doubly Smoothed Gradient Descent Ascent (DS-GDA) algorithm. While previous methods like Smoothed GDA (S-GDA) applied Moreau-Yosida smoothing to stabilize a single variable, DS-GDA applies this smoothing to both primal ($x$) and dual ($y$) variables.

The algorithm introduces two auxiliary variables, $z$ and $v$, and optimizes a regularized function that penalizes the drift of $x$ and $y$ from these anchors. While $x$ and $y$ are updated via standard gradient steps, $z$ and $v$ are updated using an exponential moving average. This dual-smoothing approach acts as a "shock absorber," dynamically balancing updates and pulling trajectories away from limit cycles toward stationary points.

Experimental Benchmarks

To evaluate DS-GDA, the authors utilized four synthetic, low-dimensional mathematical functions known for breaking standard minimax algorithms:

  • Bilinearly-coupled minimax
  • Forsaken
  • Sixth-order polynomial
  • PolarGame

These benchmarks are specifically designed to lack standard regularity conditions, making them ideal for testing an algorithm's ability to escape limit cycles.

Key Insights and Results

DS-GDA demonstrates significant theoretical and empirical advantages:

  1. Symmetry and Universality: By smoothing both variables, the algorithm eliminates the need for asymmetric tuning. A single set of hyperparameters can solve convex-nonconcave, nonconvex-concave, and nonconvex-nonconcave problems.
  2. Theoretical Complexity: The method achieves a convergence complexity of $\mathcal{O}(\epsilon^{-4})$ across various problem classes. If the KŁ exponent ($\theta$) is known, this rate improves to an optimal $\mathcal{O}(\epsilon^{-2\max\{2\theta,1\}})$.
  3. Empirical Robustness: DS-GDA successfully escaped limit cycles on all four "impossible" toy problems where competing methods like Damped EGM or CurvatureEG+ failed.
Feasible region for hyperparameters and the resulting convergence trajectory on a KŁ-nonconcave problem.

Conclusion

DS-GDA represents a significant step toward a truly universal first-order optimizer for minimax problems. By balancing primal and dual updates through double smoothing, it provides a robust mechanism to handle nonconvex-nonconcave landscapes. While theoretical proofs currently rely on one-sided KŁ conditions, the empirical success of DS-GDA on problems violating these conditions suggests a broader applicability that warrants further theoretical investigation.

Summary updated

BibTeX
@inproceedings{blanchet2023universal,
  author = {José Blanchet and Jiajin Li and Anthony Man-Cho So and Taoli Zheng and Linglingzhi Zhu},
  title = {{Universal Gradient Descent Ascent Method for Nonconvex-Nonconcave Minimax Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=B6FihisDBl},
}
Figure