On this page
An LLM judge is a model that scores another model's output against a rubric. It becomes a release gate only after you have measured how often it agrees with the people who own the quality bar. A judge that has never been calibrated is a prompt with a confidence problem, not a test.
The failure mode is easy to recognize. A team adds a judge to its pipeline, watches the average score fall from 8.7 to 8.5, and blocks the release. Nobody has compared the judge with a human label. The drop could be a real regression, a change in the judge model, a position effect, or a rubric that two reviewers read differently. The team cannot tell, because it never measured the instrument.
LLM-as-a-judge is useful. Strong judges can reach over 80% agreement with human preferences on some benchmarks, about the same as human-to-human agreement (Zheng et al., 2023). The important phrase is "on some benchmarks." A judge is a measurement instrument, and you calibrate an instrument before you use it to reject a shipment.
This guide follows the same path you would use for any other test: define what the judge can measure, write a rubric it can apply, calibrate it on labeled examples, handle the cases where it disagrees, and only then decide whether it can block a release. The same method applies whether you are grading support answers, summaries, agent traces, or generated code review comments. If you are still assembling the test bench itself, start with the evaluation harness.
What an LLM Judge Can and Cannot Measure
A judge measures observable criteria in a rubric. It does not measure ground truth, and it does not replace the domain expert. The useful question is narrow: on this task, with this rubric, does the judge's label match the label an expert would give?
Three judge patterns
Most judges use one of three patterns. The pattern changes the question the model answers, and it changes the failure modes you need to calibrate.
| Pattern | What the judge sees | Best for | Blind spot |
|---|---|---|---|
| Pairwise | Two outputs and a criterion | Subjective comparisons, tone, preference | Position bias and tie handling |
| Pointwise | One output and a rubric | Absolute labels, policy checks, release gates | Scale drift and vague anchors |
| Reference-based | An output plus a reference answer | Factual accuracy and completeness | The reference can be wrong or stale |
Use a judge for meaning, not mechanics. If a JSON schema, a regex, a compiler, or a unit test can decide, use that instead. A judge adds latency, cost, and a new error rate, and it cannot make a deterministic check more reliable. The best evaluation stacks reserve judges for criteria that code cannot express, such as helpfulness, tone, groundedness, or whether an agent's reasoning supports its answer.
The evidence for judges is real, but it is bounded. Zheng et al. found strong judges can match human preferences on MT-Bench and Chatbot Arena. A later study found that even the best judges can differ from human scores by up to five points, and that high percent agreement can still hide large score differences (Thakur et al., 2025). A judge that looks accurate at the top line can be wrong in the cases that matter most.
Write a Rubric the Judge Can Apply
A rubric is a job description: the criterion, what passes, what fails, the evidence the judge must cite, and one example of each. If two reviewers cannot apply it to the same output and reach the same label, the judge will not be able to either.
Start with the decision
Write the rubric around the decision it supports, not around a generic quality score. "Would a support lead send this answer?" "Would a safety reviewer allow this output?" "Would a staff engineer merge this code review comment?" A decision gives the rubric a pass state and a fail state. A quality score does not.
Prefer categorical labels over 1-5 scales
A 1-5 scale feels precise, but the difference between a 3 and a 4 is usually undefined. Binary or three-state labels tie the score to a state you can audit, and they make disagreement easier to discuss (Arize, 2026). A judge that returns pass, fail, or needs review is more useful than a judge that returns 3.7 with no explanation.
Require the judge to state its evidence and explain its reasoning before it gives the label. Explanation-first prompting gives you something to inspect when the judge disagrees with a human, and it reduces the chance that the label is a guess dressed up as a score. The exact prompt format matters less than the discipline: evidence first, label second.
-
Name the decision and the person who owns it.
-
Write the pass and fail definitions, with one example of each.
-
List the evidence the judge must quote: source, policy, or user request.
-
Test the rubric on 20 to 30 examples and inspect every disagreement.
-
Version the rubric and freeze it for calibration.
An example rubric for a support answer
A support rubric is a good test case because the decision is concrete and the failure modes are visible. The rubric below is illustrative. Replace the criteria with the ones your domain expert actually uses.
| Criterion | Pass | Fail |
|---|---|---|
| Factual accuracy | Every claim is supported by the retrieved source. | One or more claims are unsupported or contradicted. |
| Completeness | Answers the question and gives the next step. | Misses a required step or leaves the user stuck. |
| Tone | Plain, direct, and free of blame. | Dismissive, blaming, or needlessly vague. |
| Safety | Refuses or escalates correctly. | Gives unsafe instructions or misses an escalation. |
Keep one rubric focused on one decision. If you need to grade accuracy, tone, and safety, you can use one rubric with three labeled dimensions or three separate judges. What you should not do is average three unrelated scores into one number and call it quality. A release gate needs to know which dimension failed. If you are choosing an evaluation tool as well as a judge, the same discipline applies when you evaluate AI tools before you buy.
Calibrate the Judge Against Human Labels
Calibration answers one question: on examples your experts have already labeled, how often does the judge agree, and where does it fail? You cannot answer that question with a prompt review. You answer it with a labeled set, a metric, and a disagreement log. The loop below shows the order, and why the second pass is usually better than the first.
Build the calibration set
Start with 50 to 200 human-labeled examples. That range gives you enough variety to calculate a meaningful Cohen's kappa and enough edge cases to see where the rubric breaks. For a failure mode you plan to gate on, aim for about 100 labeled examples with both passes and fails. Below 60 examples, the confidence intervals are often too wide to support a useful conclusion (Hamel Husain, 2024).
Label blind. Do not show the human reviewer the judge's score before they label the example, or you will anchor the human to the model. Include clean successes, edge cases, and failures. If your product has rare failure modes, oversample them in the calibration set, then report the base rate separately. A set that is 95% passes will make an always-pass judge look excellent.
Measure the right numbers
Raw agreement is the first number people report, and it is the easiest to misread. If failures are rare, a judge that always says pass can post 95% agreement while catching none of the failures. Report the true positive rate and the true negative rate separately, and treat the human labels as ground truth. The matrix below shows what each rate is measuring.
Cohen's kappa adjusts for agreement that would happen by chance, which makes it a better headline metric than raw agreement for categorical labels. Arize cites a 2026 benchmark that treats 0.6 as acceptable and 0.8 as production-ready. Treat those thresholds as starting points, not law. The right threshold depends on the cost of a missed failure and the cost of a false alarm in your product.
- Human agreement for strong judges on MT-Bench and Chatbot Arena
- 80%+ Source: Zheng et al., 2023
- Human-labeled examples for a meaningful kappa estimate
- 50-200 Source: Arize, 2026
- Gap between the best judges and human scores in one study
- 5 points Source: Thakur et al., 2025
The score gap matters as much as the label match. A judge can agree with a human on the pass/fail label while assigning a very different score, and that difference can change a ranking or a threshold. If the judge is deciding whether a release is better or worse than the last one, measure the score, not only the label.
Then iterate on the rubric, not the judge. Inspect the examples where the judge and the human disagree, group them into failure modes, and add the missing instruction or example. In one documented case, three iterations reached over 90% agreement with the domain expert. That is one case, not a target, but it shows the loop: label, compare, revise, repeat.
Keep a held-out set. Tune on one set, then measure on examples the judge has not seen. If you keep tuning on the same examples, you are measuring how well the judge memorized your rubric, not how well it will perform on the next release. Teams that do this well treat the calibration set as a versioned product asset, with an owner and a refresh date.
Handle Disagreement and Tie Cases
Disagreement is not noise to average away. It is the part of the measurement that tells you where the rubric is weak. A judge that agrees with humans on the easy cases and fails on the ambiguous ones is still useful, as long as you know which cases are which.
Treat ties as a third bucket
Pairwise judges often return a tie. Do not force the tie into a pass or a fail to make the dashboard simpler. Route ties to a human reviewer, or to a tie-breaker rubric with a narrower question. If ties are frequent, the two outputs may be genuinely equivalent, or the rubric may be too vague to separate them.
Disagreement usually signals an ambiguous rubric rather than a poor judge.
Control position bias
A pairwise judge can prefer the first response it sees, or the second, regardless of quality. The effect is large enough to flip a ranking: in one study, Vicuna-13B beat ChatGPT on 66 of 80 queries after the order of the responses was changed, with ChatGPT as the evaluator (Wang et al., 2023). If the verdict changes when you swap the order, the verdict is not stable.
The standard fix is to run both orders and average the result. Some evaluation services call this response flipping and flip half of the calls automatically. A second fix is multi-sampling: run the judge several times and aggregate the labels. Neither fix removes position bias. They make it visible and reduce its effect on the aggregate.
Escalate the uncertain cases
Selective evaluation is the most useful pattern for a release gate. The judge scores the easy cases, and the pipeline routes the uncertain ones to a human or a stronger model. In one study, this approach reported a guarantee of over 80% human agreement with almost 80% coverage on a Chatbot Arena subset where GPT-4 alone rarely reached 80% (Jung et al., 2024). The guarantee depends on the confidence method and the data, but the design principle is portable: do not force the judge to answer when it has no reliable signal.
When two human experts disagree on a label, fix the rubric before you blame the judge. If the experts cannot agree, the judge has no stable target to learn. Add a concrete rule and an example for the disputed case, then relabel the sample. That is slower than rewriting the prompt, and it is the only way to make the disagreement useful.
When a Judge Score Can Block a Release
A judge can block a release when it has a frozen rubric, a pinned model, a calibration set, and a threshold tied to the cost of a wrong decision. Until then, it is advisory. The gate is the last step, not the first one.
| Mode | What it does | Use it when | Failure mode |
|---|---|---|---|
| Advisory | Reports a score or label, but does not block | During development, before calibration | The score is ignored |
| Soft gate | Blocks only on a large drop or a failed critical slice, with human sign-off | After calibration, while the judge is still being trusted | Alert fatigue |
| Hard gate | Blocks any drop below the threshold | After calibration on a stable task with a held-out set | False blocks and threshold gaming |
Pin the judge and the rubric
A judge score is only comparable to another score from the same judge, the same rubric, and the same prompt. Pin the judge model version and the rubric version in the pipeline. When either changes, re-calibrate on the labeled set before you compare the new score to the old one. A model upgrade can improve the judge and still break your threshold.
Run the same judge in development and production. If the pre-release gate uses one model and the production monitor uses another, the two numbers are not the same measurement. Keep one rubric and one judge version per decision, and record the version alongside the result.
Set the threshold from the cost of errors
There is no universal pass mark. A false pass ships a bad answer to a user. A false fail blocks a good release and wastes engineering time. The ratio between those costs sets the threshold, and the ratio is different for a support answer, a medical summary, and a code review comment. Start with the threshold that matches your risk, then test it against the calibration set.
Gate on one dimension at a time. A judge calibrated for tone cannot block on factual accuracy, and a judge calibrated on one product surface cannot block another. If you need three decisions, calibrate three judges or one rubric with three labeled dimensions, and report which dimension failed.
Keep a human spot check
Even a calibrated judge drifts when the product, the users, or the model changes. Sample production traces, compare the judge to human labels, and track the pass rate over time. A sudden shift in the pass rate without a corresponding change in the product is a reason to inspect the judge, not a reason to celebrate. The same discipline you used to calibrate the judge is the one that keeps it trustworthy.
If the judge is the thing that changed, roll back the judge version, not the product. Keep the previous rubric and model version available so you can compare the old and new measurements on the same labeled set. That is the difference between a gate and a guess.
Frequently Asked Questions
Is LLM-as-a-judge reliable?
Should I use pairwise or pointwise judging?
How many human labels do I need?
Which model should be the judge?
Can an LLM judge replace human review?
How often should I recalibrate?
What should I do with ties?
The Bottom Line
The question is not whether LLM-as-a-judge works. The question is whether this judge, on this rubric, agrees with your experts often enough to carry the decision. Write the rubric, label 50 to 200 examples, measure true positive rate, true negative rate, and Cohen's kappa, and keep the judge advisory until it earns a gate. A judge that has been calibrated is a useful instrument. A judge that has not is a prompt with a number attached.
If you want to see how the judge fits into a wider test bench, read the evaluation harness guide. If you are still selecting the models and tools, start with how to evaluate AI tools before you buy, then browse the evaluation and testing directories for the categories that fit your stack.
Last verified: December 2026. The calibration method is stable. The judge model you use is not.