Near-Optimal Algorithms for Making the Gradient Small in Stochastic Minimax Optimization

Lesi Chen, Luo Luo · OpenReview

Abstract

We study the problem of finding a near-stationary point for smooth minimax optimization. The recent proposed extra anchored gradient (EAG) methods achieve the optimal convergence rate for the convex-concave minimax problem in deterministic setting. However, the direct extension of EAG to stochastic optimization is not efficient. In this paper, we design a novel stochastic algorithm called Recursive Anchored IteratioN (RAIN). We show that the RAIN achieves near-optimal stochastic first-order oracle (SFO) complexity for stochastic minimax optimization in both convex-concave and strongly-convex-strongly-concave cases. In addition, we extend the idea of RAIN to solve structured nonconvex-nonconcave minimax problem and it also achieves near-optimal SFO complexity.

Introduction

Minimax optimization—the "min-max" game of finding $\min_x \max_y f(x, y)$—is the engine behind modern AI challenges like training Generative Adversarial Networks (GANs) and adversarial robustness. Traditionally, researchers measured success using the "duality gap," but this metric is often impossible to compute in practice and doesn't apply well to non-convex landscapes.

A more universal metric is the norm of the gradient: simply making the gradient small enough that you are at a "stationary point." While optimal algorithms exist for deterministic (offline) settings, their stochastic counterparts (where we only have noisy estimates of the gradient) have been inefficient or sub-optimal. The challenge is achieving the best possible "Stochastic First-order Oracle" (SFO) complexity—essentially, finding the solution using the fewest possible random data samples.

The Recursive Anchored IteratioN (RAIN) Algorithm

The authors propose the Recursive Anchored IteratioN (RAIN) algorithm. Its core innovation lies in how it handles "anchoring."

  1. Recursive Anchoring: Previous methods like Extra Anchored Gradient (EAG) anchored the optimization to the starting point ($z_0$). RAIN instead solves a sequence of sub-problems where the "anchor" point is updated recursively. This ensures that the algorithm doesn't get "stuck" to a distant starting point as it nears the solution.
  2. Epoch-SEG Subroutine: Within each anchoring stage, RAIN uses a specialized version of the Stochastic ExtraGradient (SEG) method. It employs a two-phase strategy: first using a fixed step size to reduce optimization error, then decreasing the step size to suppress the "noise" (variance) from the stochastic samples.

Theoretical Guarantees

The paper’s main contribution is summarized in its complexity guarantees (SFO complexity). RAIN effectively closes the gap between theoretical lower bounds and practical stochastic performance for several standard settings.

Comparison of SFO complexity for SCSC and CC settings. RAIN achieves near-optimal rates matching the lower bounds.
  • Convex-Concave (CC): RAIN achieves $\tilde{O}(\sigma^2 \epsilon^{-2} + L\epsilon^{-1})$. This matches the optimal rate for both the stochastic part ($\epsilon^{-2}$) and the deterministic part ($\epsilon^{-1}$).
  • Strongly-Convex-Strongly-Concave (SCSC): It achieves $\tilde{O}(\sigma^2 \epsilon^{-2} + \kappa)$, where $\kappa$ is the condition number.

The shift from fixed anchoring to recursive anchoring allows the algorithm to adapt its regularization dynamically, leading to the near-optimal $\epsilon^{-2}$ dependence on variance.

Extension to Non-convex Settings

To handle non-convex-non-concave problems, the authors extend RAIN to RAIN++. This version operates on the Saddle Envelope—a minimax generalization of the Moreau envelope. Since the gradient of this envelope is hard to estimate without bias, they integrate Multilevel Monte Carlo (MLMC) techniques to produce low-bias gradient estimates.

Comparison of SFO complexity for NC and ID settings. RAIN++ matches the lower bounds for these structured non-convex problems.

By showing that structured non-convex problems (like those with negative comonotonicity or intersection dominance) can be transformed into well-behaved convex-concave problems via the saddle envelope, they provide a roadmap for solving complex games that were previously thought to be divergent for first-order methods.

Empirical Validation and Limitations

The authors evaluate their algorithms on synthetic "hard" problems designed to expose the weaknesses of standard methods, such as the Bilinear Minimax Problem ($f(x, y) = x^\top y$) and specific "Hard" Convex-Concave constructions. In numerical experiments, RAIN consistently outperformed standard baselines like SEG, SEAG, and PDHG, showing faster convergence and higher stability, especially as the noise level ($\sigma$) increased.

However, some limitations remain:

  • Structural Assumptions: While RAIN++ works for non-convex problems, it still requires specific structures. Finding a near-optimal algorithm for general non-smooth or non-structured non-convex minimax problems remains an open challenge.
  • Hyperparameter Sensitivity: Performance depends on choosing the right epoch lengths and anchoring parameters.
  • Scaling: Future work involves testing RAIN on massive-scale GAN training or large-scale adversarial defense.

Summary updated

Abstract

We study the problem of finding a near-stationary point for smooth minimax optimization. The recent proposed extra anchored gradient (EAG) methods achieve the optimal convergence rate for the convex-concave minimax problem in deterministic setting. However, the direct extension of EAG to stochastic optimization is not efficient.In this paper, we design a novel stochastic algorithm called Recursive Anchored IteratioN (RAIN). We show that the RAIN achieves near-optimal stochastic first-order oracle (SFO) complexity for stochastic minimax optimization in both convex-concave and strongly-convex-strongly-concave cases. In addition, we extend the idea of RAIN to solve structured nonconvex-nonconcave minimax problem and it also achieves near-optimal SFO complexity.
BibTeX
@misc{chen2022near,
  author = {Lesi Chen and Luo Luo},
  title = {{Near-Optimal Algorithms for Making the Gradient Small in Stochastic Minimax Optimization}},
  year = {2022},
  eprint = {2208.05925},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.05925},
}
Figure