Title: GDA-AM: On the effectiveness of solving minimax optimization via Anderson Acceleration
Abstract: Many modern machine learning algorithms such as generative adversarial networks (GANs) and adversarial training can be formulated as minimax optimization. Gradient descent ascent (GDA) is the most commonly used algorithm due to its simplicity. However, GDA can converge to non-optimal minimax points. We propose a new minimax optimization framework, GDA-AM, that views the GDA dynamics as a fixed-point iteration and solves it using Anderson Mixing to converge to the local minimax. It addresses the diverging issue of simultaneous GDA and accelerates the convergence of alternating GDA. We show theoretically that the algorithm can achieve global convergence for bilinear problems under mild conditions. We also empirically show that GDA-AM solves a variety of minimax problems and improves GAN training on several datasets.
The Challenge of Minimax Optimization
Minimax optimization is the engine behind some of the most exciting—and frustrating—fields in machine learning, from Generative Adversarial Networks (GANs) to adversarial robust training. The goal is to find a "Nash equilibrium" where neither player (e.g., the generator or the discriminator) can improve their position. However, the standard tool for the job, Gradient Descent Ascent (GDA), is notoriously finicky.
In many simple cases, like bilinear games, standard GDA iterates will simply circle the optimal point forever or diverge entirely. While newer methods like Extra-gradient (EG) or Optimistic GDA (OG) try to fix this by "looking ahead," they can still fail, converge slowly, or require painstaking tuning of learning rates.
GDA-AM: A Fixed-Point Approach
The core innovation of GDA-AM is viewing the GDA update rule as a fixed-point iteration. If $w_t$ represents the combined parameters $(x, y)$, then GDA is essentially $w_{t+1} = g(w_t)$. A stable solution is a "fixed point" where $w^* = g(w^*)$.
To solve this more effectively, the authors apply Anderson Mixing (AM) (also known as Anderson Acceleration). Instead of just using the very last update, AM computes the next iterate as a "smart" linear combination of the previous $p$ iterates. It solves a small, internal least-squares problem at each step to find weights that minimize the "residual"—the difference between the current position and where the gradient suggests the next step should be. This extrapolation effectively dampens oscillations and pulls the trajectory toward the equilibrium.
Theoretical Insights and Spectral Analysis
The authors provide two versions: SimGDA-AM (simultaneous updates) and AltGDA-AM (alternating updates). A key theoretical finding is that GDA-AM works by transforming the "bad" eigenvalues of the optimization operator—those that cause circling or divergence—into "good" ones that lead directly to the solution.
Notably, for simultaneous GDA on bilinear problems, the convergence rate of GDA-AM is independent of the learning rate $\eta$, removing a significant tuning hurdle. The convergence rate is also tied to Chebyshev polynomials, providing the "fastest" possible convergence for certain problem classes. The method maintains low overhead by using a small "table size" $p$ (e.g., $p=3$ to $100$), making the computational cost negligible compared to the benefit of needing far fewer total iterations.
Empirical Performance
The authors evaluated GDA-AM across a hierarchy of complexity, from synthetic benchmarks to large-scale image generation:
- Synthetic Benchmarks: In bilinear problems, GDA-AM converged in orders of magnitude fewer iterations than EG or OG.
- GAN Quality: On CIFAR-10, GDA-AM achieved an Inception Score (IS) of 8.05 (beating Adam's 7.76) and a significantly lower FID of 19.32 (beating Adam's 22.45), indicating higher quality and more diverse images.
- Robustness: In adversarial training on MNIST, GDA-AM achieved 95.41% accuracy under a PGD-40 attack, outperforming several state-of-the-art robust training baselines.
- Wall-clock Efficiency: Even with the extra math per step, GDA-AM was roughly 25-35% faster than Extra-gradient (EG) in terms of total time to reach a solution because of its superior stability.
Conclusion and Future Work
GDA-AM offers a robust framework for stabilizing minimax optimization by casting it as a fixed-point problem. While the global convergence proofs are solid for bilinear and convex-concave problems, the guarantees for the highly non-convex world of deep GANs are still largely empirical. Future work includes extending the theory to the high-variance world of mini-batch stochastic gradients and automating the selection of the table size hyperparameter $p$.
Summary updated