One-Pass AUC Optimization

Wei Gao, Rong Jin, Shenghuo Zhu, Zhi-Hua Zhou

TL;DR

This paper introduces OPAUC, a novel algorithm for optimizing Area Under the ROC Curve (AUC) in a single pass over the training data. This is crucial for large-scale datasets where storing all data is infeasible. OPAUC achieves this by maintaining only the first and second-order statistics of the data, making its memory footprint independent of dataset size, and uses a randomized approach for high-dimensional data.

What Problem Does This Paper Address?

Optimizing AUC is a critical task in many machine learning applications, especially in areas like fraud detection or medical diagnosis where correctly ranking instances is paramount. However, traditional AUC optimization methods often require multiple passes over the entire dataset or storing it entirely, which is impractical for the massive datasets encountered today (big data) or in streaming scenarios. Existing online learning algorithms, which process data in a single pass, struggle with AUC because it's a pairwise measure, not a per-instance loss. This paper tackles the challenge of achieving efficient, one-pass AUC optimization without requiring the entire dataset to be stored.

Methods

The core of the OPAUC approach is a regression-based algorithm that uses a square loss function to approximate AUC. This choice is key because the square loss allows the algorithm to maintain only the first and second-order statistics (mean and covariance) of the training data. This dramatically reduces memory requirements to $O(d^2)$, where $d$ is the feature dimension, making it independent of the number of training samples.

For high-dimensional data, where $d^2$ can still be too large, OPAUC employs a randomized algorithm. This strategy approximates the covariance matrices with low-rank matrices, further reducing the memory and computational burden. The paper also provides theoretical analysis, including convergence guarantees for both the full-covariance and low-rank approximation versions of the algorithm.

Datasets

The paper evaluates OPAUC on a variety of benchmark datasets, including:

  • Standard datasets: diabetes, fourclass, german, splice, usps, letter, magic04, a9a, w8a, kddcup04, mnist, connect-4, acoustic, ijcnn1, epsilon, covtype.
  • High-dimensional datasets: sector, sector.lvr, news20, news20.binary, rcv1v2, ecml2012.

For multi-class datasets, they were transformed into binary ones by randomly partitioning classes. For multi-label datasets, they considered the largest class as positive.

Key Insights and Ideas

  • Square Loss for AUC: The paper demonstrates that a square loss function, when used appropriately, can be a consistent surrogate for AUC optimization. This is a significant finding as it enables efficient one-pass learning.
  • Statistics-Based Memory Efficiency: By focusing on first and second-order statistics, OPAUC achieves memory efficiency independent of the number of training samples, a critical requirement for big data.
  • Randomized Low-Rank Approximation: The use of randomized techniques to approximate covariance matrices with low-rank ones is a practical solution for handling high-dimensional data, significantly reducing computational complexity.
  • Theoretical Guarantees: The paper provides theoretical convergence rates, showing that OPAUC is not only practical but also theoretically sound.

Key Results

  • Performance: OPAUC consistently outperforms other online AUC optimization algorithms (OAMseq, OAMgra, online Uni-Exp, online Uni-Squ) across various datasets, especially on large ones. It is also highly competitive with batch learning algorithms, despite not storing the entire dataset.
  • Efficiency: For high-dimensional datasets, the approximate OPAUCr approach shows superior performance and comparable running times to other methods. It significantly outperforms other compared methods on datasets with millions of features.
  • Parameter Sensitivity: The study indicates that OPAUC is not overly sensitive to the choice of regularization parameter $\lambda$ and rank $\tau$ for the low-rank approximation, making it robust in practice.

Limitations and Future Work

  • High-Dimensional Approximation: While the low-rank approximation is effective, the paper notes that it's most accurate when eigenvalues of covariance matrices follow a skewed distribution.
  • Future Work: The authors suggest exploring epoch gradient methods to potentially improve convergence bounds and developing one-pass AUC optimization approaches that match the efficiency of univariate loss optimization methods. They also mention the possibility of using random projection as an alternative for high-dimensional data, though their empirical results suggest their randomized low-rank approach is superior.

Summary updated

Abstract

AUC is an important performance measure and many algorithms have been devoted to AUC optimization, mostly by minimizing a surrogate convex loss on a training data set. In this work, we focus on one-pass AUC optimization that requires only going through the training data once without storing the entire training dataset, where conventional online learning algorithms cannot be applied directly because AUC is measured by a sum of losses defined over pairs of instances from different classes. We develop a regression-based algorithm which only needs to maintain the first and second order statistics of training data in memory, resulting a storage requirement independent from the size of training data. To efficiently handle high dimensional data, we develop a randomized algorithm that approximates the covariance matrices by low rank matrices. We verify, both theoretically and empirically, the effectiveness of the proposed algorithm.
BibTeX
@article{gao2016one,
  author = {Wei Gao and Rong Jin and Shenghuo Zhu and Zhi-Hua Zhou},
  title = {{One-Pass AUC Optimization}},
  journal = {Artificial Intelligence},
  year = {2016},
  doi = {10.1016/j.artint.2016.03.003},
}
Figure