# What Biases Do LLM Judges Have?

> The position, length and self-preference habits that tilt an AI judge's scores, and the simple tests that catch them, explained for your AI interview.

**In short:** An LLM (large language model) judge tends to favour the answer shown first, the longer answer, and answers it generated itself. You test for each habit by swapping the order, padding a short answer and using a second judge, then you measure what is left.

AI and LLM interview question Q250, Evaluation and observability. Advanced, common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/llm-judge-biases

## Say it in 30 seconds

A judge model scores other models' answers, and it has known habits. It often favours the answer in the first slot, it often rewards longer answers, and it can favour answers it generated itself. So I never trust one score. I swap the order and keep a win only if it holds. I pad a short answer with filler to see if the score rises. I try a second judge from another model family, then measure the rest against human labels.

## Say it in 2 minutes

A judge model reads two answers and picks the better one, or gives each a score. It is fast and cheap, but it is not neutral. The 2023 MT-Bench study looked at judges closely and named three habits: position, verbosity and self-enhancement. A judge is still useful because it scales where people can't, but its habits are the price.

Position bias means favouring whichever answer sits in one slot. Verbosity bias means favouring longer text, even when a shorter answer is just as good. Self-preference is the third habit, which the 2023 study called self-enhancement. A 2024 study found that GPT-4 showed a significant degree of self-preference, and it linked the habit to perplexity, a measure of how predictable text is to the model. Judges gave higher marks than people did to text they found familiar, whoever wrote it. So a judge may favour answers it generated itself.

The fixes are simple and cheap. Run each pair twice with the slots swapped, and count a win only when both runs agree. Pad a short answer with filler and check the score does not rise. Use a judge from a different family, and compare it with a sample of human labels. Start with the swap, because it is the cheapest test, and it catches position bias, which the 2023 study found in most judges. Biases do not fully vanish, so measure them.

## What is a judge bias, in plain words?

When a model marks another model's work, it can be pulled by things that have nothing to do with quality. That pull is a judge bias. You only see it when you test the judge on cases where you already know the right answer.

Think of a hiring panel. A candidate who speaks first gets a little goodwill, and a longer CV looks more thorough, even when the content is the same. The marks still look like judgement, but part of them is habit. A real AI case looks the same: an insurer's claims team uses a judge to pick the better of two draft replies to a customer.

- **LLM judge:** A model that scores or picks between other models' answers.
- **Position bias:** Favouring whichever answer sits in one slot, usually the first.
- **Verbosity bias:** Favouring longer text, even when a shorter answer is as good.
- **Self-preference:** Favouring answers the judge generated itself.

## What are the main biases, and how big are they?

Position bias showed up strongly in the 2023 MT-Bench study, a test where strong LLMs judged chat assistants on open-ended questions. Most judges favoured the first answer they saw. Only GPT-4 gave consistent results in more than 60% of cases. That test is hard, because the answers are very similar and occasionally indistinguishable even to humans.

Verbosity bias is the habit of rewarding length. The study tested this with a repetitive list attack, which gives the judge a longer, repetitive answer. All of them may be prone to verbosity bias, and GPT-4 defends significantly better than the others.

Self-preference is the newer concern. A 2024 study found that GPT-4, used as a judge, showed a significant degree of self-preference, and it traced the habit to familiar text. The 2023 study called this habit self-enhancement, and could not determine whether it was present. The 2024 study calls it self-preference, and this page uses that name.

> "Most LLM judges favor the first position." (MT-Bench authors, 2023)
>
> "all LLMs may be prone to verbosity bias though GPT-4 defends significantly better than others" (MT-Bench authors, 2023)
>
> "Due to limited data and small differences, our study cannot determine whether the models exhibit a self-enhancement bias." (MT-Bench authors, 2023)

Worked example, with made-up numbers. A claims team at a mid-size insurer tests its judge on 200 pairs of replies to the same claim. In the test, the judge picked whichever reply came first in 62% of runs, even when the two replies said the same thing. That is position bias. Left alone, it would have put the wrong reply at the top of the team's leaderboard.

## Why do judges have these habits?

The 2024 study gives one likely cause. LLM judges gave lower-perplexity text higher evaluations than human evaluators did, whether or not the model wrote it. Perplexity is a measure of how predictable the words are to the model, so the judge likes what it finds familiar.

*Diagram, How a judge's habits tilt a score: A judge reads both answers and picks one. Three habits can tilt that pick before the verdict is set. Only the last box reaches your leaderboard, so the tilt is easy to miss.*
1. The judge reads the first reply.
2. It reads the second reply in the same pass.
3. Its habits act on the score here.
4. A habit for the first slot tilts the score.
5. A habit for long text adds to the tilt.
6. A habit for its own answers adds a third tilt.

That is why a judge can agree with people on average and still hide a tilt. Check the bias slice by slice, such as the longest answers or the answers the judge generated itself.

## How do you test for these biases and reduce them?

1. **Swap the slots:** Run each pair twice, once in each order. The MT-Bench authors' conservative rule is to declare a win only when the same answer wins both times.
2. **Pad a short answer:** Add filler to a correct short answer, with no new facts. If the score rises, the judge rewards length.
3. **Try a judge from another family:** A judge that did not write the answers cannot favour its own output. Compare its verdicts with the first judge.
4. **Check a sample with people:** Label about 100 pairs yourself, then see how often the judge agrees and where it drifts.

