Two-Timescale Gradient Descent Ascent Algorithms for Nonconvex Minimax Optimization

Tianyi Lin, Chi Jin, Michael I. Jordan · DOI

Abstract

This paper provides the first systematic nonasymptotic analysis of Two-Timescale Gradient Descent Ascent (TTGDA) for nonconvex-concave minimax problems. By setting the "max-player" to move significantly faster than the "min-player," the authors demonstrate that this single-loop algorithm can efficiently find stationary points even in challenging nonsmooth settings. The study establishes complexity bounds for both deterministic and stochastic variants and validates performance through experiments on robust regression and Generative Adversarial Networks (GANs).

Introduction

Minimax optimization, formulated as $\min_{\mathbf{x}} \max_{\mathbf{y}} f(\mathbf{x}, \mathbf{y})$, is a foundational framework for many modern machine learning tasks, including Generative Adversarial Networks (GANs) and robust machine learning. While the convex-concave setting is well-understood, real-world deep learning applications are inherently nonconvex. In these scenarios, standard Gradient Descent Ascent (GDA) often fails to converge, frequently becoming trapped in limit cycles or diverging entirely.

To address these instabilities, researchers have historically turned to complex nested-loop algorithms. However, practitioners favor the simplicity of single-loop GDA. This paper bridges the gap between theory and practice by analyzing Two-Timescale GDA, proving that a simple adjustment to learning rates can stabilize nonconvex minimax optimization.

Methodology

The core innovation of this work is the formal analysis of the Two-Timescale Gradient Descent Ascent (TTGDA) algorithm and its stochastic counterpart (TTSGDA). The fundamental principle relies on an asymmetric update rule where the "max-player" ($\mathbf{y}$) moves at a significantly higher velocity than the "min-player" ($\mathbf{x}$).

Algorithms 1 and 2: TTGDA and TTSGDA.

By setting the learning rates such that $\eta_{\mathbf{x}} \ll \eta_{\mathbf{y}}$, the $\mathbf{y}$-player is able to effectively track the optimal response to the current $\mathbf{x}$ state, even as $\mathbf{x}$ evolves slowly. This disparity prevents the oscillatory behavior typical of single-timescale approaches.

Key Theoretical Contributions

  1. Nonasymptotic Analysis: Unlike previous asymptotic studies, this work establishes concrete complexity bounds, defining the number of iterations required to reach a specific accuracy $\epsilon$.
  2. Support for Nonsmoothness: The analysis extends to nonsmooth functions, such as those utilizing ReLU activations, which are ubiquitous in deep learning but difficult to characterize theoretically.
  3. Novel Proof Technique: The authors introduce a methodology for analyzing concave optimization under a "slowly changing objective," relaxing the requirement for the max-player to reach perfect optimality at every step.

Empirical Evaluation

The authors validated TTGDA and TTSGDA across two distinct domains: robust logistic regression and Wasserstein GANs (WGANs).

Robust Logistic Regression

Using six standard LIBSVM datasets (a9a, gisette, mushrooms, news20, svmguide3, w8a), the experiments demonstrated that TTGDA and TTSGDA consistently outperformed the state-of-the-art GDmax algorithm in terms of convergence speed.

Wasserstein GANs

In synthetic WGAN tasks involving both linear and nonlinear (ReLU-based) generators, TTSGDA showed superior performance compared to popular adaptive optimizers like Adam and RMSprop in simpler settings. While Adam maintained an advantage in highly complex nonlinear architectures—likely due to its per-parameter scaling—TTSGDA proved to be a robust and theoretically grounded alternative.

Key Results and Insights

The theoretical analysis yielded specific complexity bounds for finding stationary points:

  • Smooth Nonconvex-Concave: TTGDA requires $O(\epsilon^{-6})$ gradient evaluations, while TTSGDA requires $O(\epsilon^{-8})$.
  • Strongly Concave: In this more restricted setting, bounds improve to $O(\epsilon^{-2})$ for TTGDA and $O(\epsilon^{-4})$ for TTSGDA.

The "tracking" intuition is central to these results: the two-timescale approach allows the system to behave as an inexact version of Gradient Descent on the value function $\Phi(\mathbf{x}) = \max_{\mathbf{y}} f(\mathbf{x}, \mathbf{y})$. As long as the max-player moves fast enough to provide a reasonably accurate direction, the min-player can successfully navigate the nonconvex landscape.

Conclusion

This work provides a rigorous foundation for the "two-timescale" heuristic often used in practice. While the established bounds are significant, future work remains to determine if these are the optimal lower bounds for the setting. Additionally, while TTGDA performs well, integrating its timescale principles with modern adaptive tools like Adam could further enhance performance in complex deep learning architectures. Finally, the extension of these proofs to the fully nonconvex-nonconcave regime remains one of the most significant open challenges in optimization theory.

Summary updated

BibTeX
@misc{lin2024two,
  author = {Tianyi Lin and Chi Jin and Michael I. Jordan},
  title = {{Two-Timescale Gradient Descent Ascent Algorithms for Nonconvex Minimax Optimization}},
  year = {2024},
  eprint = {2408.11974},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.11974},
}
Figure