Kolkata ·  
AI engineering
evals
short · 3 min

Judge bias

The ways model graders are biased: answer order, length, their own style.

updated 29 Sept 2026

Here's a line from a real judge prompt, used in a 2023 test: "ensuring that the order in which the responses were presented does not affect your judgment". Seems clear enough. The judge was ChatGPT, comparing answers from two models on 80 questions.

Then the researchers swapped which answer came first and asked again. On 66 of the 80 questions, the verdict flipped.

So an LLM judge can be pushed around by things that have nothing to do with quality, and asking it nicely not to be doesn't help. The good news is that each of these biases is cheap to test for. Let's go through them as tests we can run on our own judge.

Test one: swap the order

Ask the judge which of two answers is better. Ask again with them swapped. A fair judge says the same thing both times.

In that test, one model's win rate against ChatGPT went from 2.5% when its answer came first to 82.5% when it came second. GPT-4 as the judge was steadier, but still flipped on 37 of 80, and it leaned the other way, towards whichever answer came first. So you can't even assume which direction the bias goes.

The flips happen mostly when the two answers are close in quality, which is exactly when we reach for a judge.

The fix is structural:

Having the judge write out its evidence before the verdict, and averaging over both orders, also helped a lot in the same study. And the flipped cases are good ones to hand to a person: reviewing the most order-sensitive 20% by hand brought the judges level with an average human annotator.

Test two: pad an answer

Judges tend to like longer answers, even when the extra length adds nothing. One test took answers with a numbered list and padded each list with a reworded copy of its own items. Five points became ten, no new information. Two of the three judges tested preferred the padded version about nine times out of ten. GPT-4 mostly didn't fall for it.

Strong judges still lean towards length, though. On the AlpacaEval leaderboard, a GPT-4 Turbo judge compares each model against a baseline. When the baseline model itself was told to be concise, it won 22.9% against its own normal answers. Told to give as much detail as possible, 64.3%. Same model; only the length changed. A statistical correction for length shrank that spread a lot.

For our own evals: keep compared answers close in length, or tell the judge length isn't a criterion and then check, by padding, that it listens.

Test three: does it like its own writing?

The third suspect is a judge favouring answers from itself, or from models like it. In the 2023 tests, GPT-4 gave its own answers a higher win rate than human judges did, and Claude-v1 more so. But another judge didn't favour itself, and the authors said their data couldn't settle whether the bias was real. If the judge and the model under test are the same model, compare its verdicts against human labels with extra care.

What we don't know

Every number here comes from 2023 judges. GPT-4 was already much less biased than the others in the same tests, and newer models may be better again. Nobody can tell you how biased your judge is on your data. And one trap: adding examples to the prompt made GPT-4 more consistent under swaps, but consistent only means order stopped moving it. It can still be consistently wrong. So swap, pad, and see if the verdict moves, then check it against people.

Further reading