Law 28 · Evaluation & Measurement

The Judge Is Biased

An LLM grader reacts to length and position, not just substance.

Diagram explaining The Judge Is Biased

The principle

An LLM judge can match human preferences over 80% of the time, but only after you account for its systematic biases: position bias (favoring the first answer shown), verbosity bias (favoring longer answers regardless of quality), and self-enhancement bias (favoring its own outputs). It's a useful instrument, but an uncalibrated one that grades surface features as readily as substance.

Why it happens

An LLM judge is still a model, and models grade surface features. Studies find position bias, verbosity bias, and self-preference for outputs from the same model family. These are systematic offsets, so averaging more judgments does not remove them. A long answer shown first can win for the wrong reasons. The rubric can drift too as people see more real outputs and realize what quality should mean. Use LLM judges, but calibrate them: swap order, control length, compare to human labels, and never let one biased signal decide alone.

Watch for

In practice

You wire up an LLM-as-judge to pick the better of two agent responses and one variant mysteriously dominates every A/B test. It turns out the winner just writes longer answers and happens to be shown first, both of which the judge silently rewards regardless of substance. You were measuring verbosity and position, not quality. Swap the answer order and average both runs, control for length so a padded answer cannot win on bulk alone, and never let a model be the sole grader of outputs from its own family.

Apply it

  1. Swap answer positions and average both orderings to cancel position bias.
  2. Control for length so a padded answer cannot win on bulk, and never let a model be the sole grader of its own family.
  3. Validate the judge against a set of human-graded examples and refine the rubric until they agree.

The takeaway

Swap answer positions and average both orderings, control for length, and never let a model be the only judge of its own family's output.

Sources and further reading

Related laws

Get the audit kit Access the buyer edition Back to all 50 laws