LatentEval

INSTRUMENT | Judge reliability

LLM Judge Calibration Calculator: Brier Score and ECE

4 cited sources

Score an LLM judge's stated confidence against observed correctness: Brier score, expected and maximum calibration error, a reliability diagram, and the error rate behind its confident verdicts.

Judge calibration is whether a judge's stated confidence matches how often it is right, which sets the review threshold. Paste each item's confidence and correctness for the Brier score and expected calibration error (ECE). Publish it in a validation report, then log it in the agreement tracker. For human-label agreement: the two-rater Cohen's kappa calculator; for judge error into a published rate: the judge bias correction calculator. Rests on our judge reliability hub and our survey of silent failure research.

One judged item per line as confidence,correct. Confidence is 0 to 1 (percents like 95% work); correct is 1 or 0, with true/false, yes/no, and pass/fail accepted. A header line and blank lines are skipped.

Check this value.

Binning and threshold

Calibration bins. 10 is the literature default.

Check this value.

Equal mass keeps per-bin counts comparable.

Check this value.

Items at or above this confidence count as high confidence.

Check this value.

Expected calibration error (ECE)

8.2%

Count-weighted gap between stated confidence and observed accuracy over 24 items in 5 occupied equal-width bins. Lower is better.

Brier score

0.185

Max calibration error (MCE)

15.4%

000.250.250.50.50.750.7511Stated confidenceObserved accuracy
Reliability diagram. Each point is one occupied bin, placed at its mean stated confidence and observed accuracy; the dashed diagonal marks perfect calibration. Points below the diagonal are overconfident regions. Bars along the base show each bin's item count.

Per-bin calibration at 10 equal-width bins

BinItemsCorrectMean confidenceAccuracy95% intervalGap
0.00–0.10 0 n/a n/a n/a n/a n/a
0.10–0.20 0 n/a n/a n/a n/a n/a
0.20–0.30 0 n/a n/a n/a n/a n/a
0.30–0.40 0 n/a n/a n/a n/a n/a
0.40–0.50 0 n/a n/a n/a n/a n/a
0.50–0.60 2 1 0.565 0.500 [0.095, 0.905] +0.065
0.60–0.70 3 2 0.650 0.667 [0.208, 0.939] -0.017
0.70–0.80 4 3 0.750 0.750 [0.301, 0.954] +0.000
0.80–0.90 5 4 0.850 0.800 [0.376, 0.964] +0.050
0.90–1.00 10 8 0.954 0.800 [0.490, 0.943] +0.154

Brier decomposition and the high-confidence slice

MetricValue
Brier score 0.185
Reliability (miscalibration term) 0.0108
Resolution 0.0076
Uncertainty 0.1875
Within-bin residual -0.0054
High-confidence items (at or above 0.90) 10 of 24
High-confidence errors 2 (20.0%)
Export

5 of 10 bins are empty. ECE weights bins by item count, so empty bins add nothing, but a diagram with few occupied bins says little about the sparse regions.

The smallest occupied bin holds 2 items. Per-bin accuracy on counts this small is noisy; read each bin's 95% interval before treating its gap as real.

Brier = mean (confidence - outcome)^2; ECE = Σ (n_b / N) |conf_b - acc_b|How?

How this is calculated

Each judged item pairs the judge's stated confidence with whether the verdict was actually correct against ground truth. Calibration asks whether those stated probabilities carry information: among items the judge marked near 0.9, roughly 90% should be correct. A judge can be accurate and badly calibrated at the same time, and a well-calibrated judge can still be weak, so the two properties deserve separate measurement. Calibration is one test in the wider question of whether a model can be trusted to grade at all, which is worked through in testing whether an LLM-as-a-judge is reliable.

Brier score. The mean of (confidence minus outcome) squared across all items (Brier 1950). It is a strictly proper scoring rule and needs no binning, which makes it the one number on this page that no binning choice can move. Lower is better. A judge that always says 0.5 scores exactly 0.25 on any data. The sharper benchmark on skewed data is the uncertainty term in the decomposition table below: a judge that always states the overall base rate scores exactly that value, so a Brier score above the uncertainty term means the stated confidences carry less information than the base rate alone.

ECE and MCE, and what binning hides. Items are grouped into confidence bins. Each occupied bin contributes its count-weighted absolute gap between mean stated confidence and observed accuracy; ECE is the sum of those contributions (Naeini et al. 2015, in the formulation of Guo et al. 2017), and MCE is the largest single-bin gap. Both move with the binning: more bins expose structure but thin the per-bin counts, and a wide bin can hide offsetting errors, because overconfident and underconfident items inside one bin cancel. The default is 10 equal-width bins, the convention most of the literature reports. Equal-mass bins instead hold per-bin counts steady, which helps when confidences cluster near the top of the range, as LLM judge confidences usually do. Interior bin edges belong to the upper bin, and a confidence of exactly 1 lands in the last bin. In equal-mass mode the table's bin ranges are the observed minimum and maximum confidence in each bin rather than nominal edges, and items with identical confidence can split across adjacent bins to keep the counts even.

