Abstract: Stochastic Gradient Descent has been widely studied with classification accuracy as a performance measure. However, these stochastic algorithms cannot be directly used when non-decomposable pairwise performance measures are used such as Area under the ROC curve (AUC) which is a common performance metric when the classes are imbalanced. There have been several algorithms proposed for optimizing AUC as a performance metric, and one of the recent being a stochastic proximal gradient algorithm (SPAM). But the downside of the stochastic methods is that they suffer from high variance leading to slower convergence. To combat this issue, several variance reduced methods have been proposed with faster convergence guarantees than vanilla stochastic gradient descent. Again, these variance reduced methods are not directly applicable when non-decomposable performance measures are used. In this paper, we develop a Variance Reduced Stochastic Proximal algorithm for AUC Maximization (VRSPAM) and perform a theoretical analysis as well as empirical analysis to show that our algorithm converges faster than SPAM which is the previous state-of-the-art for the AUC maximization problem.
Introduction
In many real-world applications, such as rare disease diagnosis or fraud detection, datasets are inherently imbalanced. In these scenarios, standard classification accuracy is often a misleading metric. The Area Under the ROC Curve (AUC) is the preferred performance measure because it evaluates how well a model ranks positive examples above negative ones. However, AUC is difficult to optimize directly because it is a pairwise, non-decomposable metric. Existing stochastic methods like the Stochastic Proximal Algorithm for AUC Maximization (SPAM) suffer from high gradient variance, which necessitates decaying step sizes and results in slow, sub-linear convergence.
Methods: The VRSPAM Algorithm
We propose VRSPAM (Variance Reduced Stochastic Proximal Algorithm for AUC Maximization) to overcome the convergence bottlenecks of previous methods. VRSPAM is built upon two key pillars:
- Saddle-Point Reformulation: We utilize a mathematical reformulation of the pairwise squared loss (a surrogate for AUC) into a stochastic optimization problem. This avoids the computational burden of explicitly comparing every pair of points in every iteration.
- Variance Reduction (SVRG): We integrate the Stochastic Variance Reduced Gradient (SVRG) framework. VRSPAM operates in a dual-loop structure. An outer loop periodically calculates a full gradient to anchor the optimization, while an inner loop performs fast stochastic updates corrected by this anchor.
This correction reduces the inherent noise in random sampling, allowing the algorithm to use a fixed step size and achieve significantly faster convergence. As a proximal algorithm, VRSPAM also naturally handles non-smooth regularizers like L1 (Lasso) or Elastic Net.
Theoretical and Empirical Insights
The most significant theoretical contribution of this work is the proof that VRSPAM achieves a linear convergence rate ($O(\alpha^s)$). This means that the error is reduced by a constant fraction every few iterations, a major improvement over the sub-linear rates of methods like SPAM. Furthermore, as the model approaches the optimal weights, the variance of the updates in VRSPAM goes to zero, leading to much greater stability at the "finish line" of training.
Key Results
VRSPAM was evaluated against state-of-the-art methods, including SPAM, SOLAM, and OPAUC, across a variety of standard benchmarks (e.g., German, a9a, usps, IJCNN1).
Empirical results demonstrate that:
- Faster Convergence: VRSPAM reaches peak AUC values significantly faster in terms of wall-clock time across almost all datasets.
- Improved Performance: In several cases, VRSPAM achieved higher final AUC scores. For instance, on the IJCNN1 dataset, VRSPAM reached an AUC of 0.9750, outperforming the previous best of 0.9269.
- Effective Variance Reduction: Plots of gradient variance confirm that while SPAM's variance remains high, VRSPAM's variance drops sharply as training progresses, validating the theoretical noise reduction mechanism.
Conclusion and Future Work
VRSPAM provides a robust and efficient framework for AUC maximization, achieving linear convergence through the integration of variance reduction techniques. While the current work assumes a strongly convex objective, future research will explore extending these techniques to non-convex deep learning models and other non-decomposable metrics such as Precision-Recall curves.
Summary updated