Abstract
This paper delves into the realm of stochastic optimization for compositional minimax optimization—a pivotal challenge across various machine learning domains, including deep AUC and reinforcement learning policy evaluation. Despite its significance, the problem of compositional minimax optimization is still under-explored. Adding to the complexity, current methods of compositional minimax optimization are plagued by sub-optimal complexities or heavy reliance on sizable batch sizes. To respond to these constraints, this paper introduces a novel method, called Nested STOchastic Recursive Momentum (NSTORM), which can achieve the optimal sample complexity and obtain the nearly accuracy solution, matching the existing minimax methods. We also demonstrate that NSTORM can achieve the same sample complexity under the Polyak-Lojasiewicz (PL)-condition—an insightful extension of its capabilities. Yet, NSTORM encounters an issue with its requirement for low learning rates, potentially constraining its real-world applicability in machine learning. To overcome this hurdle, we present ADAptive NSTORM (ADA-NSTORM) with adaptive learning rates. We demonstrate that ADA-NSTORM can achieve the same sample complexity but the experimental results show its more effectiveness. All the proposed complexities indicate that our proposed methods can match lower bounds to existing minimax optimizations, without requiring a large batch size in each iteration. Extensive experiments support the efficiency of our proposed methods.
Introduction
Minimax optimization, characterized by the $\min_x \max_y$ formulation, is a cornerstone of modern machine learning, underpinning technologies such as Generative Adversarial Networks (GANs) and adversarial training. Concurrently, compositional optimization, which deals with nested functions of the form $f(g(x))$, is essential for fields like meta-learning and risk-averse optimization.
When these paradigms intersect, we get compositional minimax optimization: $\min_x \max_y f(g(x), y)$. This structure is notoriously difficult to optimize because standard stochastic gradient descent (SGD) cannot easily produce unbiased estimates of the full gradient due to the nested functions. Existing approaches, such as SCGDA and PDSCA, often suffer from sub-optimal sample complexities (typically $O(\kappa^4/\epsilon^4)$) or require prohibitively large batch sizes to manage gradient variance. This research introduces algorithms that achieve optimal sample complexity without the computational burden of massive batches.
Proposed Methods: NSTORM and ADA-NSTORM
To address the limitations of existing methods, the authors propose two novel algorithms:
- NSTORM (Nested STOchastic Recursive Momentum): This algorithm leverages the STORM variance reduction technique. Unlike standard approaches, NSTORM applies variance-reduced estimators to both the inner function $g(x)$ and its gradient, as well as the outer function $f$. A critical innovation in NSTORM is a projection operation that bounds the inner gradient estimator, preventing estimation errors from destabilizing the maximization sub-problem.
- ADA-NSTORM (ADAptive NSTORM): While NSTORM is theoretically powerful, it is sensitive to learning rate selection, often requiring very small, carefully tuned steps. ADA-NSTORM integrates adaptive learning rate mechanisms (similar to Adam or AdaBelief) into the update steps. This allows the algorithm to dynamically adjust step sizes for both primal ($x$) and dual ($y$) variables, enhancing practical performance while maintaining theoretical guarantees.
Key Insights and Ideas
The success of NSTORM and ADA-NSTORM stems from several core insights:
- Double Variance Reduction: In compositional settings, applying variance reduction solely to gradients is insufficient. Estimators for function values must also be variance-reduced to prevent the accumulation of nested errors.
- Projection for Stability: Projecting the inner gradient estimator onto a bounded convex set is vital for maintaining the stability of the maximization process.
- Matching Theoretical Lower Bounds: NSTORM is the first algorithm to achieve the optimal $O(\kappa^3/\epsilon^3)$ sample complexity for finding an $\epsilon$-stationary point in the compositional minimax setting, matching the performance of standard minimax optimization.
As shown in Figure 1, the trajectories of NSTORM are more direct and stable compared to baseline methods, illustrating the practical benefit of the proposed variance reduction and projection techniques.
Experimental Evaluation
The proposed methods were rigorously evaluated on Deep AUC Maximization tasks using four standard image classification datasets: CAT_VS_DOG, CIFAR10, CIFAR100, and STL10. These datasets were modified to create imbalanced binary classification scenarios (imbalance ratios of 1%, 5%, 10%, and 30%), which are the primary use cases for AUC optimization.
Key Results
- Theoretical and Empirical Speedup: Both NSTORM and ADA-NSTORM achieve a sample complexity of $O(\kappa^3/\epsilon^3)$, outperforming the $O(\kappa^4/\epsilon^4)$ rate of previous state-of-the-art methods. Crucially, they require only $O(1)$ samples per iteration.
- Performance Dominance: ADA-NSTORM consistently yielded the highest testing AUC across nearly all datasets and imbalance ratios. For instance, on the STL10 dataset (10% imbalance), ADA-NSTORM reached a test AUC of 0.833, significantly higher than SCGDA (0.779) and PDSCA (0.824).
Figure 2 demonstrates that ADA-NSTORM not only reaches higher peak performance but also exhibits smoother convergence curves compared to the highly oscillatory behavior of baselines.
Conclusion
This work presents a significant advancement in compositional minimax optimization. By introducing NSTORM and its adaptive variant, the authors bridge the gap between theoretical optimality and practical efficiency. While the base NSTORM method requires careful tuning, ADA-NSTORM provides a robust solution for real-world applications. Future research may explore relaxing current assumptions (such as strong concavity) or extending these methods to more complex non-linear deep learning environments and reinforcement learning scenarios.
Summary updated