Agent Evaluation

LLM-as-a-Judge: Calibration, Bias, and Reliable Scoring

Calibrate LLM judges with evidence-based rubrics, human agreement checks, pairwise bias tests, and uncertainty measures before relying on their scores.

· · 8 min read

Prepared with AI research assistance. Sources are linked throughout; worked examples are illustrative unless stated otherwise. Editorial approach.

An LLM judge is a measurement instrument with failure modes of its own. It can help assess qualities that are difficult to encode as a Boolean test, such as whether a support explanation resolves the actual question. Its score becomes useful only after you establish what the score means, where it disagrees with informed reviewers, and which decisions those disagreements can safely support.

This guide proposes a calibration process for a hypothetical support-answer evaluator. The examples and numbers are illustrative, not reproduced benchmark results.

Define the judgment before choosing a judge

Separate three questions: did the agent perform the permitted actions, are its factual claims supported, and is its explanation useful? The first may be answerable from an operation ledger. The second needs evidence. The third may require informed judgment. Giving a language model all three responsibilities makes it difficult to identify which property improved.

The MT-Bench paper distinguishes single-answer grading, pairwise comparison, and reference-guided evaluation. It also investigates position and verbosity biases and limited reasoning ability. Those findings motivate testing your judge, but its chatbot benchmark does not establish reliability for a particular business workflow. Read the original research.

For the proposed support evaluator, deterministic checks first establish that referenced orders exist, required fields are present, and no forbidden action occurred. The judge then evaluates whether the response accurately explains the verified outcome and gives an appropriate next step. A persuasive explanation cannot override a failed authorization check.

Build a rubric with observable anchors

A vague instruction such as “rate quality from one to ten” gives the evaluator too much freedom to invent its own priorities. Define separate dimensions and attach each to observable evidence.

Dimension Passing evidence in this example Important failure
Factual support Material claims match supplied records Invented refund or delivery status
Policy application Explanation follows the supplied policy version Obsolete eligibility rule
Resolution The customer's actual question is answered Fluent but unrelated guidance
Uncertainty Missing evidence is acknowledged Definite claim without confirmation

These are proposed rubric dimensions. They need examples from your application, including borderline cases. A response that says “the refund request was accepted” differs materially from one that says “the money has arrived.” The rubric should make that distinction explicit instead of relying on general linguistic similarity.

G-Eval explores structured evaluation criteria and a form-filling approach for generation evaluation, with experiments on summarization and dialogue. It offers useful methodology, not proof that importing its prompt will calibrate a support judge. G-Eval, EMNLP 2023.

Keep ordinal categories interpretable. If labels mean unsupported, partly supported, and supported, averaging them assumes distances that the rubric has not established. Retain the underlying categories and critical-failure flags alongside any summary score.

Create a human reference process worth matching

Ask two qualified reviewers to label a representative calibration sample independently, without seeing model identity or the judge's verdict. Supply the same evidence that the judge receives. Otherwise apparent disagreement might reflect privileged information rather than a faulty evaluator.

Resolve disagreements by examining the rubric and evidence. Preserve the original labels and adjudication reason. If reviewers disagree because policy is ambiguous, mark that ambiguity rather than manufacturing a confident gold label. Report agreement before adjudication so the reference process remains visible.

Split calibration examples from the held-out judge test. Use the former to revise instructions and examples; reserve the latter to assess the resulting evaluator. Separate related customer threads and templated variants across splits. Evaluation dataset design explains why shared examples can make an evaluator appear more reliable than it is.

Include easy successes, subtle unsupported claims, justified abstentions, concise correct responses, and polished incorrect responses. A dataset consisting mostly of obvious passes will not reveal whether a release gate catches consequential failures.

Measure disagreement at the decision boundary

Consider a hypothetical held-out set of 200 support answers. Human reviewers accept 150 and reject 50. The judge produces this result:

Human outcome Judge accepts Judge rejects
Accept 140 10
Reject 12 38

Agreement is 178 divided by 200, or 89%. However, the judge accepts 12 of the 50 unacceptable answers: a 24% false-accept rate among human failures. Among its 152 accepted answers, 12 are unacceptable, approximately 7.9%. These denominators answer different operational questions.

The first asks how many failures escape detection. The second asks how risky an accepted result is under this sample's prevalence. If production contains a different mixture of cases, the second rate can change even without changing the evaluator's conditional behavior.