Murphy decomposition. On the same bins, the Brier score splits into reliability (the miscalibration penalty, lower is better), resolution (how far per-bin accuracy moves away from the base rate, higher is better), and uncertainty (the base rate's own variance, fixed by the data). The textbook identity, reliability minus resolution plus uncertainty, holds exactly only when every item in a bin shares one confidence value, so the table reports the leftover within-bin residual explicitly rather than letting the three terms quietly fail to add up to the Brier score.

Per-bin intervals and high-confidence errors. Each bin's accuracy carries a Wilson 95% interval, because a gap computed on a five-item bin is mostly noise and the interval says so. The high-confidence slice counts items at or above the threshold (inclusive, default 0.90) and reports how many of those confident verdicts were wrong. That error rate is the number to check before auto-accepting a judge's confident verdicts.

Worked example. The preloaded 24 items score 18 correct (75.0% accuracy) against a mean stated confidence of 82.8%, an overall overconfidence of 7.8 points. With 10 equal-width bins, ECE is 8.2% and the Brier score 0.185. The top bin holds the ten most confident verdicts at a mean stated confidence of 95.4% against 80.0% observed accuracy, a 15.4-point gap that is also the MCE, and 2 of the 10 verdicts at or above 0.90 confidence are wrong. Rerunning the same rows with 5 equal-mass bins moves ECE to 9.7% and MCE to 26.6%, which is the binning dependence described above at work, and the reason this page always names its binning next to the number.

Honest limits. Every figure is arithmetic on the rows you paste. The correctness column is itself a measurement, and a mislabeled reference set skews a calibration read in either direction. Stated LLM confidences are generated text, and a verbalized 0.9 is under no obligation to behave like an internal probability, which is precisely why measuring it is worth the trouble, and what makes a model sound sure when it is wrong is the plain-language account of why stated confidence and correctness come apart. Quote ECE with its bin count and strategy attached, and compare judges only under the same scheme. The method for carrying a judge's measured error rates into the eval score you report is worked through in bias-correcting judge evals before reporting them.

Formula: Brier = mean (confidence - outcome)^2; ECE = Σ (n_b / N) |conf_b - acc_b|

Questions

What is a good expected calibration error for an LLM judge?

There is no universal bar. ECE moves with the bin count, the binning strategy, and the confidence distribution, so a bare number with no binning stated is not comparable across judges or papers. In practice, compare judges on the same data under the same scheme, and read the reliability diagram alongside the number: an ECE of 5% caused by one systematically overconfident region is a different problem from 5% of scattered per-bin noise.

Brier score or ECE: which one should I report?

They answer different questions. ECE isolates calibration: whether stated confidence matches observed accuracy on average per bin. The Brier score also rewards resolution, the ability to separate easy items from hard ones. A judge that always states the overall base rate is perfectly calibrated yet earns a mediocre Brier score, while a sharp judge with a constant overconfidence offset can post a strong Brier score and a poor ECE at the same time.

How many bins should I use for ECE, and does the strategy matter?

Equal-width with 10 bins is the literature default and the right choice for comparability with published numbers. Equal-mass bins are the better read when confidences pile up near 1, as LLM judge confidences tend to: equal-width then leaves most bins empty and one bin holding most of the data, while equal-mass keeps every bin's count, and therefore its noise level, comparable. When the two schemes tell different stories, trust the diagram and the per-bin intervals over either single number.

My judge only ever says 0.9 or 0.95. Can calibration still be measured?

Yes, and coarse confidence output is itself a finding. Values that close together can even share a bin: with the default 10 equal-width bins, 0.9 and 0.95 both land in the top bin, while equal-mass binning separates them. Either way ECE reduces to a weighted gap over a handful of clusters, and the Brier score is unaffected. What is lost is the shape of the reliability curve. Prompting the judge for a finer-grained confidence scale is usually the fix before reading much into the curve.

How do I measure agreement between my LLM judge and human labels?

That is a separate measurement and this page does not compute it. Agreement asks whether the judge and the human reach the same verdict; calibration asks whether the number the judge attaches to its verdict carries information. The statistic to reach for is Cohen's kappa against the human label, which discounts the agreement the two would reach by chance. Compute it in the two-rater Cohen's kappa calculator, or, for a panel of three or more judges voting on the same items, in the multi-rater agreement calculator, which reports the Landis and Koch band beside the coefficient and its interval. Both readings are worth having: a judge can match human labels closely and still attach confidence numbers that mean nothing.

How many judged items do I need to measure calibration?

Enough that the bins are not noise. The Brier score is a mean over every item and settles early. ECE and MCE are read bin by bin, and a bin holding five items produces a gap that is mostly sampling error, which is why every bin here carries a Wilson 95% interval on its accuracy and the notes under the results call out the thin ones. As a working floor, a few hundred judged items spread across the confidence range give readable bins at the default of 10. Below about 50 items, switch to equal-mass binning with 4 or 5 bins and read the intervals more than the point estimates. Nothing here sizes a calibration study in advance; the sample size and power calculator sizes a pass-rate comparison, so it is the instrument once you are comparing two judges' error rates rather than reading one judge's bins.

Does a well-calibrated judge mean my eval is trustworthy?

Calibration is one gate among several. A judge can be well calibrated on average and still carry position bias, verbosity bias, or a blind spot on one task family; the full set of pre-flight gates to clear before trusting a judge's verdicts is laid out in the LLM-judge bias checklist. Swap-consistency has its own instrument in the position bias calculator, agreement with a human reference in the two-rater kappa calculator, and the correction that carries judge error rates into a reported pass rate in the judge bias correction calculator.

Sources

  1. Brier (1950), Verification of Forecasts Expressed in Terms of ProbabilityMonthly Weather Review Retrieved
  2. Murphy (1973), A New Vector Partition of the Probability ScoreJournal of Applied Meteorology Retrieved
  3. Naeini, Cooper and Hauskrecht (2015), Obtaining Well Calibrated Probabilities Using Bayesian Binning (ECE and MCE)AAAI Retrieved
  4. Guo et al. (2017), On Calibration of Modern Neural NetworksarXiv Retrieved