Blog

LLM as a Judge: When 90% Agreement Means Nothing

Markdown

LLM as a judge explained for people who have to defend the number. Why raw agreement misleads, how to validate a judge.

TL;DR: LLM as a judge means having one model score another model's output. Every guide explains how to build one. Almost none explains how to find out whether the one you built is any good, and the number the industry quotes for that, 80 to 90 percent agreement with human labels, cannot be interpreted without knowing your label distribution. On a set where 90 percent of outputs are already fine, a judge that approves everything scores 90 percent and has a Cohen's kappa of exactly zero. This is the piece to get right, because it is the number you will be asked to defend.

Key Takeaways:

  • Raw agreement between a judge and a human includes agreement expected by chance; interpret it alongside a chance-corrected statistic and class-level metrics
  • The same set of verdicts can be reported as 55.1 percent or 89.9 percent accuracy depending on bookkeeping choices alone, without a single judgement changing
  • Raw agreement alone does not show how much agreement exceeds chance; report a chance corrected statistic alongside it
  • Beyond well-known biases, judges can also vary across calls or have malformed responses coerced into a score of zero. Measure repeatability and handle parsing errors separately.

The Question the Guides Do Not Answer

Imagine a deployed agent that answers customer questions. At a meeting, someone asks whether it is doing a good job and how we know.

Suppose an LLM scores each reply out of a hundred and the average is in the high eighties. Without validation, that number does not tell us whether it measures the assistant or the scorer.

That gap is the subject of this article. It is not a hard problem, it is just a step that almost nobody writes down. Search for this topic and you will find a dozen excellent guides on how to construct a judge: pick a model, write a rubric, decide between scoring one output and comparing two. They are good guides. But the question is not just how to build a judge. It is how to know whether to believe one.

This piece is written for the person who has to answer that question to somebody else. There is arithmetic in it, but no machine learning background is assumed, and the one piece of statistics involved takes a paragraph to explain and a spreadsheet to compute.

What this article does not cover: benchmark design, training reward models, and the research literature on judge architectures. Those are real subjects with better sources than me. This is about the operational question of trusting a score.

What LLM as a Judge Actually Is

Definition: LLM as a judge is an evaluation method in which one language model scores another model's output against a rubric or a reference answer, replacing a human reader. It exists because human review does not scale and string matching cannot grade a paragraph.

ShapeWhat the judge seesWhat it returnsBest for
Reference basedThe output and a known good answerAlignment scoreTest suites where you wrote the expected answer
Criteria basedThe output and a written rubricScore or pass and fail per criterionOpen ended answers with no single right form
PairwiseTwo outputs for the same inputWhich one is betterComparing two prompts or two models
ReferencelessThe output and its input context onlyProperty satisfied or notProduction traffic, where no reference exists

Most teams start with reference based scoring because it fits a test suite, and then discover that the interesting question happens in production, where there is no reference. That transition is covered further down.

The hard part is the next sentence, and it is the one that gets skipped.

When 90% Agreement Means Nothing

Every guide that mentions validation says the same thing: label a sample by hand, run the judge, and see how often they agree. That is correct advice. The problem is the metric it stops at.

Here is why the raw percentage cannot be trusted, in one worked example with round numbers.

The judge that knows nothing and scores 90 percent

You have 100 support replies. You read all of them and decide that 90 are acceptable and 10 are not. This is a normal distribution for a working system, because a system where half the outputs are bad does not stay in production.

Now imagine the laziest possible judge. It approves everything. It does not read the input. It returns acceptable, always.

Human says acceptableHuman says not acceptable
Judge says acceptable9010
Judge says not acceptable00

This judge agrees with you on 90 of 100 items. Ninety percent agreement, from a judge that is a constant. If your validation stops at the percentage, this judge passes, and every reasonable person in the room would be right to believe you had measured something.

Cohen's kappa exists to remove exactly this. It asks how much of the agreement is more than you would expect if both raters were guessing with the same overall habits. The formula is one line, where po is the agreement you observed and pe is the agreement you would expect by chance:

kappa = (po - pe) / (1 - pe)
 
po = 0.90
pe = (0.90 x 1.00) + (0.10 x 0.00) = 0.90
 
kappa = (0.90 - 0.90) / (1 - 0.90) = 0

Zero. Exactly no better than chance, which is the correct verdict on a judge that approves everything.

Now change one thing. Suppose the judge is genuinely doing some work: it flags 15 items, catching 8 of your 10 real failures and wrongly flagging 7 good ones.

Human says acceptableHuman says not acceptable
Judge says acceptable832
Judge says not acceptable78
po = (83 + 8) / 100 = 0.91
pe = (0.85 x 0.90) + (0.15 x 0.10) = 0.78
 
kappa = (0.91 - 0.78) / (1 - 0.78) = 0.59