*Diagram, Test each habit before you trust a score: Each habit gets one test that targets it. A verdict counts only when it survives the test. Then the judge is trusted for that kind of work, and not beyond it.*
1. Position bias is tested by flipping the slots.
2. Length bias is tested by padding a short answer.
3. Self-preference: compare a second judge's verdicts.
4. A pick that survives the flip counts.
5. The score must not rise from filler alone.
6. A second judge must agree too.

> **Tip:** Asked how you would handle judge bias? Name the three habits, say you swap the order and test length, then add a second judge and human labels. Never say the judge is unbiased.

Here is the swap check in plain Python. The judges are made up. One always picks the first slot when unsure, and the other prefers the reply with the newer fee. The check keeps a win only when the same reply wins both runs.

```python
# A made-up judge that is unsure about two replies and always picks slot A.
def unsure_judge(slot_a, slot_b):
    return "A"

# A made-up judge that clearly prefers the reply citing the 2026 fee.
def prefers_new_fee(slot_a, slot_b):
    return "B" if "2026" in slot_b else "A"

def swap_check(judge, x, y):
    # Run the pair in both orders. Keep a win only if the same reply wins both runs.
    run1 = judge(x, y)  # x sits in slot A
    run2 = judge(y, x)  # y sits in slot A
    winner1 = x if run1 == "A" else y
    winner2 = y if run2 == "A" else x
    if winner1 == winner2:
        return "win: " + winner1
    return "tie: the order changed the verdict"

old_reply = "Reply quoting the 2025 card fee"
new_reply = "Reply quoting the 2026 card fee"
print(swap_check(unsure_judge, old_reply, new_reply))
print(swap_check(prefers_new_fee, old_reply, new_reply))
```

Output:

```text
tie: the order changed the verdict
win: Reply quoting the 2026 card fee
```

### How would you run a judge for a bank's support bot?

A mid-size bank's support bot answers fee questions. The team uses the same model that wrote the bot's answers as its judge, and the leaderboard looks very good. Before trusting it, I would run the swap check, pad a sample of answers to test length, and label real chats by hand. If the scores still favour the bot's own answers, I would add a second judge from another family and report the gap.

- **Without tests: One judge, one score.** The leaderboard goes to the dashboard, and the bot's own answers quietly win.
- **With tests: Two judges and a human sample.** Wins must survive the swap, the length check and a second judge from another family before anyone trusts them.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] The three biases by name: position, verbosity, self-preference.
- [ ] Why a judge is still useful: it scales where people can't.
- [ ] The swap check, and why a win needs both runs.
- [ ] The length test: pad a short answer with no new facts.
- [ ] A judge from another family, plus a human sample.
- [ ] Honesty: biases persist, so you measure them.

**Common traps**

- Trap: "The judge is objective, it only reads the answers." Better: A judge has habits that move scores. Test it before you trust it.
- Trap: "A stronger model is always fairer." Better: The 2023 study said all LLMs may be prone to verbosity bias. GPT-4 defends better than the others, but the study did not call it immune. Test, don't assume.
- Trap: "We scored 500 answers, so the result is solid." Better: Size doesn't fix a habit. Check bias slice by slice, such as the longest answers.

## Can you spot the bias?

**Spot the bias:** Your judge scored 40 pairs. Which result should make you test for position bias first?

A. The judge gave two identical answers the same score.
B. Its pick flipped when we swapped the two answers, in 14 of 40 pairs.
C. Its scores agreed with three human reviewers in 36 of 40 pairs.
D. It scored the best answer 4 out of 5.

**Answer:** B. A pick that flips when the slots swap is the position habit at work. The other three results do not test slot order, so they cannot show that habit either way, though you still check slices of the data.

**Quick check:** A bank's support bot and its judge come from the same model. Which change most directly cuts self-preference?

A. Make the judge's instructions longer
B. Use a judge from another model family, and check it on human labels
C. Raise the judge's randomness setting
D. Show the answers in a fixed alphabetical order

**Answer:** B. Self-preference is about a judge favouring answers it generated itself. A judge from another model family did not write them, so it has nothing of its own to favour. This is reasoning, not a tested result, so check it on human labels. Longer instructions, more randomness or a fixed order do not address that.

## Can you answer these from memory?

**Flash cards**

- **What is an LLM judge?** A model that scores or picks between other models' answers.
- **What is position bias?** Favouring whichever answer sits in one slot, usually the first.
- **What is verbosity bias?** Rewarding longer text, even when a shorter answer is as good.
- **What is self-preference?** Favouring answers the judge generated itself, which it finds familiar.
- **How do you test for position bias?** Swap the two answers and keep a win only if both orders agree.
- **Is judge bias solved?** No. A 2024 study found that significant biases persist in certain tasks, so measure them.

## Likely follow-up questions

- Q249 What is LLM-as-a-judge? https://designervenkat.online/interview/ai/what-is-llm-as-a-judge
- Q251 How do you calibrate a judge against humans? https://designervenkat.online/interview/ai/how-do-you-calibrate-a-judge-against-humans
- Q248 What is a golden dataset, and how do you build one? https://designervenkat.online/interview/ai/what-is-a-golden-dataset
- Q254 Faithfulness vs relevance? https://designervenkat.online/interview/ai/faithfulness-vs-relevance
- Q252 BLEU and ROUGE, and their limits? https://designervenkat.online/interview/ai/bleu-and-rouge-and-their-limits

## Learn it in depth

- [A model as the judge](https://designervenkat.online/learn/ai-engineering/model-based-evals)
- [People as the judges](https://designervenkat.online/learn/ai-engineering/human-evals)
