Large-scale Optimization of Partial AUC in a Range of False Positive Rates

Yao Yao, Qihang Lin, Tianbao Yang

Executive Summary

This paper introduces a scalable framework for optimizing Partial AUC (pAUC)—a metric that focuses on specific, practically relevant ranges of False Positive Rates (FPR) rather than the entire ROC curve. By formulating pAUC maximization as a non-smooth Difference-of-Convex (DC) program and applying Moreau envelope smoothing with stochastic block coordinate updates, the authors provide the first algorithm capable of training deep neural networks for pAUC at scale with rigorous convergence guarantees.

The Challenge of Optimizing Partial AUC

In many classification tasks, not all errors carry the same weight. The standard Area Under the ROC Curve (AUC) is a popular metric because it measures performance across all possible classification thresholds. However, it averages performance over the entire range of False Positive Rates (FPR) from 0 to 1.

In high-stakes fields like clinical medicine or fraud detection, a high FPR is unacceptable due to the severe cost of false alarms. Practitioners often only care about the "partial AUC"—the area under the curve where the FPR is strictly bounded (e.g., between 0.0 and 0.1).

The primary challenge is that optimizing pAUC is mathematically difficult. Unlike standard AUC, which can be reformulated into a relatively tractable pairwise ranking problem, pAUC involves ranking only a subset of the data. This leads to objective functions that are both non-smooth and non-convex (specifically, exhibiting a Difference-of-Convex or DC structure). Existing pAUC solvers either fail to scale to large datasets or are limited to simple linear models, leaving deep learning practitioners without viable tools.

A Scalable Optimization Framework

The authors tackle the non-smooth DC problem through a multi-layered optimization strategy designed for modern deep learning:

  1. DC Reformulation: They cast the pAUC maximization (and the related Sum of Ranked Range loss) as a problem of minimizing $f(w) - g(w)$, where both $f$ and $g$ are convex but non-smooth functions.
  2. Moreau Envelope Smoothing: To handle the non-smoothness, they employ the Moreau envelope technique. This creates a smooth approximation of the objective function, making it amenable to gradient-based optimization methods.
  3. Stochastic Block Coordinate Descent (SBCD): Calculating the exact gradient of the smoothed objective is computationally prohibitive for large datasets. The authors introduce a dual formulation that allows them to use SBCD. This means they only need to process small, randomly sampled batches of positive and negative data points in each iteration.
  4. Approximate Gradient Descent (AGD): The "outer loop" of the algorithm uses an approximate gradient derived from the "inner" SBCD steps to update the model parameters.

The authors prove that their method achieves a complexity of $\tilde{O}(\epsilon^{-6})$ to find a nearly $\epsilon$-critical solution, matching the best-known rates for similar classes of difficult optimization problems.

Core Innovations

  • The Power of the Dual: A key breakthrough comes from the dual formulation of the pAUC objective. By introducing dual variables, the authors transform a complex "sum of top-$k$ rankings" into a problem that can be solved via coordinate updates, which is vastly more efficient for big data.
  • Beyond Linear Models: Most previous pAUC research was constrained to linear classifiers. This new framework is agnostic to the model architecture, allowing it to work seamlessly with deep architectures like DenseNet and ResNet.
  • Unified Framework: The mathematical foundation used for pAUC also solves the Sum of Ranked Range (SoRR) loss. SoRR is useful for making models robust to outliers while still focusing on "hard" examples, providing a versatile tool for general robust machine learning.

Empirical Performance

The researchers evaluated their approach on several large-scale, imbalanced datasets, including CheXpert (a massive medical imaging dataset with over 224,000 images), CIFAR-10-LT, and Tiny-ImageNet-200-LT.

Training loss and pAUC curves on CheXpert datasets demonstrating AGD-SBCD's rapid convergence and superior performance.
  • Efficiency: On the CheXpert dataset, the proposed AGD-SBCD algorithm reached higher pAUC scores in a few seconds than traditional baselines (like SVM-pAUC) could reach in over a minute.
  • Performance: AGD-SBCD consistently outperformed standard Cross-Entropy (CE) and AUC-maximization methods on the targeted FPR ranges. For example, on the CheXpert "Consolidation" task, it achieved a pAUC of 0.8689, significantly higher than the Cross-Entropy baseline of 0.7673.
  • Deep Learning Success: The paper demonstrates successful pAUC optimization for deep models (DenseNet-121 and ResNet-20), proving that the algorithm can handle the high-dimensional parameter spaces of modern neural networks.

Limitations and Future Directions

  • Smoothness Assumptions: The theoretical convergence relies on the assumption that the predictive function (the model) is smooth. While this works in practice for many networks, it technically does not hold for models using ReLU activation functions, which are non-smooth at zero.
  • Complexity: While $\tilde{O}(\epsilon^{-6})$ is theoretically sound for this class of problem, it remains a relatively high complexity. Future research could explore ways to accelerate this further.
  • Non-smooth Models: Extending the framework to explicitly handle non-smooth models (like those with ReLU or Max-pooling) without relying on smooth approximations is a promising direction for future work.

Summary updated

BibTeX
@inproceedings{yao2022large,
  author = {Yao Yao and Qihang Lin and Tianbao Yang},
  title = {{Large-scale Optimization of Partial AUC in a Range of False Positive Rates}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=FFPcFtWJwsB},
}
Figure