Delving into the Convergence of Generalized Smooth Minimax Optimization

Wenhan Xian, Ziyi Chen, Heng Huang

Introduction

Minimax optimization, formulated as $\min_x \max_y f(x, y)$, is the mathematical engine behind many modern machine learning breakthroughs, including Generative Adversarial Networks (GANs), adversarial training, and robust optimization. While a variety of minimax algorithms boast theoretical guarantees, these proofs predominantly rely on the assumption of Lipschitz smoothness—meaning the gradient of the objective function does not change too abruptly.

This paper bridges a critical gap between minimax optimization theory and practice by demonstrating that standard algorithms can still converge under a relaxed "generalized smoothness" condition. By introducing adaptive stepsize strategies, the authors show that algorithms like Gradient Descent-Ascent (GDA) and Stochastic GDA (SGDA) maintain their theoretical efficiency even when traditional Lipschitz smoothness fails.

The Problem with Lipschitz Smoothness

In many real-world applications, the Lipschitz smoothness condition is simply not met. The authors highlight this with a striking counterexample: for a simple function $f(x,y) = yx^2 - 0.5y^2$, standard GDA fails to converge and instead diverges to infinity. This divergence occurs because the "smoothness" of the problem actually depends on the magnitude of the variables themselves. Without a framework to handle this "generalized smoothness," many minimax algorithms lack a solid theoretical footing in practical scenarios, explaining why theoretically sound algorithms often fail in the wild.

Proposed Method: Generalized Smoothness

To address this, the researchers analyze four fundamental minimax algorithms—GDA, SGDA, GDmax, and SGDmax—under a broader "generalized smoothness" definition where the smoothness parameter is a function of the gradient norm rather than a constant.

To ensure convergence, they propose Generalized versions of these algorithms. The key innovation is the introduction of a suitable stepsize parameter, $S_t$, that adaptively scales the learning rate. They explore several options for $S_t$:

  1. Gradient Normalization: Setting $S_t$ to the current gradient norm.
  2. Historical Averaging: Using the average of all past gradient norms.
  3. Exponential Moving Average: A weighted average of recent gradient norms.

By scaling the update step by $1/S_t$, the algorithms effectively normalize large updates, preventing the divergence seen in their vanilla counterparts.

Experimental Validation and Results

The authors validated their approach using a robust logistic regression task, a classic minimax problem. They tested their Generalized SGDA (G-SGDA) against standard SGDA on nine real-world binary classification datasets from the LIBSVM repository, including a9a, covtype, diabetes, german, gisette, ijcnn1, mushrooms, phishing, and w8a. These datasets vary significantly in size and feature dimensionality, providing a rigorous test for algorithmic robustness.

The experimental results consistently show that G-SGDA is vastly superior to standard SGDA. Standard SGDA often requires extremely small learning rates to avoid divergence, leading to slow convergence. In contrast, G-SGDA converges rapidly and remains stable, reaching a lower loss value in fewer iterations.

Convergence on the mushrooms dataset
Convergence on the w8a dataset

As seen in the figures above for the mushrooms and w8a datasets, G-SGDA (yellow line) achieves rapid stabilization compared to the baseline SGDA variants (blue and red lines). This validates that the adaptive stepsize strategy effectively handles the non-Lipschitz nature of the robust regression objective.

Key Insights

  • Complexity Parity: A major theoretical contribution is proving that generalized algorithms achieve the same gradient complexity ($O(\epsilon^{-2})$ for deterministic) and stochastic first-order oracle (SFO) complexity ($O(\epsilon^{-4})$) as their Lipschitz-smooth counterparts. Robustness does not come at the cost of theoretical efficiency.
  • Simultaneous Induction: The proof utilizes a simultaneous mathematical induction on both the primal objective value and the error of the inner maximizer, overcoming a challenging technical hurdle in minimax analysis.

Limitations and Future Work

While this paper provides a significant leap forward, it focuses primarily on nonconvex-strongly-concave problems. Many modern machine learning applications, such as training GANs, involve nonconvex-nonconcave landscapes, which are even more chaotic. Extending this generalized smoothness analysis to those settings remains an open challenge. Additionally, the proposed algorithms require an initial "warm-up" phase to find a decent starting point for the $y$ variable, adding a small amount of computational overhead.

Summary updated

BibTeX
@inproceedings{xian2024delving,
  author = {Wenhan Xian and Ziyi Chen and Heng Huang},
  title = {{Delving into the Convergence of Generalized Smooth Minimax Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=QPsEPI9bvp},
}
Figure