English

Uncertainty Sets for Image Classifiers using Conformal Prediction

Computer Vision and Pattern Recognition 2022-09-07 v5 Statistics Theory Machine Learning Statistics Theory

Abstract

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.

Keywords

Cite

@article{arxiv.2009.14193,
  title  = {Uncertainty Sets for Image Classifiers using Conformal Prediction},
  author = {Anastasios Angelopoulos and Stephen Bates and Jitendra Malik and Michael I. Jordan},
  journal= {arXiv preprint arXiv:2009.14193},
  year   = {2022}
}

Comments

ICLR 2021 Spotlight, https://openreview.net/forum?id=eNdiU_DbM9 . Project website at https://people.eecs.berkeley.edu/~angelopoulos/blog/posts/conformal-classification/ . Codebase at https://github.com/aangelopoulos/conformal_classification

R2 v1 2026-06-23T18:53:15.906Z