TL;DR
This paper introduces PUBench, the first unified benchmark for Positive-Unlabeled (PU) learning, designed to fix the "Wild West" state of current evaluation practices. The authors identify a critical distribution mismatch called Internal Label Shift (ILS) that causes many algorithms to fail in realistic settings and provide a simple calibration method to restore fair competition.
What Problem Does This Paper Address?
In many real-world scenarios—like recommender systems or anomaly detection—it is easy to find "positive" examples (e.g., users who bought a product) but difficult to find definitive "negative" ones. This is the domain of Positive-Unlabeled (PU) learning, where binary classifiers are trained using only a set of positive samples and a large pool of unlabeled data.
Despite a surge in new PU algorithms, the field suffers from three major issues:
- Inconsistent Benchmarking: Researchers use different datasets, architectures, and hyperparameters, making head-to-head comparisons impossible.
- The Validation Trap: Many papers use a validation set containing negative data to tune their models. In a real PU setting, if you had negative data for validation, you’d just use it for training! This makes current results unrealistic.
- The One-Sample vs. Two-Sample Confusion: There are two ways to generate PU data. In the Two-Sample (TS) setting, positive and unlabeled sets are independent. In the One-Sample (OS) setting, we start with a pool of data and "hide" labels for some positives. Most existing evaluations ignore this distinction, leading to unfair comparisons.
Methods
The authors propose a standardized framework called PUBench and introduce two key technical fixes to address these systemic issues:
1. Realistic Model Selection
To avoid "cheating" with negative validation data, the authors investigate Proxy Accuracy (PA) and Proxy AUC (PAUC). These metrics allow researchers to estimate model performance using only positive and unlabeled data, provided the class prior (the percentage of positives in the unlabeled set) is known or estimated.
2. Calibrating for Internal Label Shift (ILS)
The paper identifies Internal Label Shift as a major pitfall. In the One-Sample (OS) setting, because some positive samples are "pulled out" to form the positive training set, the remaining unlabeled set is no longer representative of the original population—it becomes "depleted" of positives.
Many popular algorithms (like uPU and nnPU) were designed for the Two-Sample setting and assume the unlabeled set is a perfect reflection of the general population. When applied to OS data, they perform poorly. The authors propose a calibration approach: simply augment the unlabeled training set with the positive training set during the loss calculation. This "replenishes" the distribution and restores the mathematical consistency of the algorithms.
Datasets
The benchmark evaluates 17 representative PU algorithms across four diverse datasets:
- Image Datasets: CIFAR-10 and ImageNette (a subset of ImageNet).
- Tabular/Digit Datasets: USPS and Letter (from the UCI repository).
For each dataset, the authors synthesized PU versions using two different "Cases" (different groupings of classes as positive) to ensure the results weren't just a fluke of one specific data split.
Key Insights and Ideas
- The "Aha!" Moment on ILS: The realization that the act of labeling some positives actually changes the distribution of the remaining unlabeled data is a subtle but profound insight. It explains why many state-of-the-art algorithms suddenly tanked when tested in more realistic OS environments.
- Simplicity Wins: The proposed calibration isn't a complex new neural architecture; it’s a change in how data is fed into existing loss functions. By simply "replenishing" the unlabeled set, TS algorithms can be used in OS settings without losing performance.
- No Silver Bullet: The benchmark reveals that no single algorithm dominates across all datasets and metrics. Some older, simpler methods often outperform newer, more complex ones depending on the specific task.
Key Results
- Calibration Works: TS algorithms (like uPU and nnPU) saw significant performance drops in OS settings. Applying the authors' calibration technique consistently improved accuracy and AUC, sometimes even surpassing the performance of the original TS setting.
- Proxy Metrics are Reliable: The authors proved (both theoretically and empirically) that Proxy AUC and Proxy Accuracy are effective for hyperparameter tuning. In many cases, a model selected via PAUC performed nearly as well as one selected by an "Oracle" that had access to the true labels.
- Fair Comparison: By using a unified setup (same ResNet-34/MLP backbones, same optimizer, same hyperparameter search space), the paper provides the first truly level playing field for the PU learning community.
Limitations and Future Work
The authors acknowledge that their benchmark currently focuses on relatively small, standard datasets (CIFAR-10, USPS). While these are staples in machine learning research, real-world PU problems often involve massive, noisy, and high-dimensional data.
Future Work: The team aims to expand PUBench to include large-scale datasets and investigate how these algorithms handle "labeling bias"—situations where the positive samples aren't chosen randomly but follow a specific (and often unknown) bias.
Summary updated