What is AI model calibration?

Model calibration is how closely the confidence a model gives its predictions matches how often predictions at that confidence turn out correct; of a well-calibrated model's predictions at 80 per cent confidence, about 80 per cent are right. The term also covers corrections made to achieve this.

Unlike accuracy, which shows how many predictions are correct, calibration shows how well a model knows when it is right. A highly accurate model can be overconfident, giving high confidence to wrong predictions too.

Topic
Evaluation and quality
Also known as
Confidence calibration

How AI model calibration works

  1. The model produces a confidence value or probability for each prediction.
  2. Predictions are grouped into confidence bands, such as 70 to 80 per cent, with actual accuracy computed per band.
  3. The weighted average absolute gap between confidence and accuracy across bands is reported as expected calibration error.
  4. If there is a gap, a correction is fitted on held-out data; single-parameter temperature scaling is the most common and simplest.

In more detail

The limits of ECE and proper scoring rules

ECE alone can be misleading because a trivial model that always predicts the dataset's overall base rate achieves an ECE of zero despite having no discriminative power. Calibration should therefore be evaluated alongside reliability diagrams and strictly proper scoring rules such as the Brier score and negative log-likelihood (NLL), which jointly reward both calibration and sharpness.

Commonly confused terms

TermHow it differs
Conformal predictionCalibration aligns predicted probabilities with empirical frequencies, whereas conformal prediction wraps a model to output prediction sets with mathematically guaranteed marginal coverage (e.g., 95% probability of containing the true label) under exchangeability.
Sampling temperatureIn generative language models, sampling temperature modifies the randomness of next-token selection during inference. In calibration, temperature scaling is a post-hoc statistical step fitted on a validation set to rescale logits so probabilities reflect true accuracy.

Why AI model calibration matters for on-premises AI

Organisations often decide from confidence values when to use AI output directly and when to route it to a person; this makes sense only if confidence is calibrated. Research shows modern neural networks are often overconfident and temperature scaling is an effective correction on many datasets. Calibration can degrade when data distribution shifts, so it is re-measured regularly on the organisation's own data.

ON-PREMISES EXAMPLE

A hospital calibrates its document classification model's confidence values on past labelled records; afterwards, predictions below a threshold go automatically to expert review, with the threshold set from the real error rate.

Common questions

How does model calibration differ from accuracy?

Accuracy shows how many predictions are correct. Calibration shows how well stated confidence matches real accuracy.

Why does calibration matter?

Decisions such as routing low-confidence answers to people rest on confidence values. Without calibration those decisions go wrong.

Sources

In the glossary: Glossary, M to Q

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.