Abstract
Minimax optimization is a cornerstone of modern machine learning, powering applications from Generative Adversarial Networks (GANs) to adversarial robustness. Despite the practical success of Gradient Descent Ascent (GDA), its theoretical convergence properties in nonconvex-concave settings have been poorly understood. This paper provides the first nonasymptotic complexity analysis for "two-timescale" GDA. By employing a significantly smaller stepsize for the minimizer than the maximizer, we prove that GDA efficiently converges to stationary points. Our analysis covers both deterministic and stochastic settings, demonstrating that simple single-loop algorithms can match or outperform more complex nested-loop counterparts.
Introduction
The standard minimax problem is formulated as $\min_{\mathbf{x}} \max_{\mathbf{y}} f(\mathbf{x}, \mathbf{y})$. In deep learning contexts, the objective function $f$ is typically nonconvex in the model parameters $\mathbf{x}$. While the convex-concave case is well-studied, the nonconvex-concave regime presents significant challenges. The most intuitive algorithm, GDA, performs simultaneous gradient updates for both players. However, with equal stepsizes, GDA often fails to converge, instead exhibiting limit cycles or divergence.
To address this, practitioners often adopt a "two-timescale" approach where the maximizer ($\mathbf{y}$) is updated more aggressively than the minimizer ($\mathbf{x}$). This paper establishes the theoretical foundation for this practice, providing rigorous complexity bounds that were previously missing for the nonconvex-concave setting.
Methodology
The authors analyze two primary variants of the algorithm:
- Two-Timescale GDA: A deterministic version utilizing full gradients.
- Two-Timescale SGDA: A stochastic version utilizing noisy gradient estimates, suitable for large-scale datasets.
The critical component of the analysis is the stepsize ratio. By setting the $\mathbf{x}$ stepsize ($\eta_x$) to be much smaller than the $\mathbf{y}$ stepsize ($\eta_y$), the $\mathbf{x}$ variable moves slowly enough for the $\mathbf{y}$ variable to effectively track the shifting maximum of the function.
Because the objective $\Phi(\mathbf{x}) = \max_{\mathbf{y}} f(\mathbf{x}, \mathbf{y})$ may be non-differentiable, the authors utilize the Moreau envelope—a smoothed approximation—to define a robust notion of stationarity. This measure is shown to be stronger than several alternatives used in prior literature.
Theoretical Results
The paper provides explicit gradient complexities required to reach an $\epsilon$-stationary point. A key contribution is showing that a single-loop approach (one $\mathbf{x}$ step per one $\mathbf{y}$ step) is sufficient, provided the stepsizes are correctly tuned.
As shown in the table above, the proposed single-loop GDA achieves competitive or superior complexity bounds compared to existing double-loop and triple-loop algorithms. For instance, in the nonconvex-concave setting, GDA achieves a complexity of $O(\epsilon^{-6})$, matching the best-known results while maintaining a simpler implementation.
Empirical Validation
To evaluate the theoretical findings, the authors conducted experiments on a Wasserstein Robustness Model (WRM). This task involves training image classifiers (MNIST, Fashion-MNIST, and CIFAR-10) to be resistant to adversarial perturbations. In these head-to-head tests, two-timescale GDA consistently outperformed the nested-loop "GDmax" approach, reaching higher test accuracy in significantly less time.
Conclusion
This work bridges the gap between the practical use of GDA and its theoretical understanding in nonconvex-concave minimax optimization. By proving nonasymptotic convergence for two-timescale GDA, the authors justify the use of simple, single-loop algorithms over more complex alternatives.
Future research directions include determining the fundamental lower bounds for these problems, optimizing stochastic batch sizes for the strongly concave case, and investigating last-iterate convergence guarantees to further align theory with common practice.
Summary updated