# ⚖️ When AI grades two answers, try swapping their order

AI Today · published 2026-11-13T05:42:47Z · https://ai-today.com/opinions/efd41ec6-e644-42f9-a486-5f3efa14333b?lang=en

- 📊 In an experiment with 80 maths answer pairs, Llama 3.1 8B picked the first answer in both orders for 96% of pairs. Its accuracy was 50.6%.
- 🔁 The author recommends judging each pair twice with the answers swapped and counting the verdicts that agree.

🧠 When a language model picks the better of two answers, their position can sway its verdict. In a November 12 experiment, Kameswara Sai Srikar Manda gave three local models answer pairs with a known better answer and reversed each pair. Llama 3.1 8B chose whichever answer appeared first for 96% of the 80 maths pairs. The author recommends checking whether a verdict survives the swap before counting it.

An AI judge might be asked to choose between two chatbots’ answers. Manda built 160 pairs to see what happens when the answers stay the same and their positions change. In 80 maths pairs, a correct solution sat beside a version with a planted arithmetic mistake. The other 80 used a preferred and an incorrect answer from TruthfulQA. Each local model judged every pair in both orders at temperature zero, with an instruction to disregard position.

On the maths pairs, Llama 3.1 8B followed the first slot in both orders for 96% of pairs and got 50.6% of its judgements right. Qwen3 8B chose the first slot in both orders on 42.5% of maths pairs. Gemma 3 12B showed no preference for either slot in the reported test. Repeating identical prompts changed 0.6% of verdicts for each judge, a much smaller effect than the shifts seen when the positions changed.

Manda proposes treating agreement in both orders as a basic check before counting a verdict. A separate comparison on 50 pairs found that Qwen3 30B with thinking enabled picked the same answer in both orders 96% of the time and reached 94% accuracy. That comparison changed both model size and the use of reasoning, so it leaves open which mattered more. Swapping the answers can expose an unstable verdict, and a known right answer lets you check whether a stable verdict is also correct.

## Sources

- [Original experiment and commentary](https://srikarmk.dev/writing/llm-judge-order-bias)

---
This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources.
