Positive Distribution Pollution: Rethinking Positive Unlabeled Learning from a Unified Perspective

Qianqiao Liang, Mengying Zhu, Yan Wang, Xiuyuan Wang, Wanjia Zhao, Mengyuan Yang, Hua Wei, Bing Han, Xiaolin Zheng

Introduction: The PU Learning Headache

In many real-world machine learning applications, obtaining fully labeled datasets is prohibitively expensive or impossible. Instead, we often encounter Positive Unlabeled (PU) learning scenarios. Here, we possess a small set of confirmed positive examples (e.g., caught fraudsters or diagnosed patients) and a vast pool of unlabeled data containing both hidden positives and negatives.

Traditional PU learning algorithms typically struggle with three distinct hurdles:

  1. Label Imbalance (P1): Confirmed positives are often a tiny fraction of the total data.
  2. Selection Bias (P2): Labeled examples are rarely a random sample; they often represent "easy" or "obvious" cases, failing to capture the full diversity of the positive class.
  3. Unknown Priors (P3): Most models require knowing the "class prior"—the actual percentage of positives in the unlabeled data—which is rarely available in practice.
Figure 1: Illustration of the three major challenges in PU learning—label imbalance, selection bias, and unknown priors—unified under the concept of Positive Distribution Pollution.

The authors of this paper argue that these are not three separate problems but symptoms of a single underlying issue: Positive Distribution Pollution. Because the labeled set is small and biased, any attempt to learn the positive distribution directly from it results in a "polluted" or inaccurate model of reality.

The CoVPU Framework

To address this, the researchers introduced CoVPU (Collaborative Variational PU learning). CoVPU is a variational framework designed to "unmix" the unlabeled data and learn a more accurate positive distribution without relying on biased labels or known priors. It consists of three interacting modules:

Figure 2: The CoVPU architecture, featuring the VPU-Calibrator, VPU-Classifier, and VPU-Collaborator modules.
  • VPU-Calibrator: Recognizing that labeled data is biased, this module focuses on the unlabeled mixture. It employs Discrete Normalizing Flows within a Variational Auto-Encoder (VAE) to separate the unlabeled data into two latent components. This allows the model to "discover" the true shape of the positive distribution from the data itself.
  • VPU-Classifier: To handle the lack of a known class prior (P3), the authors derived a prior-free variational loss. This loss function minimizes the KL-divergence between the model’s estimated distribution and an ideal Bayesian distribution, eliminating the need for ground-truth statistics.
  • VPU-Collaborator: This module acts as the "glue," identifying a "consensus" set of samples that both the Calibrator and Classifier agree are highly likely to be positive. This consensus is used to refine both modules iteratively.

Experimental Evaluation

The CoVPU framework was tested against state-of-the-art baselines (such as nnPU and VAE-PU) on standard benchmarks (MNIST, CIFAR-10) and a challenging real-world industrial dataset, BankLoan. The BankLoan dataset is particularly difficult, featuring extreme imbalance (0.1% labeled positives) and significant selection bias from expert labeling.

Key Results

  • Superior Performance: CoVPU consistently outperformed all baselines. On the BankLoan dataset, it achieved a 5.9% improvement in F1-score over the best-performing existing method.
  • Robustness to Prior Shifts: Unlike traditional methods that see performance decay when the assumed class prior is incorrect, CoVPU remained stable, demonstrating the effectiveness of its prior-free loss.
  • Ablation Insights: Removing the VPU-Calibrator module led to a performance drop of up to 29% in F1-score, confirming that mining the unlabeled data for distribution information is essential when labels are biased.

Conclusion and Future Work

By framing the challenges of PU learning through the lens of "Positive Distribution Pollution," CoVPU offers a statistically grounded, unified solution. The most significant insight is that unlabeled data, when properly "unmixed," is a more reliable source for learning distribution shapes than biased labeled sets.

While CoVPU relies on the assumption that positive and negative distributions are separable enough in feature space to be unmixed, its success on complex datasets like BankLoan is promising. Future research may extend this unified perspective to other domains where selection bias and unknown priors are prevalent, such as cyberattack detection and medical diagnosis.

Summary updated

BibTeX
@inproceedings{liang2023positive,
  author = {Qianqiao Liang and Mengying Zhu and Yan Wang and Xiuyuan Wang and Wanjia Zhao and Mengyuan Yang and Hua Wei and Bing Han and Xiaolin Zheng},
  title = {{Positive Distribution Pollution: Rethinking Positive Unlabeled Learning from a Unified Perspective}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i7.26051},
}
Figure