Skip to content
BytePatterns

LLM as a Judge

AI & ML: lesson 20 of 32

A model can grade answers — and quietly grade the wrong thing.

Lesson 20 of 32 · 5 min

LLM as a Judge

Step 1 of 9

Two answers, one rubric, and no string match that could settle it. So a model grades.

The Idea

When correctness cannot be checked by a string match, one model can grade another's answers against a rubric. It is fast and it scales. It is also a model, with its own failure modes — and those failures are correlated with the thing being graded.

Real-World Example

A competition judged by a former competitor. Quick, informed, and reliably kinder to the style they were trained in than to the one they were not.

The Tradeoff

Judges favour whichever answer came first, favour length and fluency over correctness, and rate work in their own house style highly. Mitigations are cheap: swap the order and average, hide which system produced what, demand a short reason before the verdict, and recheck agreement against human labels every release.

Your turn

Put the steps in the right order.

  1. Grade the same pair again with the two answers swapped
  2. Write a rubric that names what counts as a win
  3. Spot-check the judge's verdicts against human labels
  4. Show the judge both answers with their sources hidden

Mini quiz

1 / 3

Position bias in a pairwise judge means it prefers:

New lessons land every few weeks

Leave an address and we will tell you when the next one is up. That is the only reason we will use it.

One address, stored so we can email you. Nothing else, ever.