The study Judging the Judges investigates alignment, score differences, and vulnerabilities, and warns that percent agreement alone can conceal important mismatches. Its results concern its evaluated tasks and models; they should not be converted into a universal accuracy estimate. Read the revised study.

Choose acceptance criteria before looking at the final test. For this illustrative workflow, a missed fabricated refund might deserve a much larger penalty than an unnecessary human escalation. An overall agreement threshold cannot express that asymmetry. Inspect confusion matrices by failure class and report uncertainty when a class contains few examples.

Test pairwise judgments for order and style effects

For comparisons, judge both presentations: candidate A before B, then B before A. Normalize the verdict back to candidate identity. An answer that wins only when it appears first should be marked order-sensitive, not counted as an unambiguous improvement.

Distinguish a genuine tie from contradictory judgments. A tie means the rubric cannot establish a meaningful preference; contradiction means the measurement changed under an irrelevant transformation. Keep separate counters so an unstable judge does not hide inside a broad tie category.

Add controlled style perturbations. Compare a concise correct answer with a longer equivalent version, and a polished unsupported answer with a plain supported one. Remove model names and other irrelevant identity cues. These checks are diagnostic experiments proposed here, not a guarantee that two-order judging removes every bias.

Evaluate substantive dimensions separately from presentation. Brevity may matter for a notification, while completeness matters for a complex explanation. The goal is to prevent irrelevant length from deciding factual correctness, not to reward short answers automatically.

Treat confidence as a hypothesis to validate

A judge's self-reported confidence is another output, not an empirical probability. If an illustrative judge assigns 0.90 confidence to 60 decisions and only 48 match adjudicated labels, that bin shows 80% observed agreement in this sample. It does not demonstrate 90% reliability, and the small sample introduces uncertainty.

If probabilities support your decision process, assess them against held-out outcomes using reliability bins and a proper scoring rule. Binary Brier loss is the average squared difference between predicted probability and the observed zero-or-one outcome. Scikit-learn's documentation also explains why Brier loss reflects discrimination and uncertainty as well as calibration: a lower value alone does not establish better calibration. Brier score documentation.

Define what the probability refers to: a factual failure, human acceptance, or agreement with the adjudicated label. These are different events. Do not combine them into a generic confidence field.

Abstention creates an operational tradeoff. Route missing-evidence cases, conflicting pairwise results, and known weak categories to review. Measure both the quality of automated decisions and the fraction delegated to people. A system that achieves excellent accuracy by declining nearly everything may not meet the product's needs.

Make judge inputs and outputs auditable

Store the rubric version, judge model identifier, evidence snapshot, candidate identifier, presentation order, raw result, and validation outcome. Require a bounded structured result, for example:

{
  "rubric_version": "support-answer-v3",
  "decision": "review",
  "dimension_results": {"factual_support": "insufficient_evidence"},
  "evidence_ids": ["refund-record-example-7"],
  "reason": "The record confirms submission, not settlement."
}

This is an illustrative output contract. Validate allowed values and evidence identifiers in code. Request concise evidence-based explanations rather than treating a long rationale as proof of correctness.

Treat candidate responses as untrusted data. A candidate may contain instructions telling the evaluator to award a high score. Keep rubric instructions separate, prevent the judge from executing tools based on candidate content, and add adversarial examples to its own test set. A delimiter helps structure the input but is not a security boundary.

Version changes to evidence selection as well as prompt text. Omitting a policy page can change judgments even when the model and rubric are unchanged. Before using judge scores as release gates, connect them to agent regression testing in CI and retain human checks for important failure classes.

Frequently asked questions

Is using a stronger model enough to obtain a reliable judge?

No. Capability does not define your acceptance policy, supply missing evidence, or establish agreement on your workload. A stronger judge still needs a task-specific rubric, held-out validation, and ongoing checks after changes.

Should several judges vote on every answer?

Only if measured benefits justify the cost. Judges can share errors because they see the same incomplete evidence or follow similar heuristics. Compare a panel against an individual judge and human references; do not assume independent votes.

When should the judge be recalibrated?

Recheck after model, rubric, evidence, task distribution, or output-format changes. Sample production disagreements and newly observed failure classes. Preserve a held-out set so repeated prompt tuning does not silently turn the test into training material.

Source reference list

LLM Evaluation
LLM-as-a-Judge
Agent Evaluation
AI Testing