Evalscore
LLM-as-judge and its biases
Use a model to grade outputs — after you’ve measured how much to trust it.
What it is and why it exists
A judge model scores an output against criteria, a reference, or another output (pairwise). Known biases: position bias (prefers the first or second option), verbosity bias (prefers longer answers), self-preference (prefers its own model family), and leniency. Binary pass/fail on one criterion is far more reliable than a 1–10 score.
Quick prototype
“Rate this answer from 1 to 10.”
In production, at scale
One judge per failure category with a binary verdict and a short critique, a reference or rubric where possible, pairwise comparisons in both orders, a different model family from the one being judged, and agreement with human labels measured before trusting it.
Vendors and tools
| OpenAI evals / Braintrust autoevals / DeepEval GEval | Judge templates |
|---|---|
| Ragas faithfulness | Claim-level judge |
| Prometheus / judge-tuned open models | Self-hosted judges |
On AWS: Bedrock Evaluations with LLM-as-a-judge (built-in and custom metrics).
How it fails
- Judge prefers the longer, wronger answer
- Scores drift when the judge model is updated
- Grading with the same model that generated
What the interviewer asks next
How do you remove position bias?
Run each pairwise comparison twice with the order swapped and only count consistent verdicts (or average them).
Why binary pass/fail?
Graders agree far better on “does it contain an unsupported claim: yes/no” than on “how good is it, 1–10”, and binary verdicts are easier to calibrate against humans.