Evaluation and QualityMetric validity, judges and human signalsStaff
Can a pairwise LLM judge establish a winner when swapping answer order reverses its preference?
By Amit Kumar3 min readWorked answer includedReviewed 26 Sept 2026
The question
Interview question
A judge chooses B in 58 percent of trials and A in 55 percent after order reversal. B also writes longer answers. Explain what the aggregate numbers leave unknown, design paired order/style controls and a source-grounded review, and state the evidence needed for a quality claim versus a cost-only release decision.
Draft your approach first
Take a few minutes before you read the answer. Name the constraint that matters most, the failure you are designing for and how you would know it worked.
Reveal the worked answerWorked answer
The order swap is a diagnostic intervention. If “B is better” survives only when B appears first, the reported 58 percent mixes answer quality with presentation. A systematic study of LLM judge position bias finds that such effects vary across judges and tasks. I would rerun each item in both orders, with candidate identity hidden, and tabulate four outcomes: B wins both, A wins both, flips, and ties or invalid grades. Report per-item pairing, not just two independent aggregate percentages. The 58 and 55 alone do not tell us the overlap or uncertainty, so they cannot establish a winner.
For a hypothetical 100 shared questions with no ties, B wins 58 in one order and 45 in the other. B could win both orders on as few as 3 or as many as 45 questions. The number of order-disagreeing questions could range from 13 to 97. Averaging the two aggregate B rates gives 51.5 percent, but it hides that very different per-question behavior. Preserve paired outcomes and estimate uncertainty by resampling question IDs with both order runs kept together, rather than treating 200 judgments as 200 independent questions.
Then look at what the judge was asked to judge. If this is a documentation assistant, give both answers the same question and allowed source spans, and use separate criteria for factual support, completeness, usefulness, and needless verbosity. A long answer can score well on a vague “which is better?” prompt while adding unsupported claims. Blind the model name, position, formatting cues, and cost where possible. Preserve any context needed to decide correctness. If a citation supports a number only in one answer, a human or evidence-based checker should be able to explain the decision at that claim, not simply say the prose sounds stronger.
Would averaging the two orders fix it? It may reduce an order effect in the aggregate, but it does not make the judge valid. If many items flip, set them aside for human review or mark them unresolved. Check how often a judge agrees with domain reviewers on a blinded sample, including ties and hard policy exceptions. Use the same rubrics and source packet for that review. The judge may be consistently biased toward length in both orders. Test matched pairs where one answer adds harmless words and matched pairs where it adds one false claim.
Finally, define a release rule that handles uncertainty. If B really wins on supported, task-relevant answers after the blind paired review, show the magnitude by slice and its cost. If quality is indistinguishable, a faster or cheaper model may win a product decision, but call it a cost decision. The point of a judge is to help inspect many cases. The order-swap result is telling us this judge needs calibration before its percentage becomes evidence of progress.
Related questions
- How would you investigate and govern a retrieval rollout that improves recall but worsens supported answers?Principal
- How should an evaluation score a true numeric claim whose displayed citation does not support it?Staff
- When is a model-judge quality measure suitable for an assistant’s service-level objective?Staff
Keep practising evaluation and quality
Follow another question in this area, or search the complete library.
Get my essays on AI engineering and distributed systems by email. Subscribe to ArchCrux