In positive-unlabelled (PU) learning, every labelled example is positive (), and each true positive is labelled independently of its features with constant probability . How do you express the true posterior in terms of the observed-label posterior and , and how can be estimated from a held-out set of labelled positives?
Foundations, Learning setup
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can apply Bayes' rule and the selected-completely-at-random (SCAR) assumption to recover calibrated positive probabilities without negative labels.
Key idea
Because negatives are never labelled (), the probability of seeing a label at factors as , so a classifier trained on labelled-vs-unlabelled data only needs rescaling by .
Steps
- Expand over the unobserved true label :
- Apply the two PU conditions: (no false-positive labels) and (SCAR assumption). This simplifies to , hence Note that for thresholding or ranking, any monotone score of already orders identically to .
- Estimate using a held-out validation set of labelled positives, assuming positive and negative classes do not overlap on (so for ): then for every .
- Train a calibrated binary classifier treating labelled () as positive and unlabelled () as negative, and estimate Then predict .
Common mistakes
- Treating all unlabelled points () as true negatives without the correction: that predicts instead of and underestimates positive probabilities.
- Forgetting that underestimates when the classes overlap ( on ), and that must be well-calibrated.
- Applying the Elkan–Noto formula when labelling depends on (violating SCAR), e.g., when easy positives are labelled more often than borderline positives.
How long your answer should be
Half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Foundations: Consider a -dimensional unit-radius hypersphere inscribed inside the hypercube . Using the hypersphere volume (where for an integer ), what fraction of the hypercube's volume does the sphere occupy for , and , and what does this imply about uniformly sampled points in high dimensions?
Next in Foundations: Consider a conjunctive hypothesis space over three binary attributes . What sequences of specific boundaries and general boundaries does the candidate-elimination algorithm produce on the four examples , , and , and which hypotheses remain in the final version space?