LLM-as-a-judge: how reliable it is, and where agents need something else

Using a model to grade another model's output is fast and cheap. The study that popularised it found strong agreement with people, and measurable biases. Here are the numbers, the fixes, and why agent actions need a different grader.

The short answer

“LLM-as-a-judge” means asking a strong model to grade another model’s output. The 2023 study that put numbers on it, by Lianmin Zheng and colleagues, found that strong judges such as GPT-4 agreed with human preferences more than 80% of the time, about as often as people agree with each other.1 It also measured biases: when the two answers being compared were swapped, GPT-4 gave the same verdict only 65% of the time, and weaker judges much less.1

For grading open-ended text, a carefully prompted model judge is a reasonable tool. For grading what an agent did, prefer a deterministic check of the system’s state. Agent benchmarks such as AgentDojo and τ-bench do exactly that, and AgentDojo’s authors give a reason: a model judge could itself be hijacked by an injection.23

Deedglass sits between an AI agent and your system. Your rules decide each change before it runs; afterwards Deedglass checks what really changed. In our demo the agent said 1 row; the database changed 301.

What the study did

The paper introduced two resources for evaluating chat assistants on open-ended questions, which fixed-answer benchmarks measure poorly: MT-Bench, a multi-turn question set, and Chatbot Arena, a crowdsourced platform where people compare two models’ answers.1 The authors then asked whether a strong model could stand in for those human judgements, and tested how it fails.

The biases, in numbers

Position bias. Show a judge answers A and B, then B and A. A fair judge picks the same winner both times. With the default prompt:1

Judge Consistent when order swapped
GPT-4 65.0%
GPT-3.5 46.2%
Claude-v1 23.8%

Verbosity bias. The authors padded answers with repetitive lists that add length but no content. Claude-v1 and GPT-3.5 preferred the padded answer in 91.3% of 23 cases; GPT-4 in 8.7%.1 Longer looked better to weaker judges.

Self-enhancement bias. Judges favoured their own model’s answers in the data, but the authors are careful: their data can’t determine whether self-enhancement bias is real.1

Limited reasoning. On 20 math questions where the judge had to tell a right answer from a wrong one, GPT-4 with the default prompt got 14 wrong.1 A judge that can’t solve the problem can’t grade the solution. That matters for agents, whose work often involves arithmetic, dates, ids and amounts: exactly the details a judge skimming a transcript is least likely to recompute. A refund for the wrong amount reads as fluently as one for the right amount, and only a check against the source data tells them apart.

Fixes that worked

The paper tested several mitigations:1

Fix Effect in the study
Call the judge twice with positions swapped; count a win only if it wins both Removes position flips by turning them into ties
Few-shot examples in the prompt GPT-4 consistency from 65.0% to 77.5%
Chain-of-thought before the verdict Math failures from 14 of 20 to 6 of 20
Reference-guided grading (give the judge the correct answer) Math failures down to 3 of 20

The last row is the most important one. Once the judge has a reference answer, it’s no longer judging from taste; it’s comparing against ground truth. That’s a step toward the state checks agent benchmarks use, and it suggests a simple rule of thumb: the more of the answer you can write down in advance, the less you need a model’s opinion at all.

Why agent actions need a different grader

An agent’s output isn’t only text. It’s a set of actions with effects: rows changed, messages sent, files written. A model judge reading a transcript can only see what the agent wrote about those effects. That gives four problems on top of the biases above:

  1. The transcript isn’t the effect. An agent can say it updated one record while a trigger changed three hundred.
  2. Injection reaches the judge too. If the agent read hostile text, the transcript contains it, and a model judge reads it as well. AgentDojo’s authors chose deterministic state checks partly for this reason.2
  3. Verbosity rewards narration. A long, confident account of the work looks better than a short, correct one.
  4. Repeatability. A judge that flips on order swaps a third of the time adds noise to every comparison you run.

What works for actions is what agent benchmarks already do: define the expected end state, read the actual state from the system, and compare. τ-bench compares the final database with a goal state.3 AgentDojo uses deterministic functions over the environment.2 Neither needs a model’s opinion.

Where a model judge still helps

Model judges are useful alongside state checks, for the parts of an agent’s work that are text:

  • Reply quality. Was the message to the customer clear and polite? A judge with examples does this well.
  • Policy wording. Did the agent explain a refusal in the required way?
  • Triage of failures. Given a failed state check, a model can suggest which step went wrong, for a person to confirm.
  • Coverage. Scoring thousands of transcripts for obvious problems, before a person reads a sample.

In each case, use the study’s fixes: swapped positions, examples, reasoning before the verdict, and a reference answer wherever you have one.1

A checklist for using model judges

  1. Use state checks for actions, model judges for text.
  2. Swap positions and count only consistent wins.1
  3. Give a reference answer whenever one exists.
  4. Ask for reasoning before the verdict.
  5. Strip or quarantine untrusted text the agent read before the judge sees the transcript.
  6. Spot-check the judge against people on a sample, and re-check after changing the judge’s model or prompt.
  7. Never let the judge’s score stand in for a state check on payments, deletions or record changes.

For the state-check side in detail, see how to evaluate agent actions and τ-bench and pass^k. For a benchmark that scores tools against the database’s own change log, see how to benchmark a guardrail. To watch a request compared with what a real Postgres committed, in your browser, open the playground; to grade what an agent can reach on your machine, run npx deedglass scan (the grade, explained).

Written with AI assistance and checked against our claims register.

The takeaway

A GPT-4 judge matched people over 80% of the time but flipped on order swaps 35% of the time; judge text with models, actions with state checks.

Read nextHow to evaluate what an AI agent did, not what it said Try it in your browser

Related on this site

More posts

Sources

  1. 1Zheng et al. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (arXiv 2306.05685) · arxiv.org · checked 26 October 2026
  2. 2Debenedetti et al. AgentDojo (arXiv 2406.13352) · arxiv.org · checked 26 October 2026
  3. 3Yao et al. τ-bench (arXiv 2406.12045) · arxiv.org · checked 26 October 2026

Published 26 October 2026, sources last checked 26 October 2026. If something here is out of date, write to hello@deedglass.com.

Try it on your own setup

npx deedglass scan

Grades only your own setup. Nothing is uploaded.

Pricing