Judges have biases. Measure them.
An LLM judge is an instrument with known systematic errors. Treat it like a thermometer that reads two degrees high — usable, but only if you correct for the offset.
The four biases that matter
- Position bias — in pairwise comparison, judges prefer first-shown (or sometimes last-shown) outputs. Defense: run both orderings, average.
- Length bias — judges reward longer outputs even when shorter is better. Defense: include "Length should not influence the verdict" in the rubric; spot-check on truncated/expanded variants of the same answer.
- Self-preference — judges prefer outputs that look like the model family they came from. Defense: use a different model family as the judge, or use multiple judges and look for agreement.
- Verbosity / confidence bias — judges prefer assertive, polished outputs over hedged or uncertain ones, even when uncertainty is appropriate. Defense: explicit rubric clauses about appropriate hedging.
How to calibrate a judge
- Sample 100 cases.
- Have humans rate them.
- Run the judge on the same 100 cases.
- Compute Cohen's kappa or simple agreement rate.
- Look at the disagreements. Update the prompt. Re-run.
- Iterate until agreement reaches the same level as inter-human agreement.
Principle: A judge that has not been calibrated against humans on your specific task is a guess. Calibration is the difference between an instrument and a story.
Multiple judges → ensemble
For high-stakes evals, run 2-3 different judges (different model families) and aggregate. Disagreement among judges is a useful signal: those cases need human review. This is more expensive but dramatically more reliable than a single-judge pipeline.