Papers › Conformal prediction under ambiguous ground truth

Conformal prediction under ambiguous ground truth

18 Jul 2023arXiv:2307.09302archive 2025-07-28

David Stutz, Abhijit Guha Roy, Tatiana Matejovicova, Patricia Strachan, Ali Taylan Cemgil, Arnaud Doucet

Conformal Prediction (CP) allows to perform rigorous uncertainty quantification by constructing a prediction set C(X) satisfying ℙ(Y ∈C(X))≥1-α for a user-chosen α∈[0,1] by relying on calibration data (X₁,Y₁),...,(Xₙ,Yₙ) from ℙ=ℙ^X ⊗ℙ^(Y|X). It is typically implicitly assumed that ℙ^(Y|X) is the "true" posterior label distribution. However, in many real-world scenarios, the labels Y₁,...,Yₙ are obtained by aggregating expert opinions using a voting procedure, resulting in a one-hot distribution ℙᵥₒₜₑ^(Y|X). For such ``voted'' labels, CP guarantees are thus w.r.t. ℙᵥₒₜₑ=ℙ^X ⊗ℙᵥₒₜₑ^(Y|X) rather than the true distribution ℙ. In cases with unambiguous ground truth labels, the distinction between ℙᵥₒₜₑ and ℙ is irrelevant. However, when experts do not agree because of ambiguous labels, approximating ℙ^(Y|X) with a one-hot distribution ℙᵥₒₜₑ^(Y|X) ignores this uncertainty. In this paper, we propose to leverage expert opinions to approximate ℙ^(Y|X) using a non-degenerate distribution ℙ_(agg)^(Y|X). We develop Monte Carlo CP procedures which provide guarantees w.r.t. ℙ_(agg)=ℙ^X ⊗ℙ_(agg)^(Y|X) by sampling multiple synthetic pseudo-labels from ℙ_(agg)^(Y|X) for each calibration example X₁,...,Xₙ. In a case study of skin condition classification with significant disagreement among expert annotators, we show that applying CP w.r.t. ℙᵥₒₜₑ under-covers expert annotations: calibrated for 72% coverage, it falls short by on average 10%; our Monte Carlo CP closes this gap both empirically and theoretically.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.09302")

Code

Syntology Ran 6 of 19 code samples harvested from 2 repositories linked to this paper; 13 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 3 ran · fixture could not drive it.

By repository: official repository: 6 samples from 1 repository, 6 ran; community (archive-listed): 13 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

google-deepmind/uncertain_ground_truth officialmentioned on GitHubjax report
alaalab/webcp mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 6 ran; 1 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
3ran · fixture could not drive it
13unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calibrate_mc_threshold google-deepmind/uncertain_ground_truth/monte_carlo.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 9454afd876c4a7c7 · report
calibrate_threshold google-deepmind/uncertain_ground_truth/conformal_prediction.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 9dbcb314e6aad51b · report
conformal_quantile google-deepmind/uncertain_ground_truth/conformal_prediction.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · c293ce6b6a5d4d3d · report
mc_conformal_quantile google-deepmind/uncertain_ground_truth/monte_carlo.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 2436571bd53cdc72 · report
predict_threshold google-deepmind/uncertain_ground_truth/conformal_prediction.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 792f08759b26f4dc · report
sample_mc_labels google-deepmind/uncertain_ground_truth/monte_carlo.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 63fb282a3dc3fb0a · report
class_stratified_coverage alaalab/webcp/ambiguous_cp/metrics.py community (archive-listed) unverified MIT (permissive) · 981bb17491bde067 · report
compute_prediction_sets alaalab/webcp/ambiguous_cp/conformal_risk_control.py community (archive-listed) unverified MIT (permissive) · 3776f69137111df4 · report
compute_prediction_sets_threshold alaalab/webcp/ambiguous_cp/conformal_prediction_methods.py community (archive-listed) unverified MIT (permissive) · d57df6bb388ac156 · report
compute_simscores alaalab/webcp/compute_alignments/generate_context_alignments.py community (archive-listed) unverified MIT (permissive) · 1a976aa6e853fa6b · report
compute_threshold alaalab/webcp/ambiguous_cp/conformal_prediction_methods.py community (archive-listed) unverified MIT (permissive) · 9b4f33f1fb0e29e7 · report
get_fileidx_list alaalab/webcp/compute_alignments/generate_context_alignments.py community (archive-listed) unverified MIT (permissive) · d9ea461f5d5de794 · report
openclip_image_preprocess alaalab/webcp/ambiguous_cp/experiment.py community (archive-listed) unverified MIT (permissive) · a3b4517e7249c4cf · report
openclip_process alaalab/webcp/ambiguous_cp/experiment.py community (archive-listed) unverified MIT (permissive) · 33202b9bd3d95c68 · report
openclip_process alaalab/webcp/ambiguous_cp/plausibility_generation.py community (archive-listed) unverified MIT (permissive) · 4692dedab0106411 · report
openclip_text_preprocess alaalab/webcp/ambiguous_cp/experiment.py community (archive-listed) unverified MIT (permissive) · cc19e29ec50fcdf5 · report
overall_coverage alaalab/webcp/ambiguous_cp/metrics.py community (archive-listed) unverified MIT (permissive) · 829b99fa5448188b · report
performance_report alaalab/webcp/ambiguous_cp/analysis.py community (archive-listed) unverified MIT (permissive) · ad14a67ac002ed26 · report
samplewise_loss alaalab/webcp/ambiguous_cp/conformal_prediction_methods.py community (archive-listed) unverified MIT (permissive) · 395fb2dace74ef7e · report

Tasks

Conformal PredictionPredictionUncertainty Quantification

Datasets

Introduced by this paper, per the archive.

Dermatology ddx dataset

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections