Papers › Uncertainty Sets for Image Classifiers using Conformal Prediction

Uncertainty Sets for Image Classifiers using Conformal Prediction

29 Sep 2020ICLR 2021 1arXiv:2009.14193archive 2025-07-28

Anastasios Angelopoulos, Stephen Bates, Jitendra Malik, Michael. I. Jordan

Convolutional image classifiers can achieve high predictive accuracy, but quantifying their uncertainty remains an unresolved challenge, hindering their deployment in consequential settings. Existing uncertainty quantification techniques, such as Platt scaling, attempt to calibrate the network's probability estimates, but they do not have formal guarantees. We present an algorithm that modifies any classifier to output a predictive set containing the true label with a user-specified probability, such as 90%. The algorithm is simple and fast like Platt scaling, but provides a formal finite-sample coverage guarantee for every model and dataset. Our method modifies an existing conformal prediction algorithm to give more stable predictive sets by regularizing the small scores of unlikely classes after Platt scaling. In experiments on both Imagenet and Imagenet-V2 with ResNet-152 and other classifiers, our scheme outperforms existing approaches, achieving coverage with sets that are often factors of 5 to 10 smaller than a stand-alone Platt scaling baseline.

PaperPDFConference PDFCodeCode 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="2009.14193")

Code

Syntology Ran 19 of 63 code samples harvested from 5 repositories linked to this paper; 44 have no recorded run. Of those that ran: 4 ran · honoured contract; 3 ran · our draft was wrong; 8 ran · fixture could not drive it; 4 ran with no contract checked.

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

aangelopoulos/conformal-classification officialmentioned in papermentioned on GitHubpytorch report
aangelopoulos/conformal_classification officialmentioned in papermentioned on GitHubpytorchMIT report
cambridge-mlg/acp mentioned on GitHubpytorch 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

63 samples harvested; 19 ran; 4 honoured the contract we drafted; 44 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.

4ran · honoured contract
3ran · our draft was wrong
8ran · fixture could not drive it
4ran
44unverified

Licence: 19 of the 63 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 5 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.

