Sample-dependent Adaptive Temperature Scaling for Improved Calibration
Not on the map. Why?
Abstract (arXiv)
It is now well known that neural networks can be wrong with high confidence in their predictions, leading to poor calibration. The most common post-hoc approach to compensate for this is to perform temperature scaling, which adjusts the confidences of the predictions on any input by scaling the logits by a fixed value. Whilst this approach typically improves the average calibration across the whole test dataset, this improvement typically reduces the individual confidences of the predictions irrespective of whether the classification of a given input is correct or incorrect. With this insight, we base our method on the observation that different samples contribute to the calibration error by varying amounts, with some needing to increase their confidence and others needing to decrease it. Therefore, for each input, we propose to predict a different temperature value, allowing us to adjust the mismatch between confidence and accuracy at a finer granularity. Furthermore, we observe improved results on OOD detection and can also extract a notion of hardness for the data-points. Our method is applied post-hoc, consequently using very little computation time and with a negligible memory footprint and is applied to off-the-shelf pre-trained classifiers. We test our method on the ResNet50 and WideResNet28-10 architectures using the CIFAR10/100 and Tiny-ImageNet datasets, showing that producing per-data-point temperatures is beneficial also for the expected calibration error across the whole test set. Code is available at: https://github.com/thwjoy/adats.
Key facts. Cited by 48 papers in the map (data through 7 Oct 2026). Builds on 31 of its 48 references that are in the map. First posted on arXiv 13 Jul 2022.
Builds on
31 of 48 references.
References · 31
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2016Wide Residual Networkscited by 3,057
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2019When Does Label Smoothing Help?cited by 985
- 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 728
- 2018Predictive Uncertainty Estimation via Prior Networkscited by 555
- 2015Weight Uncertainty in Neural Networkscited by 554
- 2015Variational Dropout and the Local Reparameterization Trickcited by 489
19 more
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2019Measuring Calibration in Deep Learningcited by 443
- 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
- 2020BatchEnsemble: An Alternative Approach to Efficient Ensemble and Lifelong Learningcited by 368
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2014Stochastic Gradient Hamiltonian Monte Carlocited by 341
- 2017VAE with a VampPriorcited by 247
- 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 235
- 2020Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU Networkscited by 227
- 2018Do CIFAR-10 Classifiers Generalize to CIFAR-10?cited by 197
- 2020Training independent subnetworks for robust predictioncited by 177
- 2020Mitigating Bias in Calibration Error Estimationcited by 100
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2020Being Bayesian about Categorical Probabilitycited by 35
- 2022RegMixup: Mixup as a Regularizer Can Surprisingly Improve Accuracy and Out Distribution Robustnesscited by 27
- 2019Bin-wise Temperature Scaling (BTS): Improvement in Confidence Calibration Performance through Simple Scaling Techniquescited by 23
- 2015Binary Classifier Calibration using an Ensemble of Near Isotonic Regression Modelscited by 21
- 2020Stochastic Gradient Langevin Dynamics Algorithms with Adaptive Driftscited by 12
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 18; 2025: 8; 2026: 17.
48 papers.
Sort:
By area:
- 2024Thermometer: Towards Universal Calibration for Large Language Modelscited by 38
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2024Robust Calibration of Large Vision-Language Adapterscited by 28
- 2023Beyond Confidence: Reliable Models Should Also Consider Atypicalitycited by 25
- 2025Restoring Calibration for Aligned Large Language Models: A Calibration-Aware Fine-Tuning Approachcited by 25
- 2024Uncertainty Estimation by Density Aware Evidential Deep Learningcited by 22
- 2023DomainAdaptor: A Novel Approach to Test-time Adaptationcited by 20
- 2024Adaptive Preference Scaling for Reinforcement Learning with Human Feedbackcited by 20
- 2024Open-Vocabulary Calibration for Fine-tuned CLIPcited by 15
- 2024Are foundation models for computer vision good conformal predictors?cited by 12
- 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DROcited by 11
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselinescited by 11
36 more
- 2024Understanding and Mitigating Miscalibration in Prompt Tuning for Vision-Language Modelscited by 9
- 2022Raising the Bar on the Evaluation of Out-of-Distribution Detectioncited by 7
- 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Modelscited by 7
- 2026BaseCal: Unsupervised Confidence Calibration via Base Model Signalscited by 7
- 2024Long-Tailed Out-of-Distribution Detection: Prioritizing Attention to Tailcited by 6
- 2024Optimizing Calibration by Gaining Aware of Prediction Correctnesscited by 4
- 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learningcited by 4
- 2025T-CIL: Temperature Scaling using Adversarial Perturbation for Calibration in Class-Incremental Learningcited by 4
- 2024Accuracy-Preserving Calibration via Statistical Modeling on Probability Simplexcited by 3
- 2024Pearls from Pebbles: Improved Confidence Functions for Auto-labelingcited by 3
- 2025Sample Margin-Aware Recalibration of Temperature Scalingcited by 3
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objectivecited by 2
- 2026Evidential Transformation Network: Turning Pretrained Models into Evidential Models for Post-hoc Uncertainty Estimationcited by 2
- 2026Quantile Adaptive Temperature Scaling for Confidence Calibrationcited by 2
- 2023Adaptive Calibrator Ensemble for Model Calibration under Distribution Shiftcited by 1
- 2024Tilt and Average : Geometric Adjustment of the Last Layer for Recalibrationcited by 1
- 2024Combining Priors with Experience: Confidence Calibration Based on Binomial Process Modelingcited by 1
- 2025Shift-Aware Calibration for Fine-Tuned CLIP: Leveraging Image-Text Alignmentcited by 1
- 2025Adaptive Cumulative Mass Calibration with Conformal Predictioncited by 1
- 2025Evaluating Temperature Scaling Calibration Effectiveness for CNNs under Varying Noise Levels in Brain Tumour Detectioncited by 1
- 2026The Well-Tempered Classifier: Some Elementary Properties of Temperature Scalingcited by 1
- 2026Confidence Calibration under Ambiguous Ground Truthcited by 1
- 2026Calibrating Overconfidence Without Sacrificing Confidence: Probe-Conditioned Head Intervention for LLMscited by 1
- 2024Optical aberrations in autonomous driving: Physics-informed parameterized temperature scaling for neural network uncertainty calibrationcited by 0
- 2025Calibration Attention: Learning Reliability-Aware Representations for Vision Transformerscited by 0
- 2026Using deep learning for predicting cleansing quality of colon capsule endoscopy imagescited by 0
- 2026Knob: A Physics-Inspired Gating Interface for Interpretable and Controllable Neural Dynamicscited by 0
- 2026From Calibration to Refinement: Seeking Certainty via Probabilistic Evidence Propagation for Noisy-Label Person Re-Identificationcited by 0
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revisioncited by 0
- 2026Calibrated Confidence Estimation for Tabular Question Answeringcited by 0
- 2026Adaptive Calibration for Fair and Performant Facial Recognitioncited by 0
- 2026ADS-C: Antidistillation Sampling for Classificationcited by 0
- 2026Can You Trust the Confidence? ConfBench for Vision-Language Models on Document Extractioncited by 0
- 2026Multimodal Federated Learning under Dual-Axis Modality Missingnesscited by 0
- 2026Let Confidence Change, Not the Prediction: Prediction-Preserving Repair for Post-hoc Calibrationcited by 0
- 2026Signal-Routed Temperature Scaling: Low-Capacity Risk-Conditioned Calibration for Small Validation Budgetscited by 0
- 2026Signal-Routed Temperature Scaling: Low-Capacity Risk-Conditioned Calibration for Small Validation Budgets30 Sep 2026
- 2026Let Confidence Change, Not the Prediction: Prediction-Preserving Repair for Post-hoc Calibration1 Sep 2026
- 2026Multimodal Federated Learning under Dual-Axis Modality Missingness10 Aug 2026
- 2026Can You Trust the Confidence? ConfBench for Vision-Language Models on Document Extraction3 Aug 2026
- 2026ADS-C: Antidistillation Sampling for Classification16 Jul 2026
- 2026Quantile Adaptive Temperature Scaling for Confidence Calibration19 Jun 2026
- 2026Adaptive Calibration for Fair and Performant Facial Recognition3 Jun 2026
- 2026Calibrating Overconfidence Without Sacrificing Confidence: Probe-Conditioned Head Intervention for LLMs2 Jun 2026
- 2026Calibrated Confidence Estimation for Tabular Question Answering14 Apr 2026
- 2026Evidential Transformation Network: Turning Pretrained Models into Evidential Models for Post-hoc Uncertainty Estimation9 Apr 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026Confidence Calibration under Ambiguous Ground Truth24 Mar 2026
36 more
- 2026From Calibration to Refinement: Seeking Certainty via Probabilistic Evidence Propagation for Noisy-Label Person Re-Identification26 Feb 2026
- 2026Knob: A Physics-Inspired Gating Interface for Interpretable and Controllable Neural Dynamics26 Feb 2026
- 2026The Well-Tempered Classifier: Some Elementary Properties of Temperature Scaling16 Feb 2026
- 2026Using deep learning for predicting cleansing quality of colon capsule endoscopy images19 Jan 2026
- 2026BaseCal: Unsupervised Confidence Calibration via Base Model Signals6 Jan 2026
- 2025Evaluating Temperature Scaling Calibration Effectiveness for CNNs under Varying Noise Levels in Brain Tumour Detection29 Sep 2025
- 2025Calibration Attention: Learning Reliability-Aware Representations for Vision Transformers12 Aug 2025
- 2025Sample Margin-Aware Recalibration of Temperature Scaling30 Jun 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2025Adaptive Cumulative Mass Calibration with Conformal Prediction21 May 2025
- 2025Restoring Calibration for Aligned Large Language Models: A Calibration-Aware Fine-Tuning Approach4 May 2025
- 2025T-CIL: Temperature Scaling using Adversarial Perturbation for Calibration in Class-Incremental Learning28 Mar 2025
- 2025Shift-Aware Calibration for Fine-Tuned CLIP: Leveraging Image-Text Alignment31 Jan 2025
- 2024Optical aberrations in autonomous driving: Physics-informed parameterized temperature scaling for neural network uncertainty calibration18 Dec 2024
- 2024Combining Priors with Experience: Confidence Calibration Based on Binomial Process Modeling14 Dec 2024
- 2024Are foundation models for computer vision good conformal predictors?8 Dec 2024
- 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learning21 Oct 2024
- 2024Understanding and Mitigating Miscalibration in Prompt Tuning for Vision-Language Models3 Oct 2024
- 2024Uncertainty Estimation by Density Aware Evidential Deep Learning13 Sep 2024
- 2024Long-Tailed Out-of-Distribution Detection: Prioritizing Attention to Tail13 Aug 2024
- 2024Robust Calibration of Large Vision-Language Adapters18 Jul 2024
- 2024Tilt and Average : Geometric Adjustment of the Last Layer for Recalibration14 Jun 2024
- 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Models6 Jun 2024
- 2024Adaptive Preference Scaling for Reinforcement Learning with Human Feedback4 Jun 2024
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselines30 May 2024
- 2024Pearls from Pebbles: Improved Confidence Functions for Auto-labeling24 Apr 2024
- 2024Optimizing Calibration by Gaining Aware of Prediction Correctness19 Apr 2024
- 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DRO6 Apr 2024
- 2024Accuracy-Preserving Calibration via Statistical Modeling on Probability Simplex21 Feb 2024
- 2024Thermometer: Towards Universal Calibration for Large Language Models20 Feb 2024
- 2024Open-Vocabulary Calibration for Fine-tuned CLIP7 Feb 2024
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Models3 Nov 2023
- 2023DomainAdaptor: A Novel Approach to Test-time Adaptation20 Aug 2023
- 2023Beyond Confidence: Reliable Models Should Also Consider Atypicality29 May 2023
- 2023Adaptive Calibrator Ensemble for Model Calibration under Distribution Shift9 Mar 2023
- 2022Raising the Bar on the Evaluation of Out-of-Distribution Detection24 Sep 2022
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2024Open-Vocabulary Calibration for Fine-tuned CLIPcited by 15
- 2024Are foundation models for computer vision good conformal predictors?cited by 12
- 2024Understanding and Mitigating Miscalibration in Prompt Tuning for Vision-Language Modelscited by 9
- 2025Shift-Aware Calibration for Fine-Tuned CLIP: Leveraging Image-Text Alignmentcited by 1
- 2026Can You Trust the Confidence? ConfBench for Vision-Language Models on Document Extractioncited by 0
- 2026Can You Trust the Confidence? ConfBench for Vision-Language Models on Document Extraction3 Aug 2026
- 2025Shift-Aware Calibration for Fine-Tuned CLIP: Leveraging Image-Text Alignment31 Jan 2025
- 2024Are foundation models for computer vision good conformal predictors?8 Dec 2024
- 2024Understanding and Mitigating Miscalibration in Prompt Tuning for Vision-Language Models3 Oct 2024
- 2024Open-Vocabulary Calibration for Fine-tuned CLIP7 Feb 2024
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Models3 Nov 2023
- 2024Thermometer: Towards Universal Calibration for Large Language Modelscited by 38
- 2024Robust Calibration of Large Vision-Language Adapterscited by 28
- 2023Beyond Confidence: Reliable Models Should Also Consider Atypicalitycited by 25
- 2024Uncertainty Estimation by Density Aware Evidential Deep Learningcited by 22
- 2023DomainAdaptor: A Novel Approach to Test-time Adaptationcited by 20
- 2024To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DROcited by 11
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselinescited by 11
- 2022Raising the Bar on the Evaluation of Out-of-Distribution Detectioncited by 7
- 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Modelscited by 7
- 2026BaseCal: Unsupervised Confidence Calibration via Base Model Signalscited by 7
- 2024Long-Tailed Out-of-Distribution Detection: Prioritizing Attention to Tailcited by 6
- 2024Optimizing Calibration by Gaining Aware of Prediction Correctnesscited by 4
12 most cited of 39 All 39 (JSON)
- 2026Signal-Routed Temperature Scaling: Low-Capacity Risk-Conditioned Calibration for Small Validation Budgets30 Sep 2026
- 2026Let Confidence Change, Not the Prediction: Prediction-Preserving Repair for Post-hoc Calibration1 Sep 2026
- 2026Multimodal Federated Learning under Dual-Axis Modality Missingness10 Aug 2026
- 2026ADS-C: Antidistillation Sampling for Classification16 Jul 2026
- 2026Quantile Adaptive Temperature Scaling for Confidence Calibration19 Jun 2026
- 2026Adaptive Calibration for Fair and Performant Facial Recognition3 Jun 2026
- 2026Calibrating Overconfidence Without Sacrificing Confidence: Probe-Conditioned Head Intervention for LLMs2 Jun 2026
- 2026Calibrated Confidence Estimation for Tabular Question Answering14 Apr 2026
- 2026Evidential Transformation Network: Turning Pretrained Models into Evidential Models for Post-hoc Uncertainty Estimation9 Apr 2026
- 2026Fine-grained Approaches for Confidence Calibration of LLMs in Automated Code Revision8 Apr 2026
- 2026Confidence Calibration under Ambiguous Ground Truth24 Mar 2026
- 2026From Calibration to Refinement: Seeking Certainty via Probabilistic Evidence Propagation for Noisy-Label Person Re-Identification26 Feb 2026
12 newest of 39 All 39 (JSON)