Abstract
We propose a stochastic GDA (gradient descent ascent) method with backtracking (SGDA-B) to solve nonconvex-(strongly) concave (NCC) minimax problems $\min_x \max_y \sum_{i=1}^N g_i(x_i)+f(x,y)-h(y)$, where $h$ and $g_i$ for $i = 1, \ldots, N$ are closed, convex functions, $f$ is $L$-smooth and $μ$-strongly concave in $y$ for some $μ\geq 0$. We consider two scenarios: (i) the deterministic setting where we assume one can compute $\nabla f$ exactly, and (ii) the stochastic setting where we have only access to $\nabla f$ through an unbiased stochastic oracle with a finite variance. While most of the existing methods assume knowledge of the Lipschitz constant $L$, SGDA-B is agnostic to $L$. Moreover, SGDA-B can support random block-coordinate updates. In the deterministic setting, SGDA-B can compute an $ε$-stationary point within $\mathcal{O}(Lκ^2/ε^2)$ and $\mathcal{O}(L^3/ε^4)$ gradient calls when $μ>0$ and $μ=0$, respectively, where $κ=L/μ$. In the stochastic setting, for any $p \in (0, 1)$ and $ε>0$, it can compute an $ε$-stationary point with high probability, which requires $\mathcal{O}(Lκ^3ε^{-4}\log(1/p))$ and $\tilde{\mathcal{O}}(L^4ε^{-7}\log(1/p))$ stochastic oracle calls, with probability at least $1-p$, when $μ>0$ and $μ=0$, respectively. To our knowledge, SGDA-B is the first GDA-type method with backtracking to solve NCC minimax problems and achieves the best complexity among the methods that are agnostic to $L$. We also provide numerical results for SGDA-B on a distributionally robust learning problem illustrating the potential performance gains that can be achieved by SGDA-B.
Introduction
Minimax optimization is a fundamental framework in modern machine learning, underpinning applications such as Generative Adversarial Networks (GANs) and Distributionally Robust Optimization (DRO). This paper addresses the Nonconvex-(Strongly) Concave (NCC) setting, where the objective is nonconvex in the primal variable $x$ and concave in the dual variable $y$.
A significant hurdle in deploying NCC solvers is their reliance on the global Lipschitz constant ($L$) of the gradient to determine step sizes. In practice, $L$ is often unknown or difficult to estimate accurately. Using a global upper bound typically results in overly conservative step sizes, leading to slow convergence. Furthermore, many large-scale problems benefit from block-coordinate updates, yet few $L$-agnostic methods support this efficiently.
Methodology: SGDA-B
The proposed SGDA-B (Stochastic Gradient Descent Ascent with Backtracking) is a single-loop method designed to be agnostic to $L$ while maintaining theoretical efficiency.
Backtracking Line Search
Unlike standard GDA methods that use fixed or decaying step sizes, SGDA-B employs a backtracking line search. It adaptively searches for local Lipschitz constants by testing candidate step sizes and reducing them if a stationarity condition is not met. This allows the algorithm to exploit the local geometry of the objective function, often leading to much larger step sizes than those derived from global bounds.
Time-Scale Separation and Block Updates
To ensure stability in nonconvex minimax landscapes, SGDA-B maintains a time-scale separation between primal and dual updates. It also supports random block-coordinate updates (BCU), allowing for the update of only a subset of primal variables per iteration, which significantly reduces computational overhead in high-dimensional settings.
Stationarity Metric
The algorithm utilizes the Gradient Map (M2 metric) to define and check for stationarity. This metric is computationally efficient to evaluate, making it an ideal choice for the backtracking condition compared to more complex alternatives.
Theoretical Results
Deterministic Efficiency
In the deterministic setting (GDA-B), the method matches the best-known complexity bounds of algorithms that require prior knowledge of $L$. It achieves an $\epsilon$-stationary point in $\mathcal{O}(L\kappa^2/\epsilon^2)$ for strongly concave problems.
Stochastic Performance
In the stochastic setting, SGDA-B provides high-probability guarantees. For strongly concave problems, it achieves a complexity of $\mathcal{O}(\epsilon^{-4})$, and $\tilde{\mathcal{O}}(\epsilon^{-7})$ for general concave problems.
Empirical Evaluation
The authors tested SGDA-B on a Distributionally Robust Optimization (DRO) task using a three-layer neural network on the gisette dataset (6,000 samples, 5,000 features). Numerical results demonstrated that SGDA-B significantly outperforms standard GDA and other adaptive methods like TiAda. By effectively searching for larger local step sizes, SGDA-B reached lower training errors and loss values substantially faster than its competitors.
Conclusion and Future Work
SGDA-B represents the first GDA-type method with backtracking for NCC minimax problems. It eliminates the need for manual tuning of $L$ while providing state-of-the-art complexity and supporting block-coordinate updates.
Future research directions include:
- Stochastic Parallelism: Reducing the overhead of the multiple independent runs currently required for high-probability guarantees.
- Complexity in WCMC: Improving the $\tilde{\mathcal{O}}(\epsilon^{-7})$ bound for the merely concave regime.
- Variance Reduction: Integrating techniques like STORM or SPIDER to potentially improve stochastic complexity to $\mathcal{O}(\epsilon^{-3})$.
Summary updated