NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Stochastic AUC Optimization Algorithms With Linear Convergence

Michael Natole, Yiming Ying, Siwei LyuFrontiers Appl. Math. Stat 2019 · DOI

Introduction

In many real-world machine learning tasks, such as fraud detection or medical diagnosis, datasets are heavily imbalanced. In these scenarios, standard accuracy is often a deceptive metric. Area Under the ROC Curve (AUC) is the preferred alternative because it measures a model's ability to rank a random positive instance higher than a random negative one. However, AUC optimization is traditionally computationally expensive due to its reliance on pairs of instances, leading to a quadratic complexity of $O(n^2)$. While stochastic methods have reduced this to $O(n)$, they typically suffer from slow, sub-linear convergence rates.

The SPDAM Algorithm

This paper introduces the Stochastic Primal-Dual Algorithm for AUC Maximization (SPDAM). The core innovation lies in reformulating the AUC optimization problem (using a square loss) as a convex-concave stochastic saddle point problem (SPP). By introducing dual variables, the algorithm avoids the need to compare every possible pair of samples, maintaining a linear complexity per iteration.

By assuming a uniform data distribution over the training set, the authors prove that SPDAM achieves a linear convergence rate. This means the optimization error drops exponentially relative to the number of iterations, a significant improvement over the $O(1/\sqrt{t})$ or $O(1/t)$ rates seen in previous distribution-free stochastic methods.

Experimental Results and Speed

The researchers evaluated SPDAM against seven state-of-the-art algorithms using 11 benchmark datasets, ranging from small-scale (e.g., diabetes) to large-scale (e.g., mnist, covtype).

Comparison of SPDAM and regSOLAM across splice, a9a, and usps datasets. SPDAM demonstrates significantly faster convergence to optimal AUC values compared to previous gradient descent methods.

As illustrated above, SPDAM converges to the optimal AUC much faster than regSOLAM, the authors' previous state-of-the-art method. Across all tested datasets, SPDAM achieved competitive testing AUC values with significantly lower training times, particularly on high-dimensional data.

The Impact of Batch Size

A critical insight from the study is the relationship between mini-batch size ($m$) and convergence behavior. While SPDAM is a stochastic algorithm, its theoretical linear convergence rate is best realized in practice with a sufficiently large batch size.

Impact of mini-batch size $m$ on AUC convergence for the usps dataset. The results show that a batch size of approximately 10-20% of the dataset is required to achieve the fastest convergence.

As shown in the figure, using a single-sample update ($m=1$) results in much slower progress compared to larger mini-batches (e.g., 10% or 20% of the dataset). This suggests that while the algorithm is efficient, it benefits from parallelization and batch processing to hit the "fast lane" of linear convergence.

Conclusion and Future Work

SPDAM represents a major step forward in making AUC optimization practical for large-scale, imbalanced datasets. By leveraging a saddle point reformulation and a uniform distribution assumption, it achieves unprecedented convergence speeds. Future work will focus on extending these linear convergence proofs to other loss functions, such as logistic or hinge loss, and investigating the strong convergence of model weights.

Summary updated

BibTeX
@article{natole2019stochastic,
  author = {Michael Natole and Yiming Ying and Siwei Lyu},
  title = {{Stochastic AUC Optimization Algorithms With Linear Convergence}},
  journal = {Frontiers Appl. Math. Stat.},
  year = {2019},
  doi = {10.3389/fams.2019.00030},
}
Figure