mlsanityData to 14 Oct 2026

On the Usefulness of the Fit-on-the-Test View on Evaluating Calibration of Classifiers

arXiv 2203.08958 ↗First posted 16 Mar 2022cs.LG cs.AIcited by 3

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2016Densely Connected Convolutional Networkscited by 6,720
  5. 2017On Calibration of Modern Neural Networkscited by 4,960
  6. 2016Wide Residual Networkscited by 3,070
  7. 2019Measuring Calibration in Deep Learningcited by 446
  8. 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
  9. 2019Verified Uncertainty Calibrationcited by 309
  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
3 more
  1. 2020Calibration of Neural Networks using Splinescited by 97
  2. 2019Calibration tests in multi-class classification: A unifying frameworkcited by 79
  3. 2020Intra Order-preserving Functions for Calibration of Multi-Class Neural Networkscited by 65

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 0; 2024: 1; 2025: 1.

3 papers.