Research map / Label-efficient and robust learning / Recognition and long-tail
On Temperature Scaling and Conformal Prediction of Deep Classifiers
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Empirically and theoretically studies how temperature scaling affects adaptive conformal prediction (APS, RAPS) set size and class-conditional coverage, showing a non-monotonic trend in set size and a trade-off controllable via temperature.
Problem
Calibration (temperature scaling) and conformal prediction are both used to quantify uncertainty of DNN classifiers, but their interplay has not been studied; in particular, how TS affects set size and conditional coverage of CP methods is unknown.
Approach
Shows that TS calibration increases APS/RAPS set sizes while improving class-conditional coverage, explores TS over a wide temperature range beyond calibration, and provides a theory (threshold monotonicity plus a gap-function analysis) explaining the non-monotonic set size trend, leading to practitioner guidelines using a separate CP temperature.
Key results
- After TS calibration, APS set size on CIFAR-100 ResNet50 rises from 5.31 to 9.14 at alpha=0.1, while LAC changes negligibly (1.62 to 1.57).
- TS calibration improves APS/RAPS top-5% class coverage gap (e.g., ImageNet ViT-B/16 APS 14.2% to 12.2%), while marginal coverage is maintained within 0.1%.
- Sweeping temperature from 0.5 to 5 shows a non-monotonic AvgSize peak for APS and RAPS, with the threshold decreasing monotonically; theory explains the peak location and its shift with the number of classes C.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Apply TS calibration before APS | APS on CIFAR-100 (ResNet50) · CIFAR-100 (ResNet50), α=0.1 | AvgSize: 5.31 -> 9.14 | Hurt |
| Apply TS calibration before RAPS | RAPS on CIFAR-100 (ResNet50) · CIFAR-100 (ResNet50), α=0.1 | AvgSize: 2.88 -> 4.96 | Hurt |
| Apply TS calibration before APS | APS on CIFAR-100 (ResNet50) · CIFAR-100 (ResNet50), α=0.1 | TopCovGap (%): 12.6 -> 9.0 | Helped |
| Apply TS calibration before RAPS | RAPS on CIFAR-100 (ResNet50) · CIFAR-100 (ResNet50), α=0.1 | TopCovGap (%): 11.7 -> 7.9 | Helped |
| Apply TS calibration before LAC | LAC on CIFAR-100 (ResNet50) · CIFAR-100 (ResNet50), α=0.1 | AvgSize: 1.62 -> 1.57 | No clear effect |
| Apply TS calibration before APS | APS on ImageNet (ResNet152) · ImageNet (ResNet152), α=0.1 | AvgSize: 6.34 -> 11.11 | Hurt |
| Apply TS calibration before APS | APS on CIFAR-10 (ResNet50) · CIFAR-10 (ResNet50), α=0.1 | AvgSize: 1.04 -> 1.13 | No clear effect |
| Increase temperature T below the critical temperature | APS and RAPS · Examined dataset-model combinations, T < Tc | AvgSize | Hurt |
| Increase temperature T below the critical temperature | APS and RAPS · Examined dataset-model combinations, T < Tc | TopCovGap | Helped |
| Increase temperature T beyond the critical temperature | APS and RAPS · Examined dataset-model combinations, T > Tc | AvgSize | Helped |
| Increase temperature T | APS and RAPS · Examined dataset-model combinations | CP threshold | Helped |
| Apply TS calibration before any examined CP method | LAC, APS, and RAPS · All reported dataset-model combinations, α=0.1 | MarCovGap (%) | No clear effect |
Surprising findings
- Temperature scaling, designed for calibration, increases the average prediction set size of APS and RAPS even though it improves class-conditional coverage.
- The effect of temperature on APS/RAPS set size is non-monotonic, with set size peaking at a critical temperature before declining.
Limitations
- Theory covers only the set size of APS/RAPS; the effect on conditional coverage is left for future work.
- Theoretical analysis relies on an assumption that the threshold-defining quantile sample is shared with and dominated by a large logit gap, approximated rather than proven.
- Experiments are limited to image classifiers on CIFAR-10/100 and ImageNet.
Experimental setup
Datasets: CIFAR-10 CIFAR-100 ImageNet
Benchmarks: CIFAR-10 CIFAR-100 ImageNet
Metrics: AvgSize MarCovGap TopCovGap AvgCovGap
Baselines: LAC APS RAPS Mondrian CP
Builds on: Temperature Scaling Adaptive Prediction Sets Regularized Adaptive Prediction Sets Least Ambiguous set-valued Classifier
Closest papers by meaning
- On the Limitations of Temperature Scaling for Distributions with Overlaps (ICLR 2024 · similarity 0.90)
- Class Adaptive Conformal Training (NeurIPS 2026 · similarity 0.88)
- Self-Calibrating Conformal Prediction (NeurIPS 2024 · similarity 0.88)
- Direct Prediction Set Minimization via Bilevel Conformal Classifier Training (ICML 2025 · similarity 0.88)
- Conformal Prediction for Class-wise Coverage via Augmented Label Rank Calibration (NeurIPS 2024 · similarity 0.87)
- Approximating Full Conformal Prediction for Neural Network Regression with Gauss-Newton Influence (ICLR 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
