Probability calibration
Probability calibration is agreement between forecast probabilities and conditional event frequencies among observations receiving those probabilities.
A reliability diagram groups forecast scores and compares mean probability with the observed positive fraction; report the group boundaries and counts. One comparative study used ten bins of width 0.1 and fitted calibrators on independent samples of 1000 cases. Such an estimate describes an evaluation sample, not a guarantee for every individual drive. [4]
A fitted calibrator must be evaluated without reusing its fitting data as the final test set. Sigmoid fitting suits sigmoid-shaped distortion, while isotonic regression corrects any monotonic distortion but overfits small calibration sets: below roughly 200 to 1000 cases, sigmoid fitting gave lower squared error. [4] [1]
For multiclass neural networks, a single temperature T > 0 rescales logits without changing the predicted class. Measured with 15 equal-width bins, expected calibration error for a 110-layer residual network on a 100-class image benchmark fell from 16.53% to 1.26%. These results come from image and document classification, not storage failure prediction. [2]
Calibration is population-specific. Under unchanged class-conditional features, a valid source posterior can be reweighted by target/source class priors and renormalized. An arbitrary score is not made probabilistic by this operation. An aggregate event-count match does not verify the invariant-conditionals assumption or subgroup probabilities. [5] [6]
Under its label-shift, support and invertibility assumptions, BBSE can estimate target class proportions without calibrated scores; this does not calibrate those scores or validate per-drive risk. [6]
Event-probability and prediction-correctness calibration differ. [7]
Relations
- related
- Brier score, Average precision, Matthews correlation coefficient, Prediction horizon, Temporal validation, Class prevalence, Expected calibration error, Confidence calibration, Top-label calibration
Advantages
- A strictly increasing transformation preserves score ordering and ties within a fixed evaluation population, so its ROC-AUC is unchanged. [1]
Limitations
- Better accuracy does not imply better calibration: in modern networks, miscalibration worsened even as classification error fell. [2]
- Prior correction requires justified source probabilities and class priors; a changed device mix or within-class selection can invalidate the assumed class-conditional law. [5, 6]
- A non-decreasing isotonic calibrator can introduce ties and change ROC-AUC; monotonicity alone does not guarantee preservation of that ranking metric. [1]
Citations
- Probability calibration user guide: reliability diagrams, sigmoid and isotonic methods.
- Guo, Pleiss, Sun and Weinberger. On Calibration of Modern Neural Networks. ICML 2017, sections 4-5 and Table 1.
- Niculescu-Mizil and Caruana. Predicting Good Probabilities With Supervised Learning. ICML 2005.
- Alexandari et al. Maximum Likelihood with Bias-Corrected Calibration is Hard-To-Beat at Label Shift Adaptation. ICML 2020.
- Lipton, Wang and Smola. Detecting and Correcting for Label Shift with Black Box Predictors. ICML 2018, assumptions A.1-A.3 and equation 1.
Further reading
Sources & caveats
- supervised-probabilities read 2026-10-23 for binning, calibration-set sizes and the sigmoid versus isotonic comparison.
- calibration-guide read 2026-10-23 for the disjoint-data requirement and the roughly 1000-sample guidance.
- guo-icml17 read 2026-10-23, sections 4, 5 and Table 1, for temperature scaling and the ECE figures.
- A companion analysis with invented counts is listed but not used in prose.
- alexandari-icml20 reviewed 2026-10-27, section 2.2 and equation 8: posterior reweighting under label shift; not a storage experiment.
- lipton-icml18 reviewed 2026-10-27, assumptions A.1-A.3 and equation 1: invariant class conditionals, support and nonsingular confusion matrix.
- calibration-guide rechecked 2026-10-27: the ranking note explicitly allows isotonic ties to change AUC; strict increasing-order preservation is stated only within a fixed population.
- lipton-icml18 rechecked 2026-10-27, section 4, equation 1: confusion-matrix prevalence estimation does not require calibrated predictor scores; this is distinct from posterior adaptation.
- 2026-11-23: linked distinct calibration targets after reviewing Vaicenavicius sections 3.1-3.2; existing benchmark figures and calibration methods retained.