Sub topic 6
Why Judges Are Not Neutral Graders
This chapter assumes you have read the earlier chapters on judge formats, rubric design and structured output. You should be able to read Python and know what a proportion and a correlation are.
You have a judge prompt, a rubric and a parser that returns clean JSON. It is tempting to treat the numbers that come out as measurements, the way a ruler measures length. They are not. A judge is a language model reading text and predicting a verdict, so its output depends on things that have nothing to do with the quality you want to measure. This chapter gives you the map of those influences. Later chapters take each major one in detail.
What "neutral" would require
A neutral grader would give the same verdict to the same content however it is presented. That means:
- The verdict does not depend on which answer appears first.
- The verdict does not depend on how long or how polished the answer is, unless length or polish is part of the rubric.
- The verdict does not depend on who wrote the answer.
- The verdict is the same when you ask twice.
Human graders fail some of these tests too. The difference is that you can usually see and correct human habits, such as fatigue or favoring a colleague. A judge's habits are hidden inside a model, they differ between models, and they can change when the provider updates the model.
A judge is a classifier with side channels
When you ask a judge for a score, you intend the verdict to be a function of the rubric criterion and the content. The model actually conditions on the whole prompt. Anything in the prompt can shift the result: the order of the options, the wording of the rubric, the formatting of the answer, the examples you gave, and the sampling settings.
Some of these influences are systematic. They push scores in a consistent direction, and averaging more samples does not remove them. Others are random, so the same input gets different verdicts on different runs. Averaging helps with random error but not with systematic error. Keeping these two kinds apart is the most useful habit in this chapter.
Only the first input is what you want. The other three are contamination, and your job is to measure or remove each one.
The main families of bias
The table lists the documented effects. Each has a later chapter, so here the goal is to recognize them and know the cheapest probe for each.
| Effect | What happens | Type | Cheapest probe |
|---|---|---|---|
| Position bias | In pairwise judging, the judge favors the first or the second answer | Systematic | Swap the order and count how often the verdict flips |
| Verbosity and style bias | Longer, more confident or better formatted answers score higher | Systematic | Correlate score with length; pad an answer and re-score it |
| Self-preference | A judge rates text from its own model family higher | Systematic | Compare scores for the same content from different generators |
| Run-to-run variance | The same input gets different verdicts on repeat calls | Random | Score each item several times and measure disagreement |
Two related problems are not biases in the same sense but have the same effect on your numbers. The judge may misread your rubric, which you detect by comparing against human labels. The judge may also change when the provider updates the model, which you handle by pinning versions and re-validating over time.
Position bias
In a pairwise comparison the judge sees two answers in some order. Many models lean toward one slot, often the first. If answer A is shown first in every comparison, a position preference looks like a quality difference. The strongest signal is that swapping the order changes the verdict for the same pair.
Verbosity and style bias
Judges tend to reward length, hedged and thorough-sounding prose, bullet lists and confident tone. If your rubric asks only about faithfulness but the judge also rewards polish, a longer and more fluent wrong answer can outscore a short correct one. This is a risk whenever you compare systems that differ in length, such as two prompt versions where one produces longer outputs.
Self-preference
If you use the same model, or a close relative, to generate and to judge, the judge may favor its own phrasing. The effect is hard to see from one dataset, because a better model really may produce better text. You detect it by cross-judging: have judges from different families score the same outputs and check whether each favors its own family.
Variance
Even at low temperature, hosted models are not guaranteed to be deterministic. At higher temperature the variation is deliberate. A single verdict is therefore one sample from a distribution. A score of 4 on one run may be a 3 or a 5 on the next, and a difference between two systems may be smaller than this noise.
Probing your own judge
You do not have to take any of this on trust. Two short probes tell you whether your judge shows the first two effects. The code below reuses the call_judge(question, first, second) convention from the pairwise example, which returns "first" or "second". A toy judge that always picks the first slot makes the script runnable without an API key. Replace it with your real judge call.
import statistics
def position_probe(call_judge, pairs):
"""pairs is a list of (question, answer_a, answer_b).
Returns (flip_rate, first_slot_rate)."""
flips = 0
first_picks = 0
for question, a, b in pairs:
r1 = call_judge(question, a, b)
r2 = call_judge(question, b, a)
first_picks += (r1 == "first") + (r2 == "first")
# A consistent judge picks the same answer in both orders,
# so its slot choice must differ between the two calls.
if r1 == r2:
flips += 1
return flips / len(pairs), first_picks / (2 * len(pairs))
def length_correlation(answers, scores):
"""Pearson correlation between answer length in words and judge score."""
lengths = [len(a.split()) for a in answers]
return statistics.correlation(lengths, scores)
def always_first(question, first, second):
return "first"
pairs = [("q1", "short", "a longer answer"), ("q2", "x", "y z")]
print(position_probe(always_first, pairs))
answers = ["ok", "a fuller answer here", "a much longer and more detailed answer than before"]
scores = [2, 3, 5]
print(round(length_correlation(answers, scores), 3))The toy judge gives a flip rate of 1.0 and a first-slot rate of 1.0, the worst possible position bias. A good judge has a low flip rate, and a first-slot rate near 0.5 when the pairs are balanced.
The length correlation is only a warning light. Longer answers are sometimes really better, so a high correlation does not prove bias. To separate the two, take answers you know are equal in quality and make one longer without adding information, then check whether its score rises. If it does, the judge is rewarding length.
Reading the symptoms
Symptoms in your results often point to the cause:
- One system always wins when listed first. Suspect position bias. Check whether the winner changes after you swap the order.
- The system with longer outputs wins on every rubric, including ones unrelated to length. Suspect verbosity bias. Run the padding test.
- A model family ranks itself at the top across several judges. Suspect self-preference. Compare against a judge from another family.
- Rerunning the evaluation changes the ranking of close systems. Suspect variance. Repeat the run and see which differences survive.
- Scores look fine but spot checks disagree with them. The judge may be measuring something other than your rubric. Compare against human labels.
Systematic versus random error in practice
Suppose you compare two prompt versions on 200 items using a pointwise judge. Version B scores 0.4 points higher on average. Consider two explanations. If the judge simply likes B's longer outputs, the 0.4 difference is a systematic artifact and will appear on every rerun, however many times you average. If the judge's scores are noisy, the 0.4 difference might shrink or vanish on a rerun. The fixes differ: for the first you must change the setup, for example by controlling length or adding a length-blind rubric. For the second you need repeated sampling or more items.
This is why the later chapters on mitigations and statistics matter. Mitigation addresses bias. Confidence intervals address noise. Neither replaces comparing the judge against human labels, which is the only check that tells you whether the verdicts track what people care about.
What to carry forward
- A judge verdict is a function of the content and of everything else in the prompt. Treat it as a measurement with known error sources.
- Bias is systematic and does not average out. Variance is random and does. Diagnose which one you have before choosing a fix.
- Each effect has a cheap probe: swap the order, pad an answer, cross-judge with another family, repeat the call.
- Probes tell you that a problem exists. Only human labels tell you whether the judge measures the right thing.
Exercise
You compare two chatbot versions with a pairwise judge. Version X wins 70% of comparisons. In every comparison, X's answer was placed first. You then rerun with the order swapped for every pair, and X wins only 52%. What does this suggest, and why can averaging more samples of the original setup not fix it?
Show answer
It suggests position bias: the judge favors the first slot, which inflated X's win rate in the original setup. The swapped run is close to even, so most of the 70% was not a real quality difference. Averaging more samples cannot fix this because the bias is systematic. Every sample in the original setup pushes in the same direction, so more samples only give a more precise estimate of the biased number. The fix is to run both orders for every pair and count a win only when both orders agree, treating disagreements as ties.
Exercise
Your faithfulness judge gives a 4.3 average to Prompt B, which writes long answers, and 3.8 to Prompt A, which writes short ones. Describe one test that would show whether the difference is caused by verbosity bias.
Show answer
Take a set of answers, make a padded copy of each that adds length without adding information (filler sentences, restating the question), and score both versions. If the padded copies score noticeably higher on average, the judge is rewarding length. You can also correlate score with word count within a single prompt's outputs, but the padding test is stronger because it holds content constant.