mlsanityData to 14 Oct 2026

T-Cal: An optimal test for the calibration of predictive models

arXiv 2203.01850 ↗First posted 3 Mar 2022stat.ML cs.LGcited by 24

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

  1. 2017On Calibration of Modern Neural Networkscited by 4,960
  2. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  3. 2016End to End Learning for Self-Driving Carscited by 1,009
  4. 2019Measuring Calibration in Deep Learningcited by 446
  5. 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
  6. 2020Calibrating Deep Neural Networks using Focal Losscited by 357
  7. 2019Verified Uncertainty Calibrationcited by 309
  8. 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 305
  9. 2021Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Controlcited by 271
  10. 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
  11. 2019Evaluating model calibration in classificationcited by 168
  12. 2020Mitigating Bias in Calibration Error Estimationcited by 101
10 more
  1. 2019Calibration tests in multi-class classification: A unifying frameworkcited by 79
  2. 2020Distribution-free binary classification: prediction sets, confidence intervals and calibrationcited by 79
  3. 2018Dirichlet-based Gaussian Processes for Large-scale Calibrated Classificationcited by 51
  4. 2020Individual Calibration with Randomized Forecastingcited by 50
  5. 2021Don't Just Blame Over-parametrization for Over-confidence: Theoretical Analysis of Calibration in Binary Classificationcited by 39
  6. 2019Conformal calibratorscited by 22
  7. 2017Hypothesis Testing for High-Dimensional Multinomials: A Selective Reviewcited by 8
  8. 2020Optimal rates for independence testing via U-statistic permutation testscited by 5
  9. 2021Exact Distribution-Free Hypothesis Tests for the Regression Function of Binary Classification via Conditional Kernel Mean Embeddingscited by 4
  10. 2018Simulator Calibration under Covariate Shift with Kernelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 5; 2023: 3; 2024: 6; 2025: 8; 2026: 2.

24 papers.

Sort:

  1. 2023Smooth ECE: Principled Reliability Diagrams via Kernel Smoothingcited by 63
  2. 2022A Unifying Theory of Distance from Calibrationcited by 53
  3. 2024Uncertainty in Language Models: Assessment through Rank-Calibrationcited by 41
  4. 2022Robust Calibration with Multi-domain Temperature Scalingcited by 39
  5. 2022Metrics of calibration for probabilistic predictionscited by 32
  6. 2025Understanding Model Calibration -- A gentle introduction and visual exploration of calibration and the expected calibration error (ECE)cited by 20
  7. 2022The Calibration Generalization Gapcited by 18
  8. 2024Early Time Classification with Accumulated Accuracy Gap Controlcited by 11
  9. 2023Minimum-Risk Recalibration of Classifierscited by 10
  10. 2024Testing Calibration in Nearly-Linear Timecited by 10
  11. 2024Reassessing How to Compare and Improve the Calibration of Machine Learning Modelscited by 8
  12. 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
  1. 2023Is this model reliable for everyone? Testing for strong calibrationcited by 6
  2. 2024How Flawed Is ECE? An Analysis via Logit Smoothingcited by 6
  3. 2025Measuring multi-calibrationcited by 4
  4. 2025All Models Are Miscalibrated, But Some Less So: Comparing Calibration with Conditional Mean Operatorscited by 2
  5. 2025An Entropic Metric for Measuring Calibration of Machine Learning Modelscited by 2
  6. 2025Fast and Scalable Score-Based Kernel Calibration Testscited by 2
  7. 2022GRASP: A Goodness-of-Fit Test for Classification Learningcited by 1
  8. 2025Scalable Utility-Aware Multiclass Calibrationcited by 1
  9. 2025Measuring Uncertainty Calibrationcited by 1
  10. 2026Beyond ECE: Calibrated Size Ratio, Risk Assessment, and Confidence-Weighted Metricscited by 1
  11. 2025Uniform convergence of the smooth calibration error and its relationship with functional gradientcited by 0
  12. 2026The Minimax Rate of Perturbed Second-Order Calibrationcited by 0