Key principle: One percentage point of raw agreement separates a judge that is worthless from a judge with a higher chance-corrected agreement in this example. Ninety percent and 91 percent look identical on a slide. Their kappa values are 0 and 0.59.

How to Validate an LLM Judge

Here is the whole procedure. LLM as a judge validation is a seven step loop, and none of the steps requires a data science team.

1. Write down what you are actually measuring. Not good or bad. One property, phrased so that two people would label the same output identically. "Does this reply answer the question that was asked" is a criterion. "Is this reply good" is a mood.

2. Label a sample by hand before you write the judge. A few hundred items, drawn from real traffic rather than examples you made up. Do the labelling first. A rubric written after you have seen the judge's answers has been fitted to the judge. While you are labelling, write down the distribution, because you will need it in step four.

3. Run the judge over the same sample. Same items, no adjustments. Keep the explanations as well as the scores. The explanations are where you discover the judge has been applying a criterion you never wrote.

4. Report a chance corrected statistic, not a percentage. Cohen's kappa for one human and one judge on categorical labels. Compute it next to raw agreement, the confusion matrix and class-level metrics; report uncertainty where possible. Kappa is undefined when expected agreement is 1, and no single value is universally sufficient. A spreadsheet can do the arithmetic.

5. Read every disagreement. Not a sample of them, all of them. Some disagreements reveal judge errors; others reveal ambiguous criteria or human labelling errors. Use them to improve the rubric and labels.

6. Repeat calls across a sample. Run several calls per item with the same prompt and settings. Measure how often results change and interpret small differences cautiously; a single pair of calls cannot describe system-wide variation.

7. Put the deterministic checks in front. Anything a schema or a regular expression can decide should never reach a model.

Validation loop at a glance

  1. Define one property and write the criterion before reviewing judge output.
  2. Label a sample of real items and record the label distribution.
  3. Score the same items with the judge, keeping explanations; repeat calls to assess variation.
  4. Report raw agreement and a chance-corrected statistic, then review disagreements.

Raw agreement alone is insufficient; using the judge as its own reference without human labels does not validate it.

LLM as a Judge Without Ground Truth

The validation above requires human labels, but it does not require a complete reference answer for each item. In production, an ideal reply to each support ticket is usually unavailable.

LLM as a judge without ground truth works by changing the question. Instead of asking whether the output matches a reference, you ask whether it satisfies a property that can be checked from the output and its input alone:

  • Groundedness. Is every factual claim in this answer supported by the retrieved context that was passed in? This is the workhorse for anything built on retrieval, and it needs no reference because the context is the reference.
  • Instruction adherence. Did the answer do what the system prompt told it to do, in the format it was told to use?
  • Prohibited commitments. Does the reply promise a refund, a delivery date, or a discount that the business has not authorised? This one is usually better handled by guardrails before it ships, and by a judge after, as a measurement rather than a block.
  • Question answered. Does the response address the question that was asked, as opposed to a nearby question the model preferred?

The validation loop does not change. You still need human labels, because you still have to prove the judge can detect the property. Build a labelled sample deliberately, then refresh it and revalidate as traffic, the rubric or the judge changes. The required sample size and effort depend on the task and the precision needed.

Definition: A referenceless judge scores an output using only the output and the context that produced it, with no known good answer to compare against. It is the standard shape for evaluation in production, and it shifts the burden from writing expected answers to writing precise criteria.

The Failure Modes That Are Not Bias

Position bias, verbosity bias and self-preference bias are potential failure modes to assess when validating a judge. Their effects depend on the model, rubric and evaluation setting.

But in a shipped system, the scores that go wrong usually go wrong for reasons that appear on no bias list.

It helps to separate two aspects of llm as a judge reliability: whether the judge repeats itself and whether its verdicts agree with an appropriate human-labelled reference. High repeatability does not establish correctness.

The grader is sampling. If your judge call runs at any temperature above zero, it is generating its verdict rather than deriving it. Imagine the same input scores 82 on Tuesday and 76 on Thursday while the product has not changed. The weekly average moves, and someone builds a theory about a product change. High repeatability is not correctness either way. A judge can be consistent about the wrong answer; sampling can also introduce variation that should be measured.

A malformed response becomes a score. Judges are usually asked to return JSON. Sometimes they return JSON wrapped in prose, or truncated at the token limit, or with the score as a string. The parser fails, and the code has to decide what to do. If it returns zero, that zero lands in your results table next to genuine failures, and it is indistinguishable from them. Your average drops and the cause is a parsing bug.

The rubric drifts and nothing tells you. Someone edits the criterion to clarify it. Scores shift by four points. The old scores and the new scores are now different measurements sharing a column in the same table, and no version marker separates them.

