Reliability
Among predictions assigned 80% confidence, roughly 80% should be correct. Reliability diagrams compare confidence and empirical accuracy by bin.
A model can be accurate yet dangerously overconfident. Distort synthetic predictions, apply temperature scaling, and inspect reliability bins, ECE, Brier score, accuracy, and selective coverage.
Open the reliability labAmong predictions assigned 80% confidence, roughly 80% should be correct. Reliability diagrams compare confidence and empirical accuracy by bin.
Expected calibration error weights each bin’s confidence-accuracy gap by its sample share. It is intuitive but depends on binning.
The Brier score is a proper scoring rule: squared error between predicted probabilities and outcomes. Lower is better.
A positive scalar divides logits before softmax. On a held-out calibration set it can reduce overconfidence while preserving argmax accuracy, but it cannot repair missing features or systematic class confusion.
An abstaining system acts only above a confidence threshold. Higher thresholds usually improve accepted-case accuracy while reducing coverage. Evaluate risk-coverage curves, not one convenient threshold.
A model calibrated on one domain can become miscalibrated after class prevalence, input difficulty, sensors, or user behavior changes. Monitor by cohort and over time.
Yes. A model predicting 50% for every balanced example can be calibrated but unhelpful. Calibration and discrimination measure different properties.
No. Aggregate bins can hide class or subgroup failures, and ECE estimates vary with sample size and binning. Inspect classwise and adaptive-bin measures.
No. Fit calibration parameters on a held-out validation set and reserve the test set for unbiased evaluation.
Guo et al. (2017) studies calibration of modern neural networks and temperature scaling. Brier (1950) introduced the probability score. Naeini et al. and later calibration work motivates better calibration estimation. Ovadia-style distribution-shift evaluation emphasizes uncertainty under changing data.