validate aangelopoulos/conformal-classification/conformal.py official repository ran · fixture could not drive it MIT (permissive) · bd14e9d95bb7ddfc · report
ConformalModelLogits aangelopoulos/conformal-classification/conformal.py official repository unverified MIT (permissive) · 47a75f97f3f91fb8 · report
adaptiveness_table aangelopoulos/conformal_classification/experiments/table4.py official repository unverified MIT (permissive) · af6e06025c2d3e9e · report
difficulty_table aangelopoulos/conformal_classification/experiments/table10.py official repository unverified MIT (permissive) · b8814251e2dc9f83 · report
experiment aangelopoulos/conformal_classification/experiments/figure2.py official repository unverified MIT (permissive) · dd37044d7fcf6f2e · report
experiment aangelopoulos/conformal_classification/experiments/table11.py official repository unverified MIT (permissive) · 8609f9ffa4a463bb · report
get_worst_violation aangelopoulos/conformal_classification/experiments/table11.py official repository unverified MIT (permissive) · 51f746f61feab779 · report
get_worst_violation aangelopoulos/conformal_classification/experiments/table5.py official repository unverified MIT (permissive) · 482667afefc89fc3 · report
make_table aangelopoulos/conformal_classification/experiments/table1.py official repository unverified MIT (permissive) · 8ce51944e3958c60 · report
make_table aangelopoulos/conformal_classification/experiments/table11.py official repository unverified MIT (permissive) · 837d496b65e5409a · report
make_table aangelopoulos/conformal_classification/experiments/table2.py official repository unverified MIT (permissive) · 3e5323ecb83f4191 · report
make_table aangelopoulos/conformal_classification/experiments/table5.py official repository unverified MIT (permissive) · 153f3eb42aa57f6e · report
pick_lamda_adaptiveness aangelopoulos/conformal-classification/conformal.py official repository unverified MIT (permissive) · d4fe06777aaee19f · report
pick_lamda_size aangelopoulos/conformal-classification/conformal.py official repository unverified MIT (permissive) · 417da00712c1c058 · report
pick_parameters aangelopoulos/conformal-classification/conformal.py official repository unverified MIT (permissive) · 4fcc55d02d28d664 · report
sizes_topk aangelopoulos/conformal_classification/experiments/figure4.py official repository unverified MIT (permissive) · 87ad8de994d4aae2 · report
sizes_topk aangelopoulos/conformal_classification/experiments/table10.py official repository unverified MIT (permissive) · 22b3af80b38fd3f2 · report
sizes_topk aangelopoulos/conformal_classification/experiments/table4.py official repository unverified MIT (permissive) · 39885834be3c21d8 · report
trial aangelopoulos/conformal_classification/experiments/figure2.py official repository unverified MIT (permissive) · 10b67766f6a8b97f · report
trial aangelopoulos/conformal_classification/experiments/table1.py official repository unverified MIT (permissive) · fc1b080706827acb · report
validate aangelopoulos/conformal_classification/utils.py official repository unverified MIT (permissive) · c3f300aad6687f87 · report
ACP_D cambridge-mlg/acp/src/acp/methods.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 31ac51fceb1bed9c · report
AverageMeterNamed matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) ran no licence file found · pointer only · 233fd8c72fe7bee3 · report
EmpiricalCoverageBase lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran Apache-2.0 (permissive) · 2df4a9fc1d319ad7 · report
accuracy_RAPS matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · ad9b2ac4522ac726 · report
find_kreg_param lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · d540f5e805ba1e82 · report
gcq matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 91bbe02deed691ad · report
gen_cond_quantile_function lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran Apache-2.0 (permissive) · 9f1c82f5fda99c76 · report
gen_inverse_quantile_function lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 355136b6943fb837 · report
get_tau matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · ffb82a3e85bf0356 · report
get_violation lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran Apache-2.0 (permissive) · f43a6e1abc3d5ba6 · report
identity lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 9adf3e5a14a94f24 · report
platt_logits matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 27301ab04f721d1b · report
process_classification_prediction lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 162981b9545d9250 · report
run_temperature_optimization lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 334697eb3983e90d · report
sort_sum matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · ce9cdd0a73c5e072 · report
sort_sum lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 0915e08c6d516b48 · report
temp_scale_logits lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 6fd34088368dcdbf · report
validate matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · cf250d297edd395d · report
BaseModule lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · 466b72a3e0124a34 · report
ConformalModel matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · d70924ef3a0c1d8c · report
ConformalModelLogits matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · b1c2b43f4d3b155b · report
ConformalModelLogits lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · b55f91e7bf34638e · report
EmpiricalCoverage lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · 99e14fdcc6ff711f · report
PosthocBase lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · ed0742b3cda42dbb · report
RAPS lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · e151158cfc4459c8 · report
SetSize lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · 8ad44ec25960a4a2 · report
compute_q_hat lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · b21986df9d596afb · report
conformal_calibration_logits matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · 2faec253bfdad8a3 · report
coverage_size matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · f246b8eb9dcd2a55 · report
find_lamda_param_adaptiveness lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · 0e425cc3cb76f358 · report
find_lamda_param_size lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · 5002e7982e88d68b · report
get_logits_targets matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · 3a9dae3b91f61830 · report
get_single_tau lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · 8834b23ad655655f · report
get_violation matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · a1271a87af4e4175 · report
giq matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · 28513efa13e9bf63 · report
log_to_file cambridge-mlg/acp/src/acp/methods.py community (archive-listed) unverified MIT (permissive) · 69d3f5abde3456e2 · report
pick_kreg matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · 925e3a758022b8dc · report
pick_lamda_adaptiveness matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · b2728fc9fde250ba · report
pick_lamda_size matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · cc2739d79cf32721 · report
pick_parameters matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · 1ce010bfb1ac1994 · report
platt matinmoezzi/ups_conformal_classification/conformal_classification/conformal.py community (archive-listed) unverified no licence file found · pointer only · f43467eedb43283d · report
save_classification_predictions lightning-uq-box/lightning-uq-box/lightning_uq_box/uq_methods/raps.py community (archive-listed) unverified Apache-2.0 (permissive) · 75313f9955e8f579 · report

Tasks

Conformal PredictionPredictionUncertainty Quantification

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