The judge is grading its own homework. If the same model produces the answer and scores it, self preference bias is not a risk, it is the architecture. Sometimes that trade is worth making. It should be a decision, not a default you did not know about.

Where the Judge Actually Runs

An llm as a judge workflow is not one model call. It is a small pipeline, and most of it should not involve a model at all.

Scoring pipeline at a glance

  1. Deterministic gate: Check schemas, required fields and identifiers; record failures separately.
  2. Referenceless judge: Score one named property and retain the structured result and explanation. Consider temperature zero and measure repeatability.
  3. Threshold and route: Record confident results and route cases near the decision boundary for review.
  4. Human review: Review uncertain cases and use the resulting labels in future validation.

Avoid treating a parse failure as a low score or automatically acting on unvalidated scores.

When Not to Use a Judge at All

LLM as a judge in production is a tool with a narrow correct use, and the most common mistake is reaching for it when nothing needed reading.

Do not use a judge when the property is decidable by code. Valid JSON, a required field present, a number within a range, an identifier matching, a forbidden word absent. These are checks, not judgements. They are free, instant, and unarguable.

Do not use a judge as a safety control. A score computed after the fact does not stop anything. If the output must not contain a customer's card number, that is a guardrail at the boundary, not a grade in a report.

Do not use a judge when the decision is expensive and the volume is small. If you are shipping forty responses a day and a wrong one costs a customer, read the forty. Automated evaluation is a scaling tool. At small volume, scaling is not the problem you have.

Do not use a judge to settle a question of taste that the organisation has not settled first. If two people on the team disagree about whether a reply is too formal, no model will resolve that, and the rubric you write will simply encode whichever of them wrote it.

On llm as a judge vs human evaluation, the framing as a contest is the error. Human evaluation is the measuring stick that tells you whether the judge works. The judge is what lets you apply that stick to volumes a person cannot read. Remove the humans entirely and you have an unvalidated instrument reporting numbers nobody can check, which is worse than no number at all, because a number gets quoted.

LLM as a Judge Best Practices

The llm as a judge best practices worth the name are short, and most of them are about arithmetic and defaults rather than prompting.

  1. Consider temperature zero for the judge call. It can reduce sampling variation, but does not guarantee identical outputs. Measure repeatability with repeated calls and record the model and settings.
  2. Report kappa next to the raw agreement, always. Two numbers, not one. The gap between them is the interesting part.
  3. Write the rubric before you look at the model's output. Otherwise you are fitting the criterion to the judge.
  4. Anchor the scale. Define what 100, 80, 50 and 0 mean in words. An unanchored request for a score out of a hundred is an invitation to invent one.
  5. Treat a parse failure as an error, not a zero. They belong in different columns.
  6. Version the rubric with the results. A score without the criterion that produced it is not comparable to anything.
  7. Use a different model to grade than to answer, or accept in writing that you have chosen self evaluation and why.
  8. Re-validate whenever the rubric, the judge model, or the traffic changes. All three move, usually without anyone announcing it.
  9. Keep the explanations. The scores tell you the level. The explanations tell you whether the level means anything.

Practical note: Track both repeatability and chance-corrected agreement, and revisit them when the judge, rubric or traffic changes.

A rubric you can paste

This is the shape that survives step five. Replace the criterion and the anchors, keep the structure, and keep the explanation field, because the explanations are what let you audit the scores later.

You are scoring one support reply against one criterion. Do not score anything else.
 
CRITERION: Every factual claim in the reply is supported by the CONTEXT below.
Claims about policy, timing, or money count. Pleasantries do not.
 
CONTEXT:
{context}
 
REPLY:
{reply}
 
Score:
- 2 = every claim is supported by CONTEXT
- 1 = one unsupported claim, and it is not about policy, timing or money
- 0 = any unsupported claim about policy, timing or money, or more than one of any kind
 
Return only: {"score": <0|1|2>, "unsupported_claims": ["<quote>"], "explanation": "<one sentence>"}

Two deliberate choices in there. The scale is three points rather than a hundred, because a judge asked for a number out of a hundred invents precision it does not have, and because a three point scale is one a human can apply consistently enough to be the reference. And the judge is asked to quote the claims it objected to, which turns every disagreement into something you can check in seconds rather than a number you have to argue with.

For step four, the arithmetic fits in a spreadsheet. With counts in cells A1 to A4 in the order both-pass, judge-pass-human-fail, judge-fail-human-pass, both-fail:

po  = (A1+A4)/SUM(A1:A4)
pe  = ((A1+A2)/SUM(A1:A4))*((A1+A3)/SUM(A1:A4)) + ((A3+A4)/SUM(A1:A4))*((A2+A4)/SUM(A1:A4))
kappa = (po-pe)/(1-pe)

Frequently Asked Questions

