Glossary term · · 3 min read
Maximum Calibration Error
A model routes customer tickets to three departments and reports confidence for each decision: its estimated chance of choosing the right department. You check 100 tickets. The average gap between confidence and accuracy across groups is only 3 percentage points. Is the problem much larger in any one group? The average alone cannot tell you.
Maximum Calibration Error (MCE) answers that question: it groups decisions into confidence bins and selects the largest absolute difference between average confidence and the proportion of correct decisions in an occupied bin. This measures Calibration, the agreement between stated probabilities and the frequency of correct predictions. We describe the version for the selected category, from §2, Equation 5 of Guo and colleagues’ On Calibration of Modern Neural Networks.

Small group, large gap
This is our own educational example. A human has checked the correct department for every ticket:
| Confidence of each decision | Number of tickets | Correct decisions | Absolute gap |
|---|---|---|---|
| 90% | 90 | 81/90 = 90% | 0 pp |
| 50% | 10 | 2/10 = 20% | 30 pp |
With ten equal-width bins (0%, 10%], …, (90%, 100%], these groups remain separate. The left boundary is excluded and the right included: 50% belongs to (40%, 50%]. We omit empty bins because they have no accuracy to compare.
MCE = the larger of 0 and 30 = 30 percentage points. The small group counts just as much as the large one when selecting the maximum. Expected Calibration Error (ECE) averages the same gaps with weights based on group size: 90/100 × 0 + 10/100 × 30 = 3 percentage points. MCE thus exposes a spot hidden behind a small average. It does not mean that 30% of all decisions are wrong: here, 17/100 are wrong.
What a shared bin hides
Merging all tickets gives average confidence of 86% and accuracy of 83%. MCE falls to 3 percentage points, although the model has not changed. In the demonstration, merge the bins, then restore them and examine the effect of one additional correct decision in the small group.
Limitation: this is the maximum observed group-level gap, not a guarantee for every ticket or future data. In the small group, one more correct decision changes accuracy from 20% to 30% and MCE from 30 to 20 percentage points. The authors emphasize MCE’s sensitivity to binning and small test sets in Appendix S3. Report bin boundaries and counts; do not treat a single result as an unchanging property of the model.
Perform the final evaluation on a Test Set: separate examples with known answers that were not used to choose the model or adjustments to its confidence.
Text and illustration were prepared with AI assistance. The data are an invented numerical example, not findings from a study of a particular LLM.