confidence-calibration · shipping

Confidence calibration

Confidence calibration requires predictions sharing a reported confidence to have a matching frequency of correct class predictions.

For predicted class C, confidence S and observed label Y, the population condition is P(Y=C | S)=S, almost surely. For a class-probability vector, C is an argmax chosen with a declared tie rule and S is its probability. Confidence ECE groups S and compares accuracy with mean confidence. [1]

Pooling different predicted classes can conceal opposite errors; retaining the predicted label gives a different calibration requirement. [2]

Consider twenty synthetic binary observations: ten forecasts p=0.1 with no positive outcomes, and ten forecasts p=0.9 with eight positive outcomes. With class 1 predicted for p>=0.5, every confidence is 0.9 and 18/20 decisions are correct. Exact-confidence ECE is therefore 0. Yet the two predicted-label groups have accuracies 1 and 0.8; their count-weighted absolute confidence error is 0.1. Grouping by event probability also gives 0.1. [4]

A drive-failure probability and confidence that the chosen class is correct answer different questions. Specify which one a calibration chart evaluates. Finite sample agreement alone cannot establish a population property. [3]

Relations

related
Probability calibration, Expected calibration error, Brier score, Top-label calibration

Limitations

  • A low pooled score need not imply reliable probabilities within each predicted class. [2]

Citations

  1. Guo, Pleiss, Sun and Weinberger. On Calibration of Modern Neural Networks. ICML 2017, section 2 equations 1-3. (accessed 2026-11-23)
  2. Gupta and Ramdas. Top-label calibration and multiclass-to-binary reductions. ICLR 2022; arXiv v4, section 2 equations 1-4 and Remark 2. (accessed 2026-11-23)
  3. Vaicenavicius et al. Evaluating model calibration in classification. AISTATS 2019, sections 3.1-3.2 and 4.1. (accessed 2026-11-23)
  4. Hesela: exact synthetic confidence, top-label and binary-event calibration example; model.py, test_model.py and results.json. (accessed 2026-11-23)
Sources & caveats
  • Reviewed 2026-11-23: full primary-source sections identified in citations; terminology follows Gupta and Ramdas, not papers that use top-label as a synonym for pooled confidence.
  • The twenty observations are a synthetic arithmetic example, not measured drive failures or a reproduction of neural-network benchmarks. Public code uses exact fractions and explicit positive-class tie breaking.

JSON: /data/terms/confidence-calibration.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Confidence calibration. Hesela. 2026-11-23. https://hesela.dev/terms/confidence-calibration/