Glossary term · · 3 min read
Reliability Diagram
A model routes customer tickets to three departments and reports confidence for each decision: its estimated chance of choosing the right department. You check 40 tickets. Average confidence is 60%, and exactly 60% of decisions are correct. Can you already trust the reported probabilities? That agreement can hide errors in opposite directions.
Reliability Diagram is a chart comparing confidence with observed accuracy in groups of decisions with similar confidence. It shows where stated probabilities diverge from outcomes. It visualizes Calibration, the agreement between estimated probabilities and the frequency of correct predictions. Here we examine confidence in the selected category, following §2 of Guo and colleagues’ On Calibration of Modern Neural Networks.

Two errors behind one average
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 | Accuracy |
|---|---|---|---|
| 50% | 30 | 21 | 70% |
| 90% | 10 | 3 | 30% |
Average confidence is (30 × 50% + 10 × 90%)/40 = 60%. Accuracy is (21 + 3)/40 = 60%. Despite matching averages, the first group understates the chance of success, while the second overstates it.
We divide the confidence scale into ten equal bins: (0%, 10%], …, (90%, 100%]. The left endpoint is excluded and the right included: 50% belongs to (40%, 50%]. For each occupied bin we calculate average confidence and the proportion of correct predictions; we do not draw empty bins as zero accuracy.
The horizontal axis shows the group’s average confidence; the vertical axis shows accuracy. The point (50%, 70%) is above the diagonal of equality: there were more correct predictions than confidence suggested. The point (90%, 30%) is below it: the model was too confident. The diagonal marks agreement between the two values, such as 60% and 60%. We use points; bar versions are also common.
Does merging groups fix the model?
Choose one shared bin. A single point (60%, 60%) remains on the diagonal. No decision or its confidence has changed — the comparison has lost detail. Restore ten bins to see both errors again.
Limitation: the picture depends on the partition and the number of examples. A point based on 10 tickets does not offer the same basis for inference as one based on thousands; proximity to the diagonal in a sample does not prove perfect calibration. Point positions alone do not show group sizes, as the authors note in §2; that is why we added them alongside the chart. More real examples of these charts appear in Supplement S4.
Expected Calibration Error summarizes group discrepancies with an average weighted by group size, while Maximum Calibration Error selects the largest one. Perform the final evaluation on a Test Set: separate examples with known answers, unused for choosing the model or adjusting its confidence. The chart does not establish the truth of an individual chat response.
Text and illustration prepared with AI assistance. The data are an invented numerical example, not measurements of a particular LLM.