Forward Deployed EngineeringAI EngineeringJudge Calibration

When can you trust LLM-as-judge, and how do you calibrate it against human labels?

Question 56 of 73 · Updated

On this page

Interview-ready answer#

I trust an LLM judge for a particular rubric, task distribution and decision, not because it is a strong model or agrees with humans on a public benchmark. It is useful for scaling judgments that cannot be reduced to exact assertions, such as whether a support response adequately explains a policy. It is not an independent authority on facts, authorization or whether a transaction actually happened.

I would first obtain independently annotated, adjudicated human labels, then calibrate the judge on a development set and measure its errors on a separate held-out set. I care especially about false passes, false rejections, agreement by risk slice and statistical uncertainty. Where a score drives acceptance, I choose a threshold using the cost of those errors, and allow an abstention or human-review region.

I would use deterministic checks wherever possible, keep critical decisions under independent controls, and continuously audit judge decisions after deployment. A new judge model, rubric or candidate-model distribution can invalidate previous calibration.

1. Establish what the judge is allowed to judge#

An LLM judge is an evaluator, not a source of ground truth. Choose the strongest available evaluation mechanism for each criterion.

CriterionPreferred mechanism
JSON schema, arithmetic, resource identity, final transaction stateDeterministic assertion against authoritative state
Claims supported by supplied documentsEvidence-based rubric, verified citations and targeted human adjudication
Completeness of a policy explanationRubric-based judge calibrated against qualified reviewers
Tone, clarity and relevanceCalibrated human or model preference judgments
High-impact authorization or irreversible actionApplication-enforced policy; do not delegate approval to a judge

The launch suite in FDE-0050 defines task outcomes and safety gates. This question addresses whether the grading instrument itself is reliable.

2. Build a human reference standard#

Define the unit of judgment: an answer, a claim, a tool trajectory or a full conversation. Avoid mixing these units in one agreement statistic.

Use a rubric with observable anchors. For example, for a refund-policy explanation:

  • Pass: applies the correct policy and relevant exceptions; makes no unsupported material claim.
  • Fail: wrong rule, missing decisive exception or unsupported promise.
  • Unclear: evidence is insufficient or the rubric does not resolve the case; adjudicate or review.

Provide reviewers with the same relevant evidence, policy revision and task context available to the judge. Let qualified reviewers independently label overlapping cases before discussion, blind to model identity and judge verdict where feasible. Record rationales and disputed categories, measure inter-rater agreement, and adjudicate with the policy owner. Human disagreement can reveal an ambiguous rubric rather than a model error; do not erase it by silently converting all uncertain cases to pass.

Split examples into rubric/prompt development, threshold calibration and final held-out evaluation. Group related conversations or near-duplicate responses together across splits to avoid leakage. Include naturally occurring good and bad answers, subtle errors, hard negatives and difficult risk slices. Do not rely only on obviously wrong synthetic answers. A deliberately balanced challenge set helps diagnose errors but does not directly estimate the production prevalence of bad answers.

3. Measure the error that matters to the business#

For a binary acceptance judge, define positive as pass according to the human reference. Consider this hypothetical held-out dataset of 300 cases:

Human referenceJudge passJudge fail
Pass170 (TP)20 (FN)
Fail10 (FP)100 (TN)
MetricCalculationResult
Observed agreement(TP + TN) / N90.0%
False acceptance rateFP / (FP + TN)9.09%
False rejection rateFN / (TP + FN)10.53%
Error among accepted answersFP / (TP + FP)5.56%

The judge appears accurate overall, yet accepts roughly one in eleven human-labeled failures. For a financial-policy gate, that might be unacceptable. The two false-acceptance denominators answer different questions: how often the judge misses a bad answer, and how often an approved answer is actually bad. The second depends strongly on the prevalence of bad answers in the evaluated population.

Cohen's kappa adjusts observed agreement by agreement expected from the two raters' marginal label frequencies:

LaTeX

Here = 0.90 and = (190 × 180 + 110 × 120) / 300² ≈ 0.5267, giving κ ≈ 0.789. Kappa is not the probability of correctness. It is sensitive to prevalence and marginal distributions; high agreement on overwhelmingly easy cases may coexist with low kappa. Report the confusion matrix and per-class errors alongside it.

For two raters with ordered categories, weighted kappa can distinguish minor from severe disagreement. For more raters or incomplete annotation, consider an appropriate multi-rater statistic such as Krippendorff's alpha. Compute human-human agreement before adjudication and judge-reference agreement afterward; these measure different relationships. Human-human agreement helps diagnose rubric clarity, but is not a universal upper bound on judge performance.

Tested Python: exact binary judge metrics#

