Skip to main content
QUICK REVIEW

[Paper Review] Assessing binary classifiers using only positive and unlabeled data

Marc Claesen, Jesse Davis|arXiv (Cornell University)|Jan 1, 2015
Machine Learning and Data ClassificationComputer Science31 references7 citations
TL;DR

This paper proposes a method to estimate binary classifier performance metrics—such as ROC and PR curves—using only positive and unlabeled data by estimating the fraction of latent positives in the unlabeled set. The approach constructs lower and upper bounds on the false positive rate via rank distribution analysis, enabling reliable evaluation even without fully labeled test sets, with empirical validation showing accurate curve estimation on real data.

ABSTRACT

Assessing the performance of a learned model is a crucial part of machine learning. However, in some domains only positive and unlabeled examples are available, which prohibits the use of most standard evaluation metrics. We propose an approach to estimate any metric based on contingency tables, including ROC and PR curves, using only positive and unlabeled data. Estimating these performance metrics is essentially reduced to estimating the fraction of (latent) positives in the unlabeled set, assuming known positives are a random sample of all positives. We provide theoretical bounds on the quality of our estimates, illustrate the importance of estimating the fraction of positives in the unlabeled set and demonstrate empirically that we are able to reliably estimate ROC and PR curves on real data.

Motivation & Objective

  • To address the challenge of evaluating binary classifiers when only positive and unlabeled examples are available, as standard metrics require fully labeled test sets.
  • To develop a method that enables estimation of performance metrics like AUC, precision, and recall without access to ground truth labels for unlabeled data.
  • To provide theoretical bounds on false positive rates using only the ranking of predictions and an estimate of the proportion of positives in the unlabeled set.
  • To demonstrate that naive assumptions—such as treating all unlabeled data as negative—can lead to incorrect model selection, highlighting the need for more nuanced evaluation.

Proposed method

  • The method estimates the fraction of latent positives in the unlabeled set (β) using a bootstrap-based confidence interval on the rank distribution of known positives.
  • It constructs lower and upper bounds on the false positive rate at each rank by analyzing the rank cumulative distribution function (CDF) of known positives within the overall ranking.
  • Contingency tables are derived from these bounds, allowing estimation of true positive rate, false positive rate, precision, and recall under uncertainty.
  • The approach uses the rank CDF of known positives to infer surrogate positive sets and propagate uncertainty through performance metrics.
  • It formulates bounds on ROC and PR curves by treating the estimated β as a parameter that scales the false positive rate, with sensitivity analysis showing non-uniform effects on AUC.
  • The method is validated using real-world data (covtype), comparing estimated bounds against ground truth curves under varying estimates of β.

Experimental results

Research questions

  • RQ1Can performance metrics such as AUC, precision, and recall be reliably estimated when only positive and unlabeled data are available?
  • RQ2How does uncertainty in the fraction of latent positives in the unlabeled set affect the reliability of estimated performance metrics?
  • RQ3What are the theoretical bounds on false positive rates when ground truth labels for unlabeled examples are unknown?
  • RQ4Does naively assuming all unlabeled examples are negative lead to incorrect model selection, and if so, how can this be avoided?
  • RQ5How do estimated ROC and PR curves compare to ground truth when using different estimates of the latent positive fraction β?

Key findings

  • The method successfully estimates ROC and PR curves using only positive and unlabeled data, with bounds closely approximating the true performance curves on the covtype dataset.
  • When β was estimated at 49%, the estimated AUC for model 1 was 75.5% (compared to true 72.5%), and for model 2 it was 74.7% (compared to true 73.2%), showing strong empirical accuracy.
  • The confidence interval for β (0.8β to 1.2β) produced bounds that contained the true rank CDF of latent positives, validating the bootstrap estimation approach.
  • Estimates in PR space were more sensitive to β estimation error than in ROC space due to precision’s dependence on class balance.
  • Known negatives slightly improve estimation quality by reducing degrees of freedom in surrogate positive assignment, though the benefit is small in practice.
  • Reversing the labeling (using 1−β) when many negatives are available can improve performance bounds, suggesting label flipping as a potential refinement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.