Overcoming Selection Bias in Positive Unlabeled Learning

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2110 papers176 conceptsfrozen 2026-10-04

In a perfect world, machine learning models are trained on datasets where every example is neatly labeled. In the real world, we often face Positive-Unlabeled (PU) learning scenarios: we have a small set of confirmed "positive" examples (like diagnosed patients or caught fraudsters) and a massive pile of unlabeled data that contains both hidden positives and negatives.

The traditional "gold standard" for PU learning relies on a heavy assumption: Selected Completely At Random (SCAR). This assumes that the labeled positives are a perfectly representative, uniform sample of all positives in the world. But as Masahiro Kato, Junya Honda, and Takeshi Teshima argue in Learning from Positive and Unlabeled Data with a Selection Bias, this assumption is frequently violated. Labeling processes are almost always biased toward "easy" cases, high-profile anomalies, or specific sub-categories.

The Problem of Positive Distribution Pollution

When the SCAR assumption fails, we encounter selection bias. Imagine training a model to detect illicit blockchain nodes. If law enforcement only labels high-profile, obvious criminals, the "positive" set doesn't represent the full diversity of illicit behavior. Junliang Luo and colleagues note in Towards Improved Illicit Node Detection with Positive-Unlabelled Learning that this bias prevents models from identifying subtle or unconventional patterns hidden in the unlabeled data.

Qianqiao Liang and others frame this as Positive Distribution Pollution in Positive Distribution Pollution: Rethinking Positive Unlabeled Learning from a Unified Perspective. Because the labeled set is a distorted mirror of the true positive class, any model that tries to match the unlabeled data to that mirror will inevitably learn a skewed decision boundary.

Bypassing the Class Prior

A major hurdle in PU learning is estimating the class prior ($\pi$)—the actual proportion of positives hidden in the unlabeled pile. Standard methods are highly sensitive to this number. If your estimate of $\pi$ is wrong because your labeled data is biased, the whole classifier collapses.

To solve this, Fangqing Liu and Hao Wu introduced the Variational PU (VPU) framework in A Variational Approach for Learning from Positive and Unlabeled Data. Instead of trying to guess the exact proportion of positives, VPU uses a variational principle to minimize the Kullback-Leibler (KL) divergence between the true positive distribution and an approximated one. By relying on empirical averages rather than strict class prior estimates, the model becomes significantly more robust to selection bias.

Modeling the Propensity Score

If we can't assume that every positive has an equal chance of being labeled, we must model the propensity score: the probability $P(L=1 | X, Y=1)$ that a positive instance $X$ actually receives a label $L$.

In Recovering the Propensity Score from Biased Positive Unlabeled Data, Walter Gerych and Elke Rundensteiner demonstrate that even with biased data, the propensity score can be mathematically identified under certain conditions (like "Local Certainty"). Once you identify why certain items are more likely to be labeled, you can "re-weight" the importance of different examples to reconstruct an unbiased view of the entire positive class.

Robust Risk Estimation and Rectification

When the labeled data is non-representative, standard risk estimators produce biased results. Zayd Hammoudeh and Daniel Lowd tackle this in Learning from Positive and Unlabeled Data with Arbitrary Positive Shift by assuming only that the negative class distribution remains fixed. This allows them to create "absolute-value" corrections that outperform state-of-the-art methods even when the labeled positives are completely different from the target positives (e.g., due to concept drift).

Furthermore, in the realm of statistical inference, Jiacheng Miao and Jeffrey T. Leek propose rectification methods in ipd: Inference on Predicted Data. These methods use a small, potentially biased labeled subset to "correct" the errors of a model trained on large-scale predictions, ensuring that p-values and confidence intervals remain mathematically rigorous even when the underlying data selection was flawed.

Why It Works: From Randomness to Structure

The shift in this research direction is a move away from assuming randomness and toward modeling structure.

  1. Variational methods work because they treat the hidden labels as latent variables to be inferred, rather than missing values to be filled.
  2. Propensity modeling works by acknowledging the "human in the loop"—the expert or process that chose what to label—and mathematically undoing that person's subjective filter.
  3. Dual-Constraint approaches, such as those by Ximing Li in Balancing Positive and Negative Classification Error Rates in Positive-Unlabeled Learning, work by forcing the model to maintain a balance between error types, preventing it from over-relying on the biased "easy" positives.

By relaxing the SCAR assumption, these researchers have moved PU learning from a theoretical curiosity into a robust tool for real-world domains like fraud detection, medical diagnosis, and scientific inference, where the data we have is rarely a perfect reflection of the data we need.

Papers in this version

Showing 60 of 110 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 52 papers
  2. Version 1 · 2026-10-04 · 110 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_non_representative_labeling_cdc4ff91,
  title = {non-representative labeling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/non-representative-labeling/rdr_cdc4ff91f7014be99e2b0ab262472106},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_overcoming_selection_bias_in_positive_un_cdc4ff91_v1,
  title = {Overcoming Selection Bias in Positive Unlabeled Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/overcoming-selection-bias-in-positive-unlabeled-learning/rdr_cdc4ff91f7014be99e2b0ab262472106/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}