T-Cal: An optimal test for the calibration of predictive models
Not on the map. Why?
Abstract (arXiv)
The prediction accuracy of machine learning methods is steadily increasing, but the calibration of their uncertainty predictions poses a significant challenge. Numerous works focus on obtaining well-calibrated predictive models, but less is known about reliably assessing model calibration. This limits our ability to know when algorithms for improving calibration have a real effect, and when their improvements are merely artifacts due to random noise in finite datasets. In this work, we consider detecting mis-calibration of predictive models using a finite validation dataset as a hypothesis testing problem. The null hypothesis is that the predictive model is calibrated, while the alternative hypothesis is that the deviation from calibration is sufficiently large. We find that detecting mis-calibration is only possible when the conditional probabilities of the classes are sufficiently smooth functions of the predictions. When the conditional class probabilities are H"older continuous, we propose T-Cal, a minimax optimal test for calibration based on a debiased plug-in estimator of the ℓ2-Expected Calibration Error (ECE). We further propose Adaptive T-Cal, a version that is adaptive to unknown smoothness. We verify our theoretical findings with a broad range of experiments, including with several popular deep neural net architectures and several standard post-hoc calibration methods. T-Cal is a practical general-purpose tool, which -- combined with classical tests for discrete-valued predictors -- can be used to test the calibration of virtually any probabilistic classification method.
Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). Builds on 22 of its 125 references that are in the map. First posted on arXiv 3 Mar 2022.
Builds on
22 of 125 references.
References · 22
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2016End to End Learning for Self-Driving Carscited by 1,009
- 2019Measuring Calibration in Deep Learningcited by 446
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
- 2020Calibrating Deep Neural Networks using Focal Losscited by 357
- 2019Verified Uncertainty Calibrationcited by 309
- 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 305
- 2021Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Controlcited by 271
- 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
- 2019Evaluating model calibration in classificationcited by 168
- 2020Mitigating Bias in Calibration Error Estimationcited by 101
10 more
- 2019Calibration tests in multi-class classification: A unifying frameworkcited by 79
- 2020Distribution-free binary classification: prediction sets, confidence intervals and calibrationcited by 79
- 2018Dirichlet-based Gaussian Processes for Large-scale Calibrated Classificationcited by 51
- 2020Individual Calibration with Randomized Forecastingcited by 50
- 2021Don't Just Blame Over-parametrization for Over-confidence: Theoretical Analysis of Calibration in Binary Classificationcited by 39
- 2019Conformal calibratorscited by 22
- 2017Hypothesis Testing for High-Dimensional Multinomials: A Selective Reviewcited by 8
- 2020Optimal rates for independence testing via U-statistic permutation testscited by 5
- 2021Exact Distribution-Free Hypothesis Tests for the Regression Function of Binary Classification via Conditional Kernel Mean Embeddingscited by 4
- 2018Simulator Calibration under Covariate Shift with Kernelscited by 3
Built on by
Citing papers per year: 2022: 5; 2023: 3; 2024: 6; 2025: 8; 2026: 2.
24 papers.
Sort:
- 2023Smooth ECE: Principled Reliability Diagrams via Kernel Smoothingcited by 63
- 2022A Unifying Theory of Distance from Calibrationcited by 53
- 2024Uncertainty in Language Models: Assessment through Rank-Calibrationcited by 41
- 2022Robust Calibration with Multi-domain Temperature Scalingcited by 39
- 2022Metrics of calibration for probabilistic predictionscited by 32
- 2025Understanding Model Calibration -- A gentle introduction and visual exploration of calibration and the expected calibration error (ECE)cited by 20
- 2022The Calibration Generalization Gapcited by 18
- 2024Early Time Classification with Accumulated Accuracy Gap Controlcited by 11
- 2023Minimum-Risk Recalibration of Classifierscited by 10
- 2024Testing Calibration in Nearly-Linear Timecited by 10
- 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Modelscited by 8
- 2024A Kernel-Based Conditional Two-Sample Test Using Nearest Neighbors (with Applications to Calibration, Regression Curves, and Simulation-Based Inference)cited by 7
12 more
- 2023Is this model reliable for everyone? Testing for strong calibrationcited by 6
- 2024How Flawed Is ECE? An Analysis via Logit Smoothingcited by 6
- 2025Measuring multi-calibrationcited by 4
- 2025All Models Are Miscalibrated, But Some Less So: Comparing Calibration with Conditional Mean Operatorscited by 2
- 2025An Entropic Metric for Measuring Calibration of Machine Learning Modelscited by 2
- 2025Fast and Scalable Score-Based Kernel Calibration Testscited by 2
- 2022GRASP: A Goodness-of-Fit Test for Classification Learningcited by 1
- 2025Scalable Utility-Aware Multiclass Calibrationcited by 1
- 2025Measuring Uncertainty Calibrationcited by 1
- 2026Beyond ECE: Calibrated Size Ratio, Risk Assessment, and Confidence-Weighted Metricscited by 1
- 2025Uniform convergence of the smooth calibration error and its relationship with functional gradientcited by 0
- 2026The Minimax Rate of Perturbed Second-Order Calibrationcited by 0
- 2026The Minimax Rate of Perturbed Second-Order Calibration8 May 2026
- 2026Beyond ECE: Calibrated Size Ratio, Risk Assessment, and Confidence-Weighted Metrics3 May 2026
- 2025Measuring Uncertainty Calibration15 Dec 2025
- 2025Scalable Utility-Aware Multiclass Calibration29 Oct 2025
- 2025Fast and Scalable Score-Based Kernel Calibration Tests16 Oct 2025
- 2025Measuring multi-calibration12 Jun 2025
- 2025Uniform convergence of the smooth calibration error and its relationship with functional gradient26 May 2025
- 2025An Entropic Metric for Measuring Calibration of Machine Learning Models20 Feb 2025
- 2025All Models Are Miscalibrated, But Some Less So: Comparing Calibration with Conditional Mean Operators17 Feb 2025
- 2025Understanding Model Calibration -- A gentle introduction and visual exploration of calibration and the expected calibration error (ECE)31 Jan 2025
- 2024A Kernel-Based Conditional Two-Sample Test Using Nearest Neighbors (with Applications to Calibration, Regression Curves, and Simulation-Based Inference)23 Jul 2024
- 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Models6 Jun 2024
12 more
- 2024Uncertainty in Language Models: Assessment through Rank-Calibration4 Apr 2024
- 2024Testing Calibration in Nearly-Linear Time20 Feb 2024
- 2024How Flawed Is ECE? An Analysis via Logit Smoothing15 Feb 2024
- 2024Early Time Classification with Accumulated Accuracy Gap Control1 Feb 2024
- 2023Smooth ECE: Principled Reliability Diagrams via Kernel Smoothing21 Sep 2023
- 2023Is this model reliable for everyone? Testing for strong calibration28 Jul 2023
- 2023Minimum-Risk Recalibration of Classifiers18 May 2023
- 2022A Unifying Theory of Distance from Calibration30 Nov 2022
- 2022The Calibration Generalization Gap5 Oct 2022
- 2022GRASP: A Goodness-of-Fit Test for Classification Learning5 Sep 2022
- 2022Robust Calibration with Multi-domain Temperature Scaling6 Jun 2022
- 2022Metrics of calibration for probabilistic predictions19 May 2022
- 2023Smooth ECE: Principled Reliability Diagrams via Kernel Smoothingcited by 63
- 2022A Unifying Theory of Distance from Calibrationcited by 53
- 2024Uncertainty in Language Models: Assessment through Rank-Calibrationcited by 41
- 2022Robust Calibration with Multi-domain Temperature Scalingcited by 39
- 2022Metrics of calibration for probabilistic predictionscited by 32
- 2025Understanding Model Calibration -- A gentle introduction and visual exploration of calibration and the expected calibration error (ECE)cited by 20
- 2022The Calibration Generalization Gapcited by 18
- 2024Early Time Classification with Accumulated Accuracy Gap Controlcited by 11
- 2023Minimum-Risk Recalibration of Classifierscited by 10
- 2024Testing Calibration in Nearly-Linear Timecited by 10
- 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Modelscited by 8
- 2024A Kernel-Based Conditional Two-Sample Test Using Nearest Neighbors (with Applications to Calibration, Regression Curves, and Simulation-Based Inference)cited by 7
12 most cited of 24 All 24 (JSON)
- 2026The Minimax Rate of Perturbed Second-Order Calibration8 May 2026
- 2026Beyond ECE: Calibrated Size Ratio, Risk Assessment, and Confidence-Weighted Metrics3 May 2026
- 2025Measuring Uncertainty Calibration15 Dec 2025
- 2025Scalable Utility-Aware Multiclass Calibration29 Oct 2025
- 2025Fast and Scalable Score-Based Kernel Calibration Tests16 Oct 2025
- 2025Measuring multi-calibration12 Jun 2025
- 2025Uniform convergence of the smooth calibration error and its relationship with functional gradient26 May 2025
- 2025An Entropic Metric for Measuring Calibration of Machine Learning Models20 Feb 2025
- 2025All Models Are Miscalibrated, But Some Less So: Comparing Calibration with Conditional Mean Operators17 Feb 2025
- 2025Understanding Model Calibration -- A gentle introduction and visual exploration of calibration and the expected calibration error (ECE)31 Jan 2025
- 2024A Kernel-Based Conditional Two-Sample Test Using Nearest Neighbors (with Applications to Calibration, Regression Curves, and Simulation-Based Inference)23 Jul 2024
- 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Models6 Jun 2024
12 newest of 24 All 24 (JSON)