On Temperature Scaling and Conformal Prediction of Deep Classifiers
Lahav Dabah, Tom Tirer
摘要
In many classification applications, the prediction of a deep neural network (DNN) based classifier needs to be accompanied by some confidence indication. Two popular approaches for that aim are: 1) Calibration: modifies the classifier’s softmax values such that the maximal value better estimates the correctness probability; and 2) Conformal Prediction (CP): produces a prediction set of candidate labels that contains the true label with a user-specified probability, guaranteeing marginal coverage but not, e.g., per class coverage. In practice, both types of indications are desirable, yet, so far the interplay between them has not been investigated. Focusing on the ubiquitous Temperature Scaling (TS) calibration, we start this paper with an extensive empirical study of its effect on prominent CP methods. We show that while TS calibration improves the class-conditional coverage of adaptive CP methods, surprisingly, it negatively affects their prediction set sizes. Motivated by this behavior, we explore the effect of TS on CP beyond its calibration application and reveal an intriguing trend under which it allows to trade prediction set size and conditional coverage of adaptive CP methods. Then, we establish a mathematical theory that explains the entire non-monotonic trend. Finally, based on our experiments and theory, we offer guidelines for practitioners to effectively combine adaptive CP with calibration, aligned with user-defined goals.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Class-Conditional Conformal Prediction with Many Classes 引用了 Classification with Valid and Adaptive Coverage
- Mitigating Neural Network Overconfidence with Logit Normalization 引用了 Rethinking Calibration of Deep Neural Networks: Do Not Be Afraid of Overconfidence
- Questioning the Coverage-Length Metric in Conformal Prediction: When Shorter Intervals Are Not Better 引用了 Boosted Conformal Prediction Intervals
- Class conditional conformal prediction for multiple inputs by p-value aggregation 引用了 Class-Conditional Conformal Prediction with Many Classes
- Class conditional conformal prediction for multiple inputs by p-value aggregation 引用了 Classification with Valid and Adaptive Coverage
- Parametric Scaling Law of Tuning Bias in Conformal Prediction 引用了 Classification with Valid and Adaptive Coverage
- Enhancing Conformal Prediction via Class Similarity 引用了 Class-Conditional Conformal Prediction with Many Classes
- Enhancing Conformal Prediction via Class Similarity 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Enhancing Conformal Prediction via Class Similarity 引用了 Classification with Valid and Adaptive Coverage
引用它的顶会 Paper5
- Boosted Conformal Prediction IntervalsRan Xie, Rina Barber, Emmanuel J. CandèsNeurIPS 2024 · 34 次引用
- Questioning the Coverage-Length Metric in Conformal Prediction: When Shorter Intervals Are Not BetterYizhou Min, Yizhou Lu, Lanqi Li, Zhen Zhang 等ICML 2026
- Class conditional conformal prediction for multiple inputs by p-value aggregationJean-Baptiste Fermanian, Mohamed Hebiri, Joseph SalmonNeurIPS 2025
- Parametric Scaling Law of Tuning Bias in Conformal PredictionHao Zeng, Kangdao Liu, Bingyi Jing, Hongxin WeiICML 2025
- Enhancing Conformal Prediction via Class SimilarityAriel Fargion, Lahav Dabah, Tom TirerICML 2026
它引用的 Paper10
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Classification with Valid and Adaptive CoverageYaniv Romano, Matteo Sesia, Emmanuel J. CandèsNeurIPS 2020 · 586 次引用
- Mitigating Neural Network Overconfidence with Logit NormalizationHongxin Wei, Renchunzi Xie, Hao Cheng, Lei Feng 等ICML 2022 · 386 次引用
- Rethinking Calibration of Deep Neural Networks: Do Not Be Afraid of OverconfidenceDeng-Bao Wang, Lei Feng, Min-Ling ZhangNeurIPS 2021 · 177 次引用
- Class-Conditional Conformal Prediction with Many ClassesTiffany Ding, Anastasios Angelopoulos, Stephen Bates, Michael I. Jordan 等NeurIPS 2023 · 160 次引用
相关 Paper
- Improving Uncertainty Quantification of Deep Classifiers via Neighborhood Conformal Prediction: Novel Algorithm and Theoretical AnalysisSubhankar Ghosh, Taha Belkhouja, Yan Yan, Janardhan Rao DoppaAAAI 2023 · 30 次引用
- Direct Prediction Set Minimization via Bilevel Conformal Classifier TrainingYuanjie Shi, Hooman Shahrokhi, Xuesong Jia, Xiongzhi Chen 等ICML 2025
- Conformal Prediction for Class-wise Coverage via Augmented Label Rank CalibrationYuanjie Shi, Subhankar Ghosh, Taha Belkhouja, Jana Doppa 等NeurIPS 2024 · 29 次引用
- Conformal Prediction for Deep Classifier via Label RankingJianguo Huang, Huajun Xi, Linjun Zhang, Huaxiu Yao 等ICML 2024 · 50 次引用
- Learning Optimal Conformal ClassifiersDavid Stutz, Krishnamurthy Dvijotham, Ali Taylan Cemgil, Arnaud DoucetICLR 2022 · 123 次引用
