Solving stochastic weak Minty variational inequalities without increasing batch size

Thomas Pethick, Olivier Fercoq, Puya Latafat, Panagiotis Patrinos, Volkan Cevher

Introduction

In machine learning, we are highly adept at minimizing functions—essentially finding the bottom of a valley. However, many modern architectures, such as Generative Adversarial Networks (GANs) and multi-agent reinforcement learning systems, involve complex min-max problems or variational inequalities (VIs). These are notoriously difficult to optimize because algorithms can easily fall into "limit cycles," circling the solution indefinitely without ever converging.

This paper introduces BC-SEG+ (Bias-Corrected Stochastic Extragradient), a novel family of stochastic algorithms designed to solve complex nonconvex-nonconcave optimization problems. Crucially, it achieves this in "weak Minty" environments without the need for prohibitively expensive increasing batch sizes, a limitation that has historically plagued stochastic methods in this space.

The Challenge of Weak Minty Variational Inequalities

A specific, challenging class of min-max problems is characterized by the weak Minty Variational Inequality (MVI). While deterministic algorithms exist for this class, their stochastic (noisy) counterparts have been highly problematic.

Until now, the primary way to guarantee convergence in the stochastic weak MVI setting was to artificially reduce variance by increasing the batch size at every single iteration. For any real-world, large-scale application, this strategy quickly becomes computationally intractable.

The BC-SEG+ Approach

To overcome these limitations, the authors propose a modification to the standard "extragradient" method. The core innovation of BC-SEG+ lies in how it handles the "exploration" step of the optimization process. Standard stochastic extragradient methods introduce a systematic bias because the intermediate point where the gradient is evaluated is itself noisy.

BC-SEG+ resolves this through three key mechanisms:

  1. Bias Correction: The algorithm adds a correction term derived from the previous iteration's gradient evaluation to the current step. This effectively "cancels out" the systematic error introduced by stochastic noise.
  2. Two-Stepsize Regime: It employs two distinct stepsizes. Crucially, the exploration stepsize ($\gamma$) remains fixed, while only the update stepsize ($\alpha$) diminishes over time. This departs from standard practice (where both decrease) and is essential for maintaining the "reach" needed to solve non-monotone problems.
  3. Generalization: The method is extended to constrained settings using resolvents and includes a nonlinearly preconditioned version that generalizes the widely used Primal-Dual Hybrid Gradient (PDHG) algorithm.

Key Insights and Empirical Results

The theoretical and empirical findings of the paper highlight several major advancements for stochastic optimization:

  • The Necessity of a Large Stepsize: In weak MVI problems, the exploration stepsize $\gamma$ defines the class of problems the algorithm can solve. If $\gamma$ shrinks, convergence cannot be guaranteed. The "fixed $\gamma$" approach ensures the solvable problem space doesn't collapse as the algorithm runs.
  • Bias is the Primary Obstacle: While most stochastic methods focus heavily on variance reduction, this research highlights that in extragradient methods, the bias created by evaluating gradients at noisy intermediate points is the true cause of divergence.
  • Computational Efficiency: Despite the sophisticated bias correction, BC-SEG+ requires only one additional oracle call (gradient evaluation) per iteration.
  • No Batch Size Increase Required: The authors mathematically prove that BC-SEG+ converges almost surely without ever needing to scale up the batch size, achieving an optimal convergence rate of $O(1/\sqrt{k})$ for the gap function.

Empirically, the algorithm demonstrates clear superiority on synthetic benchmarks (like Unconstrained Quadratic Games and Bilinear Objectives). Where standard Stochastic Extragradient methods diverge, cycle, or settle into a neighborhood of the solution, BC-SEG+ converges cleanly to the stationary point.

Convergence comparison showing BC-PSEG+ outperforming other methods

Limitations and Future Directions

While BC-SEG+ represents a significant theoretical leap, the authors note a few limitations. The mathematical proofs rely on the stochastic oracles being "Lipschitz continuous in mean," an assumption that may not hold for all deep learning architectures. Additionally, the current framework does not incorporate acceleration techniques like Nesterov momentum.

Future work will likely focus on exploring accelerated versions of these bias-corrected schemes and testing the specific bias-correction terms on massive-scale, real-world GAN training tasks (such as StyleGAN or BigGAN) to fully validate their practical scalability.

Summary updated

BibTeX
@inproceedings{pethick2023solving,
  author = {Thomas Pethick and Olivier Fercoq and Puya Latafat and Panagiotis Patrinos and Volkan Cevher},
  title = {{Solving stochastic weak Minty variational inequalities without increasing batch size}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=ejR4E1jaH9k},
}
Figure