On the Limitations of Temperature Scaling for Distributions with Overlaps
Not on the map. Why?
Abstract (arXiv)
Despite the impressive generalization capabilities of deep neural networks, they have been repeatedly shown to be overconfident when they are wrong. Fixing this issue is known as model calibration, and has consequently received much attention in the form of modified training schemes and post-training calibration procedures such as temperature scaling. While temperature scaling is frequently used because of its simplicity, it is often outperformed by modified training schemes. In this work, we identify a specific bottleneck for the performance of temperature scaling. We show that for empirical risk minimizers for a general set of distributions in which the supports of classes have overlaps, the performance of temperature scaling degrades with the amount of overlap between classes, and asymptotically becomes no better than random when there are a large number of classes. On the other hand, we prove that optimizing a modified form of the empirical risk induced by the Mixup data augmentation technique can in fact lead to reasonably good calibration performance, showing that training-time calibration may be necessary in some situations. We also verify that our theoretical results reflect practice by showing that Mixup significantly outperforms empirical risk minimization (with respect to multiple calibration metrics) on image classification benchmarks with class overlaps introduced in the form of label noise.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 26 of its 35 references that are in the map. First posted on arXiv 1 Jun 2023.
Builds on
26 of 35 references.
References · 26
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2016End to End Learning for Self-Driving Carscited by 1,000
- 2019When Does Label Smoothing Help?cited by 985
- 2019Measuring Calibration in Deep Learningcited by 443
- 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 401
14 more
- 2021Revisiting the Calibration of Modern Neural Networkscited by 387
- 2020BatchEnsemble: An Alternative Approach to Efficient Ensemble and Lifelong Learningcited by 368
- 2021ResNet strikes back: An improved training procedure in timmcited by 365
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 304
- 2020Uncertainty Quantification and Deep Ensemblescited by 138
- 2020Multivariate Confidence Calibration for Object Detectioncited by 98
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2021When and How Mixup Improves Calibrationcited by 59
- 2022A Unifying Theory of Distance from Calibrationcited by 51
- 2020Combining Ensembles and Data Augmentation can Harm your Calibrationcited by 44
- 2020Sequential Deep Learning for Credit Risk Monitoring with Tabular Financial Datacited by 37
- 2021Towards Understanding the Data Dependency of Mixup-style Trainingcited by 19
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3; 2026: 1.
7 papers.
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
- 2025T-CIL: Temperature Scaling using Adversarial Perturbation for Calibration in Class-Incremental Learningcited by 4
- 2024For Better or For Worse? Learning Minimum Variance Features With Label Augmentationcited by 3
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objectivecited by 2
- 2025Beta Distribution Learning for Reliable Roadway Crash Risk Assessmentcited by 2
- 2024Calibrated and Efficient Sampling-Free Confidence Estimation for LiDAR Scene Semantic Segmentationcited by 1
- 2026Calibrated Adaptation: Bayesian Stiefel Manifold Priors for Reliable Parameter-Efficient Fine-Tuningcited by 0
- 2026Calibrated Adaptation: Bayesian Stiefel Manifold Priors for Reliable Parameter-Efficient Fine-Tuning19 Feb 2026
- 2025Beta Distribution Learning for Reliable Roadway Crash Risk Assessment7 Nov 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2025T-CIL: Temperature Scaling using Adversarial Perturbation for Calibration in Class-Incremental Learning28 Mar 2025
- 2024Calibrated and Efficient Sampling-Free Confidence Estimation for LiDAR Scene Semantic Segmentation18 Nov 2024
- 2024For Better or For Worse? Learning Minimum Variance Features With Label Augmentation10 Feb 2024
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Art2 Aug 2023