Learning from Positive and Unlabeled Data by Identifying the Annotation Process

Naji Shajarisales, Peter Spirtes, Kun ZhangarXiv 2020

Abstract

Standard Positive-Unlabeled (PU) learning often relies on the restrictive "Selected Completely At Random" (SCAR) assumption. This paper challenges that assumption, arguing that human annotators are inherently biased by data features. By modeling the annotation process using psychophysics-inspired functions, the authors demonstrate that it is possible to achieve significantly more accurate classification in real-world scenarios while maintaining model identifiability.

Introduction: Beyond the SCAR Assumption

In many machine learning domains, such as ecology or medical diagnosis, we encounter "Positive and Unlabeled" (PU) data. We know where a species has been observed (positive), but we cannot be certain if its absence elsewhere indicates a true negative or simply a lack of observation (unlabeled).

The prevailing approach to PU learning is the SCAR (Selected Completely At Random) assumption, which assumes the probability of a positive instance being labeled is a constant, independent of its features. However, human experts are rarely random; they are biased toward labeling "obvious" or "easy" cases. Ignoring this feature-dependent bias can lead to "non-unique" models where multiple, often incorrect, functions fit the data equally well. This research proposes replacing SCAR with more realistic models of the human annotation process.

Modeling the Annotation Process

The authors introduce a Smoothness Assumption: the decision to label an item is a "smooth" function of its features, typically smoother than the actual classification boundary. They propose two primary model families to implement this:

  1. Sigmoidal Product Model (SPM): This model represents the probability of an item being labeled as the product of two sigmoidal functions—one for the true class and one for the expert's selection process.
  2. Psychometric Model (PsychM): Drawing from psychophysics, this model explicitly accounts for human error and bias.

The Psychometric Model (PsychM)

The PsychM model incorporates parameters that describe the behavior of human observers in detection tasks. These include the guessing rate ($\gamma$), representing the probability of labeling an instance by chance, and the lapse rate ($\lambda$), representing the probability of missing a clear positive instance.

Psychometric functions illustrating guessing rates ($\gamma$), lapse rates ($\lambda$), and thresholds ($\alpha$) in forced-choice tasks.

As shown in Figure 1, these functions model the proportion of correct responses as a function of stimulus level. By treating the annotator as a "sensor" with these specific characteristics, the learning algorithm can be "calibrated" to account for their inherent biases.

Identifiability and Inference

A core technical contribution of this work is the mathematical proof of identifiability. The authors show that even with only positive and unlabeled data, the "true classification function" can be uniquely separated from the "expert selection function" under mild conditions. This ensures that the more complex models do not lead to ambiguity or overfitting. Inference is performed using Maximum Likelihood Estimation (MLE) with standard optimizers like L-BFGS and Adam to learn all parameters simultaneously.

Experimental Evaluation

The models were evaluated on both synthetic and real-world data:

  • Synthetic Data: A 5-dimensional dataset where ground truth selection bias was known, allowing for controlled comparison against SCAR-based methods.
  • Neuroscience Dataset: A "go/no-go" animal categorization task where humans identified animals in images shown for 200ms. Images were featurized using a pre-trained VGG16 network. This provides a benchmark where the "expert" (the human subject) is naturally biased by image qualities like resolution and object size.

Key Results and Insights

  • Superior Performance: In synthetic trials, both SPM and PsychM significantly outperformed classic SCAR-based methods (e.g., Elkan & Noto) across F1 score, AUC, and Brier score.
  • Real-world Accuracy: On the neuroscience dataset, the proposed models consistently achieved test accuracy often exceeding 90%, far surpassing "Naive" or SCAR-based approaches.
  • Model Complexity: Interestingly, the simpler SPM often performed as well as or better than the more complex PsychM when data was sparse, likely due to having fewer parameters to estimate.

Conclusion and Future Work

This research demonstrates that labeling is not merely a data-cleaning step but a data-generating process that should be modeled. Moving from "labels are random" to "labels are smooth" provides a significant leap in realism for PU learning.

While the current models rely on parametric sigmoidal shapes, future work may explore non-parametric models to define "smoothness" more flexibly. Additionally, as dimensionality increases, careful regularization remains essential for stable optimization.

Reference: Shajarisales, N., Spirtes, P., & Zhang, K. (2020). Learning from Positive and Unlabeled Data by Identifying the Annotation Process. arXiv:2003.01067v1.

Summary updated

Abstract

In binary classification, Learning from Positive and Unlabeled data (LePU) is semi-supervised learning but with labeled elements from only one class. Most of the research on LePU relies on some form of independence between the selection process of annotated examples and the features of the annotated class, known as the Selected Completely At Random (SCAR) assumption. Yet the annotation process is an important part of the data collection, and in many cases it naturally depends on certain features of the data (e.g., the intensity of an image and the size of the object to be detected in the image). Without any constraints on the model for the annotation process, classification results in the LePU problem will be highly non-unique. So proper, flexible constraints are needed. In this work we incorporate more flexible and realistic models for the annotation process than SCAR, and more importantly, offer a solution for the challenging LePU problem. On the theory side, we establish the identifiability of the properties of the annotation process and the classification function, in light of the considered constraints on the data-generating process. We also propose an inference algorithm to learn the parameters of the model, with successful experimental results on both simulated and real data. We also propose a novel real-world dataset forLePU, as a benchmark dataset for future studies.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Neuroscience real-world dataset (fsa subject)PsychMf1 score0.89584+0.01 vs baselinesubject=fsa
Source quote
L680: PsychM │ {\bf 0.89584} │ 0.91418 │ {\bf 0.92377} │ 0.92644 │ {\bf 0.93729}
Neuroscience real-world dataset (mta subject)PsychMf1 score0.91418+0.01 vs baselinesubject=mta
Source quote
L680: PsychM │ {\bf 0.89584} │ 0.91418 │ {\bf 0.92377} │ 0.92644 │ {\bf 0.93729}
Neuroscience real-world dataset (mba subject)PsychMf1 score0.93729+0.01 vs baselinesubject=mba
Source quote
L680: PsychM │ {\bf 0.89584} │ 0.91418 │ {\bf 0.92377} │ 0.92644 │ {\bf 0.93729}
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
Neuroscience real-world dataset (fsa subject)Elkan baselinef1 score0.88440subject=fsa
Source quote
L682: Elkan │ 0.88440 │ 0.90373 │ 0.91308 │ 0.91759 │ 0.92901
Neuroscience real-world dataset (mta subject)Elkan baselinef1 score0.90373subject=mta
Source quote
L682: Elkan │ 0.88440 │ 0.90373 │ 0.91308 │ 0.91759 │ 0.92901
Neuroscience real-world dataset (mba subject)Elkan baselinef1 score0.92901subject=mba
Source quote
L682: Elkan │ 0.88440 │ 0.90373 │ 0.91308 │ 0.91759 │ 0.92901
BibTeX
@misc{shajarisales2020learning,
  author = {Naji Shajarisales and Peter Spirtes and Kun Zhang},
  title = {{Learning from Positive and Unlabeled Data by Identifying the Annotation Process}},
  year = {2020},
  eprint = {2003.01067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.01067},
}
Figure