PYTHON
from fractions import Fraction def judge_metrics(tp, fp, fn, tn): counts = (tp, fp, fn, tn) if any(type(x) is not int or x < 0 for x in counts) or not sum(counts): raise ValueError('nonnegative counts and nonempty sample required') n = sum(counts) def ratio(a, b): return Fraction(a, b) if b else None po = Fraction(tp + tn, n) pe = Fraction((tp+fn)*(tp+fp) + (fp+tn)*(fn+tn), n*n) return {'agreement': po, 'kappa': (po-pe)/(1-pe) if pe != 1 else None, 'false_accept': ratio(fp, fp+tn), 'false_reject': ratio(fn, fn+tp), 'accepted_error': ratio(fp, fp+tp)}

Undefined metrics return None, not a misleading zero. Python 3.13.5 passed 1,301 local scenarios: all 1,295 nonempty confusion matrices with each cell ranging from 0–5 against an independently enumerated label-pair oracle, five invalid inputs and the worked example. The tests establish arithmetic, not any actual judge's reliability.

4. Calibrate the decision, not merely the score#

If the judge produces an ordinal or continuous score, first test whether higher scores actually correspond to higher human acceptance rates. A model's self-reported confidence or score is not automatically a calibrated probability. Where a probability is useful, fit a calibration mapping such as logistic or isotonic calibration on a separate calibration set, and assess reliability curves and a proper scoring rule such as Brier score on the holdout.

For a pass/fail decision, choose the operating point from measured trade-offs. For example, require a sufficiently high score for automatic acceptance, a low score for automatic rejection, and route the intermediate region to human review. Tune both thresholds against the customer's tolerated false passes, false rejections and review capacity. Report coverage, class-conditional errors and the error rate among auto-accepted cases, not just accuracy after discarding ambiguous examples.

Confidence matters: in the worked example, 10 false accepts among 110 human-labeled failures gives a two-sided 95% Wilson interval of approximately 5.0%–15.9%, assuming independent representative cases within that class. If the customer requires a false acceptance rate below 5%, this judge has not demonstrated suitability. For an actual one-sided acceptance gate, predeclare the appropriate upper confidence bound. Use stratified or clustered inference when examples are not independently sampled. Do not reuse the calibration set to claim unbiased performance at the chosen threshold.

Measure separately for high-impact policy failures, language groups, evidence availability and candidate-model families. A judge may work for ordinary response quality yet fail specifically on a decisive policy exception. If there are too few labeled failures in a critical slice to estimate risk, collect more data or retain human review.

5. Diagnose judge-specific biases#

Bias or failureDiagnostic and mitigation
Position bias in pairwise comparisonSwap answer order, randomize presentation and measure verdict reversals; adjudicate disagreements
Verbosity or style biasMatch substantively equivalent answers with different lengths and styles; score explicit rubric criteria
Self-preference or model-family biasBlind model identifiers and test answers from multiple generators
Reference anchoringInclude valid alternative solutions and compare with authoritative evidence rather than exact wording
Prompt injection in evaluated textTreat candidate answers as untrusted data; test adversarial content and keep the judge read-only
Rubric sensitivityEvaluate paraphrased rubric instructions and repeated trials; measure instability and review borderline cases

Pairwise preference can simplify relative comparison, but a winner between two poor answers need not satisfy an absolute quality standard. Likewise, an ensemble of correlated judges can agree and still be wrong. Validate the ensemble itself against human judgments if using one.

Require structured criterion-level decisions with concise evidence references. Do not confuse a persuasive rationale with a verified judgment. A candidate should not be rewarded for quoting the evaluation rubric or directing the evaluator to award a passing score.

6. Prevent evaluation leakage and monitor drift#

Keep final holdout answers and labels out of prompt optimization, judge examples, fine-tuning data and repeated manual tuning. Give the judge only the reference evidence that is explicitly part of the evaluation protocol. Version the judge model, prompt, rubric, threshold mapping, dataset and grading implementation as a single evaluation configuration. If developing a model against judge feedback, periodically use a fresh human-labeled holdout to detect reward hacking and overfitting.

In production, audit a random sample of automatic passes and failures, not only cases the judge already flagged. Oversample critical and low-confidence cases in a separate review stream and use appropriate weights for population estimates. Track disagreement with humans, false acceptance, false rejection, coverage, adjudication workload and error slices over time. Compare against the original validated operating point.

Recalibrate on material changes to the judge, generator, rubric, evidence distribution or business policy. If a judge no longer meets its acceptance conditions, suspend automatic grading for the affected scope and route it to deterministic checks or qualified reviewers.

Practical FDE decision: if a customer wants automated evaluation of support responses, I would use a calibrated judge for clarity and grounded explanation, deterministic assertions for refund execution, and targeted human review for disputed policy cases. Trust is earned per decision and remains conditional on ongoing evidence.

Related questions

Explore other topics:AI AgentsAI System DesignLarge Language Models