Weakly Supervised AUC Optimization: A Unified Partial AUC Approach

Zheng Xie, Yu Liu, Hao-Yuan He, Ming Li, Zhi-Hua Zhou

Abstract

Acquiring perfect supervision is often difficult in real-world machine learning, leading to inaccurate, incomplete, or inexact labels. We present WSAUC, a unified framework for weakly supervised AUC optimization covering noisy label learning, positive-unlabeled (PU) learning, multi-instance learning (MIL), and semi-supervised learning (SSL). We frame these problems as a common formulation of minimizing AUC risk on contaminated sets and introduce reversed partial AUC (rpAUC) as a robust training objective. Theoretical and experimental results demonstrate that WSAUC offers a universal and effective solution for AUC optimization across various weakly supervised scenarios.

Introduction

In real-world applications, machine learning models frequently encounter Weakly Supervised Learning (WSL) challenges. These include inaccurate supervision (noisy labels), incomplete supervision (PU learning or semi-supervised learning), and inexact supervision (multi-instance learning). While accuracy-based models have been adapted for these settings, optimizing the Area Under the ROC Curve (AUC)—critical for imbalanced data and ranking—is more complex due to its reliance on pairwise comparisons.

Previous research has typically addressed these weak supervision scenarios in isolation. This work introduces WSAUC, a "Grand Unified Theory" for AUC optimization that handles various forms of weak supervision within a single framework.

Methodology

A Unified Formulation

The core of WSAUC is the proof that AUC optimization across different weak supervision settings can be reduced to a single mathematical problem: minimizing AUC risk on contaminated sets. As shown in the table below, settings like noisy labels, PU learning, and MIL can all be mapped to a unified risk formulation.

Unified risk formulation for various weakly supervised AUC optimization settings.

The authors demonstrate that the empirical risk calculated on these "dirty" sets is linearly related to the true AUC risk. This implies that a model minimizing the contaminated risk will effectively minimize the true risk, providing a theoretically sound foundation for the framework.

Reversed Partial AUC (rpAUC)

To handle label noise effectively, the authors introduce reversed partial AUC (rpAUC). Unlike standard partial AUC, which focuses on a specific range of the ROC curve (e.g., low False Positive Rate), rpAUC is designed to discard a certain proportion of instances that induce the highest losses.

Comparison of different AUC metrics, highlighting the novel reversed partial AUC (rpAUC) which removes hard/noisy pairs.

This approach implements the "small loss trick": in noisy datasets, samples with the highest loss are often those with incorrect labels. By "trimming" the margins of the ROC curve during training, the model ignores the most confusing pairs, preventing outliers from skewing the learning process.

Experimental Evaluation

WSAUC was evaluated on several benchmarks, including synthetic binary tasks derived from MNIST, FashionMNIST, CIFAR-10, and CIFAR-100, as well as standard MIL benchmarks like Musk1 and Elephant.

Key Results

  • Noisy Labels: On CIFAR-10 with 20% noise, WSAUC achieved an AUC of 93.6%, significantly outperforming specialized baselines like AUC-B and DRAUC.
  • PU Learning: WSAUC proved more robust than standard PU-AUC, especially when the labeled data ratio was as low as 5%.
  • Multi-Instance Learning: WSAUC consistently outperformed traditional margin-based approaches (e.g., miSVM) and dedicated MIL-AUC methods.
  • Robustness: The gap between WSAUC and standard AUC optimization widened as noise levels increased, validating the effectiveness of the rpAUC objective.

Discussion and Insights

A significant finding of this work is that a statistically consistent AUC optimizer can be achieved without knowing exact noise rates or class proportions. While these "mixing proportions" are needed for exact AUC calculation, they are not required to find the optimal model. Furthermore, the framework shows that incorporating unlabeled data in semi-supervised settings actively reduces the variance of the risk estimator, leading to more stable models.

Limitations

Despite its strengths, WSAUC requires tuning two hyperparameters ($\alpha$ and $\beta$) for rpAUC, which ideally should approximate the unknown noise proportions. Additionally, while the framework is efficient, the $O(n^2)$ complexity of pairwise comparisons remains a challenge for scaling to massive datasets. Future work will explore extending this unified approach to multi-class AUC optimization.

Summary updated

BibTeX
@article{xie2023weakly,
  author = {Zheng Xie and Yu Liu and Hao-Yuan He and Ming Li and Zhi-Hua Zhou},
  title = {{Weakly Supervised AUC Optimization: A Unified Partial AUC Approach}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  url = {https://openreview.net/forum?id=WpzS2Y5SeC},
}
Figure