Robust and Faster Zeroth-Order Minimax Optimization: Complexity and Applications

Weixin An, Yuanyuan Liu, Fanhua Shang, Hongying Liu

TL;DR

Researchers have developed a new algorithm, ZO-GDEGA, that significantly speeds up and stabilizes "black-box" minimax optimization—where you only know a function's output, not its gradient. It achieves state-of-the-art complexity for nonconvex-concave problems and, for the first time, provides theoretical guarantees for these problems in noisy, stochastic environments.

What Problem Does This Paper Address?

Many machine learning tasks are framed as minimax problems: you want to minimize a loss while an "adversary" tries to maximize it. This is the core of Generative Adversarial Networks (GANs), fair learning, and robust training against adversarial attacks.

Usually, we solve these using gradients (first-order methods). However, in many real-world "black-box" scenarios—like attacking a proprietary AI model or optimizing complex simulations—the gradients are unknown or too expensive to compute. We have to rely on Zeroth-Order (ZO) optimization, which estimates gradients by poking the function at different points and seeing how the output changes.

The challenge? Existing ZO methods for nonconvex-concave (NC-C) problems (the most common type in deep learning) are incredibly slow, require very specific "smooth" conditions to work, and often lack theoretical guarantees when data is noisy (stochastic).

Methods

The authors introduce ZO-GDEGA (Zeroth-Order Gradient Descent Extragradient Ascent). The algorithm's "secret sauce" lies in how it handles the "max" part of the problem:

Comparison of First-order EG and the proposed ZO-GDEGA algorithm.
  1. Extragradient Ascent: Instead of a simple step upward, it uses an "extra" step to probe the landscape. This is inspired by the "backward-Euler" method from physics simulations, which is much more stable than standard methods.
  2. Concise ZO Estimators: It uses randomized direction vectors to estimate gradients. Unlike previous methods that required these estimates to be extremely precise (and thus slow to compute), ZO-GDEGA is "robust"—it works even with rougher, faster estimates.
  3. Single-Loop Design: Many minimax algorithms are "nested" (solving the entire 'max' problem for every single 'min' step), which is computationally heavy. ZO-GDEGA updates both variables in a single, efficient loop.

Datasets

The authors validated their algorithm across several benchmarks:

  • Synthetic Datasets: For controlled testing of convergence.
  • Large-scale epsilon_test: A standard benchmark for high-dimensional optimization.
  • Image Datasets: MNIST and Fashion-MNIST were used for Area Under Curve (AUC) maximization tasks.
  • ijcnn1: Used for further AUC performance verification.

Key Insights and Ideas

  • Stability through "Extra" Steps: By using the extragradient structure specifically for the dual (concave) variable, the algorithm avoids the "cycling" behavior that often plagues minimax optimization.
  • Tolerance for "Rough" Gradients: A major theoretical breakthrough is that ZO-GDEGA allows for larger "smoothing parameters." In plain English: you don't need to sample as many points to get a "good enough" gradient estimate, making the algorithm much more practical.
  • Breaking the Stochastic Barrier: This is the first paper to provide a formal "complexity guarantee" for stochastic NC-C problems in the zeroth-order setting, filling a major gap in optimization theory.

Key Results

Complexity comparison of ZO-GDEGA against existing algorithms.
  • Faster Convergence: In deterministic settings, it reaches an $\epsilon$-stationary point in $\mathcal{O}(d\epsilon^{-6})$ operations, a significant improvement over previous $\mathcal{O}(d\epsilon^{-8})$ or $\mathcal{O}(d\epsilon^{-10})$ bounds.
  • Effective Attacks: In data poisoning experiments (where an attacker injects bad data to ruin a model), ZO-GDEGA reduced model accuracy by an additional 5% on average compared to previous state-of-the-art ZO methods.
  • Better AUC: In black-box AUC maximization, the algorithm improved performance by 0.4 to 5.4 units when gradient estimations were intentionally kept "rough," proving its superior robustness.

Limitations and Future Work

While the paper makes huge strides in theory, the authors note that their current work focuses on smooth regularizers. Real-world problems often involve "non-smooth" constraints (like $L_1$ regularization for sparsity).

Future Directions: * Extending the ZO-GDEGA framework to handle non-smooth functions. * Adapting the algorithm for Federated Learning, where optimization happens across many decentralized devices (like mobile phones) without sharing raw data.

Summary updated

BibTeX
@inproceedings{an2024robust,
  author = {Weixin An and Yuanyuan Liu and Fanhua Shang and Hongying Liu},
  title = {{Robust and Faster Zeroth-Order Minimax Optimization: Complexity and Applications}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=F8wKoSFSaA},
}
Figure