Improving Uncertainty Quantification of Deep Classifiers via Neighborhood Conformal Prediction: Novel Algorithm and Theoretical Analysis
Subhankar Ghosh, Taha Belkhouja, Yan Yan, Janardhan Rao Doppa
Abstract
Safe deployment of deep neural networks in high-stake real-world applications require theoretically sound uncertainty quantification. Conformal prediction (CP) is a principled framework for uncertainty quantification of deep models in the form of prediction set for classification tasks with a user-specified coverage (i.e., true class label is contained with high probability). This paper proposes a novel algorithm referred to as Neighborhood Conformal Prediction (NCP) to improve the efficiency of uncertainty quantification from CP for deep classifiers (i.e., reduce prediction set size). The key idea behind NCP is to use the learned representation of the neural network to identify k nearest-neighbor calibration examples for a given testing input and assign them importance weights proportional to their distance to create adaptive prediction sets. We theoretically show that if the learned data representation of the neural network satisfies some mild conditions, NCP will produce smaller prediction sets than traditional CP algorithms. Our comprehensive experiments on CIFAR-10, CIFAR-100, and ImageNet datasets using diverse deep neural networks strongly demonstrate that NCP leads to significant reduction in prediction set size over prior CP methods.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Conformal Prediction via Regression-as-Classification cites Locally Valid and Discriminative Prediction Intervals for Deep Learning Models
- Locally Valid and Discriminative Prediction Intervals for Deep Learning Models cites Uncertainty Sets for Image Classifiers using Conformal Prediction
- Conformal Prediction for Class-wise Coverage via Augmented Label Rank Calibration cites Uncertainty Sets for Image Classifiers using Conformal Prediction
- Conformal Prediction for Class-wise Coverage via Augmented Label Rank Calibration cites Classification with Valid and Adaptive Coverage
- Conformal Prediction for Class-wise Coverage via Augmented Label Rank Calibration cites Conformal Prediction for Deep Classifier via Label Ranking
- Uncertainty Sets for Image Classifiers using Conformal Prediction cites Classification with Valid and Adaptive Coverage
- Uncertainty Sets for Image Classifiers using Conformal Prediction cites PAC Confidence Sets for Deep Neural Networks via Calibrated Prediction
- Backward Conformal Prediction cites Uncertainty Sets for Image Classifiers using Conformal Prediction
- Backward Conformal Prediction cites Classification with Valid and Adaptive Coverage
- Conformal Prediction for Deep Classifier via Label Ranking cites Uncertainty Sets for Image Classifiers using Conformal Prediction
- Conformal Prediction for Deep Classifier via Label Ranking cites Classification with Valid and Adaptive Coverage
Cited by top-tier papers7
- Conformal Prediction for Deep Classifier via Label RankingJianguo Huang, Huajun Xi, Linjun Zhang, Huaxiu Yao et al.ICML 2024 · 50 citations
- Conformal Prediction for Class-wise Coverage via Augmented Label Rank CalibrationYuanjie Shi, Subhankar Ghosh, Taha Belkhouja, Jana Doppa et al.NeurIPS 2024 · 29 citations
- Conformal Prediction via Regression-as-ClassificationEtash Kumar Guha, Shlok Natarajan, Thomas Möllenhoff, Mohammad Emtiyaz Khan et al.ICLR 2024 · 21 citations
- Backward Conformal PredictionEtienne Gauthier, Francis Bach, Michael I. JordanNeurIPS 2025 · 19 citations
- Adaptive Conformal Anomaly Detection with Time Series Foundation Models for Signal Monitoring.Natalia Martinez, Fearghal O'Donncha, Wesley M. Gifford, Nianjun Zhou et al.ICLR 2026 · 5 citations
Builds on5
- Classification with Valid and Adaptive CoverageYaniv Romano, Matteo Sesia, Emmanuel J. CandèsNeurIPS 2020 · 586 citations
- Theoretical Analysis of Self-Training with Deep Networks on Unlabeled DataColin Wei, Kendrick Shen, Yining Chen, Tengyu MaICLR 2021 · 261 citations
- PAC Confidence Sets for Deep Neural Networks via Calibrated PredictionSangdon Park, Osbert Bastani, Nikolai Matni, Insup LeeICLR 2020 · 77 citations
- Uncertainty Sets for Image Classifiers using Conformal PredictionAnastasios Nikolas Angelopoulos, Stephen Bates, Michael I. Jordan, Jitendra MalikICLR 2021 · 31 citations
- Locally Valid and Discriminative Prediction Intervals for Deep Learning ModelsZhen Lin, Shubhendu Trivedi, Jimeng SunNeurIPS 2021 · 30 citations
Related papers
- Direct Prediction Set Minimization via Bilevel Conformal Classifier TrainingYuanjie Shi, Hooman Shahrokhi, Xuesong Jia, Xiongzhi Chen et al.ICML 2025
- Learning Optimal Conformal ClassifiersDavid Stutz, Krishnamurthy Dvijotham, Ali Taylan Cemgil, Arnaud DoucetICLR 2022 · 123 citations
- Uncertainty Quantification over Graph with Conformalized Graph Neural NetworksKexin Huang, Ying Jin, Emmanuel J. Candès, Jure LeskovecNeurIPS 2023 · 124 citations
- Enhancing Trustworthiness of Graph Neural Networks with Rank-Based Conformal TrainingTing Wang, Zhixin Zhou, Rui LuoAAAI 2025 · 12 citations
- On Temperature Scaling and Conformal Prediction of Deep ClassifiersLahav Dabah, Tom TirerICML 2025
