LearnQuestion bank

What does it mean for a model to be well calibrated, how would you measure it, and why might an instruction-tuned LLM be less calibrated than its base model?

ResearchTechnicalMedium

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Calibration means stated confidence matches observed accuracy.
  • Measure with reliability diagrams, ECE with binning caveats, Brier score, and NLL.
  • Temperature scaling on held-out data is a common calibration fix.
  • Preference tuning can sharpen outputs and make models more confident than warranted.
  • Separate logit-based confidence from verbalised confidence.
  • Use selective prediction/abstention and risk-coverage rather than one confidence number.

In full

A model is well calibrated when its stated confidence matches what actually happens: among cases where it says 80 percent, about 80 percent are correct. I would look at reliability diagrams, ECE with explicit binning caveats because it depends on bin count and can hide within-bin miscalibration, plus Brier score and NLL, since Brier penalises squared probability error and NLL is especially sensitive to confident wrong answers. A common fix is temperature scaling on a held-out set, dividing logits by a learned T before softmax, which can improve calibration without changing the argmax. Instruction tuning and preference optimisation can make an LLM less calibrated because they reward confident, helpful, mode-seeking answers and sharpen the distribution, so the model may sound more certain than its base model even when accuracy is similar. I would separate logit-based confidence from verbalised confidence, because a model can have reasonable softmax probabilities yet state percentages that do not match empirical accuracy, and I would use selective prediction or abstention with risk-coverage curves rather than trusting a single confidence number.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Stated confidence should match observed accuracy.
  • Measures: reliability diagrams, ECE (with binning caveats), Brier score, NLL.
  • Temperature scaling as a fix.
  • Preference tuning pushes models towards confident, mode-seeking outputs.
  • Verbalised confidence vs logit-based confidence; selective prediction.

Common mistakes

  • Equating accuracy with calibration.
  • Ignoring ECE’s sensitivity to binning.