Semi-supervised AUC optimization based on positive-unlabeled learning

Tomoya Sakai, Gang Niu, Masashi Sugiyama

Abstract

Area Under the ROC Curve (AUC) is a critical metric for evaluating classification performance on imbalanced datasets. However, optimizing AUC typically requires extensive labeled data, which is often expensive or difficult to obtain. This paper proposes a novel framework for semi-supervised AUC optimization that leverages Positive-Unlabeled (PU) learning. By treating unlabeled data as a mixture of positive and negative samples rather than relying on restrictive distributional assumptions like the "cluster assumption," the proposed method provides an unbiased risk estimator with reduced variance. Experimental results across diverse benchmarks, including large-scale and high-dimensional text data, demonstrate that this approach consistently outperforms existing semi-supervised and PU learning methods.

Introduction

In many real-world classification tasks, such as rare disease detection or fraud identification, data is heavily imbalanced. In these scenarios, the Area Under the ROC Curve (AUC) is a more robust performance metric than simple accuracy. While supervised AUC optimization is well-studied, its effectiveness is often limited by the scarcity of labeled samples.

Semi-supervised learning (SSL) aims to mitigate this by incorporating unlabeled data. Most existing SSL methods for AUC optimization rely on the "cluster assumption"—the premise that data points in close proximity likely share the same label. However, this assumption frequently fails in complex, high-dimensional real-world datasets. This research introduces a semi-supervised AUC optimization framework that avoids these restrictive assumptions by adopting a PU learning perspective, treating unlabeled data as a latent mixture of classes.

Methodology

The proposed framework is developed in two stages: PU-AUC optimization and its extension to the semi-supervised PNU-AUC framework.

PU-AUC Optimization

The authors derive an unbiased risk estimator for AUC using only positive (P) and unlabeled (U) data. Traditional approaches often treat all unlabeled data as negative, introducing significant bias. In contrast, this method utilizes the class prior—the proportion of positive samples in the population—to mathematically "cancel out" the bias. This ensures that the empirical risk calculated from PU data converges to the true AUC risk.

PNU-AUC Framework

To fully utilize all available data, the authors combine the standard supervised (Positive-Negative or PN) risk with the derived PU and Negative-Unlabeled (NU) risks. This "PNU" framework weights these components to create a comprehensive objective function.

Key Technical Innovations: * Unbiased Risk Estimators: Mathematical proofs confirm that the risk functions accurately represent the true AUC risk. * Variance Reduction: The inclusion of unlabeled data is shown to reduce the variance of the empirical risk estimator. This leads to more stable model training and more reliable hyperparameter tuning during cross-validation. * Computational Efficiency: By employing a squared loss function, the authors derived an analytical solution that reduces computational complexity from $O(n^2)$ to $O(n)$, enabling the method to scale to massive datasets.

Experimental Evaluation

The framework was evaluated against a comprehensive suite of benchmarks:

  • General Benchmarks: 15 datasets from the IDA repository, LIBSVM, and UCI.
  • Large-Scale Data: The SUSY dataset, featuring 5,000,000 samples, was used to test scalability.
  • Text Classification: Three high-dimensional datasets: rcv1 (47k features), amazon2 (262k features), and news20 (1.3M features).

Results and Discussion

The experimental results highlight the robustness and efficiency of the PNU-AUC approach.

  • PU Learning Performance: In scenarios with only positive and unlabeled data, the proposed PU-AUC significantly outperformed the state-of-the-art PU-RSVM across all tested benchmarks.
  • Semi-Supervised Superiority: PNU-AUC consistently surpassed established methods like SSRankboost and sAUC-LS. For instance, on the cod-rna dataset, PNU-AUC achieved an AUC of 95.6, compared to 91.7 for SSRankboost.
  • High-Dimensional Text Data: The method showed exceptional performance on text datasets. On amazon2, PNU-AUC reached an AUC of 87.2, while SSRankboost and sAUC-LS trailed significantly at 68.7 and 55.9, respectively.
  • Scalability: The linear complexity allowed the model to process the 5-million-sample SUSY dataset efficiently, a task that would be computationally prohibitive for traditional $O(n^2)$ AUC optimizers.

The core insight of this work is the treatment of unlabeled data as a mixture rather than a proxy. By avoiding the cluster assumption, the model gains stability and generalization power purely through the increase in sample size and the reduction of estimator variance.

Conclusion and Future Work

This paper presents a theoretically grounded and computationally efficient framework for semi-supervised AUC optimization. By leveraging PU learning principles, the method provides an unbiased approach that excels in imbalanced and high-dimensional settings.

However, the method's performance is dependent on the accuracy of the class prior ($\theta_P$) estimation. Sensitivity analysis indicates that significant bias in this estimate can degrade performance. Future research directions include adapting these unbiased estimators to non-consistent losses like hinge loss and developing automated methods for balancing PN and PU risks without requiring explicit variance calculations.

Summary updated

BibTeX
@article{sakai2018semi,
  author = {Tomoya Sakai and Gang Niu and Masashi Sugiyama},
  title = {{Semi-supervised AUC optimization based on positive-unlabeled learning}},
  journal = {Machine Learning},
  year = {2018},
  doi = {10.1007/s10994-017-5678-9},
}
Figure