What is LLM as a judge?

LLM as a judge is an evaluation method where one language model scores another model's output against a rubric or a reference answer, instead of a human reading every response. It exists because human review does not scale and string matching cannot grade an open ended answer. The score it returns is a measurement, and like any measurement it is only useful once you know its error rate on your own data.

How do you know if your LLM judge is right?

You label a sample by hand, run the judge over the same sample, and compare. The part almost everyone skips is the last step: report a chance corrected agreement statistic rather than the raw percentage. Raw agreement counts the times you and the judge happened to say the same thing, including the times you both said it for no reason. On a set where most outputs are fine, a judge that approves everything scores very high and knows nothing.

How accurate are LLM judges compared to humans?

Raw agreement with human evaluators cannot be interpreted on its own. Report the label distribution, chance-corrected agreement and class-level results as well. On a skewed dataset, a judge can show high raw agreement while adding little information beyond the base rate.

Can you use LLM as a judge without ground truth?

Yes, and most production evaluation is exactly that case, because labelled answers rarely exist at runtime. You switch from asking whether the answer matches a reference to asking whether it satisfies a property you can define, such as being grounded in the retrieved context or containing no commitment the business cannot keep. Validation still requires human labels on a sample, refreshed as traffic, the judge or the rubric changes.

How much does LLM as a judge cost?

Cost depends on the number of items, input and output token counts, the selected model and its pricing. Include human labelling and periodic revalidation when estimating the total.

When should you not use an LLM judge?

Whenever the property you care about can be checked by code. Valid JSON, a required field, a number inside a range, a forbidden phrase, an exact identifier: all of these are string and schema checks that cost nothing, never drift, and cannot be argued with. Use a judge only for the part of quality that genuinely needs a reader, and put the deterministic checks in front of it.


The Number You Can Defend

The meeting question is whether the assistant is doing a good job and how we know. An illustrative answer would report the sample and labelling method, raw agreement and kappa, repeatability across calls, and examples of disagreements. Measure these values for the actual judge rather than assuming them.

That sentence survives being challenged. The average out of a hundred does not, because the first person who asks what it is measuring will get an answer about the scorer rather than the system.

Rao and Callison-Burch propose a reporting checklist intended to make agreement claims reconstructible and comparable. Recording the measurement protocol and label distribution helps others interpret the reported results.


Steps at a glance

  1. Write down what you are actually measuring. Not good or bad. One property, stated so that two people would label the same output the same way. Does the reply answer the question that was asked. Does it avoid promising a refund. Is every claim supported by the retrieved context. If you cannot write the criterion in one sentence, the judge will not be able to apply it either.
  2. Label a sample by hand before you write the judge. A few hundred items is enough, drawn from real traffic rather than examples you invented. Do this first, because a rubric written after you have seen the judge's answers is a rubric that has been fitted to the judge. Record the label distribution while you are there, since you will need it in step four.
  3. Run the judge over the same sample. Same items, same order, no adjustments. Keep the raw output, not just the score, because the explanations are where you find out that the judge is applying a criterion you did not write.
  4. Report a chance corrected statistic, not a percentage. Cohen's kappa is the standard choice for one human and one judge on categorical labels. Compute it alongside the raw agreement and look at the gap. If the raw number is high and kappa is near zero, your judge is riding the base rate and telling you nothing you did not already know.
  5. Read every disagreement. Sort by the cases where you and the judge differ and read them. Disagreements may reveal judge errors, ambiguous criteria or human labelling errors. Fix the rubric, relabel, and rerun.
  6. Repeat calls across a sample. Run several calls per item using the same prompt and settings. Measure variation and interpret small differences cautiously. Temperature zero can help reduce variation but does not guarantee identical outputs.
  7. Put the deterministic checks in front. Anything a regular expression or a schema can decide should never reach the judge. It is cheaper, it is faster, and it cannot change its mind. Reserve the model call for the part of the judgement that genuinely requires reading.

Sources

Rao and Callison-Burch (2026).

Explore Ailoot’s LLM API. Ailoot issues one API key for 1,284 models and variants across 15 categories, making it one of the world’s largest AI routers by model count. The same key covers GPT, Claude, Gemini, Grok, Qwen and DeepSeek, plus Nano Banana for photos, Veo for video, Eleven v4 for speech, Suno for music, Tripo3D for 3D and BGE for search.

Try GPT, Claude and Gemini on the same examples through the Ailoot API. Compare their responses as you develop your own evaluation workflow.

Move from comparisons in Ailoot Arena to a project with an Ailoot key, shared balance and commercial access for your own app.

Ailoot adds new flagship models at launch, and one subscription covers the full catalogue. Find a promo code in your account at https://ailoot.ai/. Ailoot subscriptions and promo codes offer up to 50% off official provider API prices.