On the Usefulness of the Fit-on-the-Test View on Evaluating Calibration of Classifiers
Not on the map. Why?
Abstract (arXiv)
Every uncalibrated classifier has a corresponding true calibration map that calibrates its confidence. Deviations of this idealistic map from the identity map reveal miscalibration. Such calibration errors can be reduced with many post-hoc calibration methods which fit some family of calibration maps on a validation dataset. In contrast, evaluation of calibration with the expected calibration error (ECE) on the test set does not explicitly involve fitting. However, as we demonstrate, ECE can still be viewed as if fitting a family of functions on the test data. This motivates the fit-on-the-test view on evaluation: first, approximate a calibration map on the test data, and second, quantify its distance from the identity. Exploiting this view allows us to unlock missed opportunities: (1) use the plethora of post-hoc calibration methods for evaluating calibration; (2) tune the number of bins in ECE with cross-validation. Furthermore, we introduce: (3) benchmarking on pseudo-real data where the true calibration map can be estimated very precisely; and (4) novel calibration and evaluation methods using new calibration map families PL and PL3.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 15 of its 35 references that are in the map. First posted on arXiv 16 Mar 2022.
Builds on
15 of 35 references.
References · 15
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2016Wide Residual Networkscited by 3,070
- 2019Measuring Calibration in Deep Learningcited by 446
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
- 2019Verified Uncertainty Calibrationcited by 309
- 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
3 more
Built on by
Citing papers per year: 2022: 1; 2023: 0; 2024: 1; 2025: 1.
3 papers.
- 2024Can multiple-choice questions really be useful in detecting the abilities of LLMs?cited by 69
- 2022Calibrating Perception Uncertainty for Autonomous Drivingcited by 3
- 2025Measuring Uncertainty Calibrationcited by 1
- 2025Measuring Uncertainty Calibration15 Dec 2025
- 2024Can multiple-choice questions really be useful in detecting the abilities of LLMs?26 Mar 2024
- 2022Calibrating Perception Uncertainty for Autonomous Driving8 Nov 2022