Lesson 2 of 5 in Evaluation & Trust · 9m

LLM-as-a-judge, and its biases

When answers are open-ended, exact match doesn't work. Zheng et al. found that a strong LLM judge agreed with human preferences over 80% of the time, about the same rate at which humans agree with each other. They also documented its biases: position bias (favouring the first answer), verbosity bias (favouring longer answers) and self-enhancement bias (favouring its own outputs) [1].

Choose the cheapest grader that works

  • Code graders: exact match, regex, schema validation, unit tests. Fast, cheap, deterministic, but brittle on open-ended output.

  • Model graders: rubrics scored by an LLM. Flexible, but they need calibrating.

  • Human graders: the gold standard, used sparingly to calibrate the others [2].

Calibrate the judge

Shankar et al. observed criteria drift: people refine what they mean by "good" only after grading real outputs, so you can't fully specify a rubric up front [3]. Grade a sample by hand, compare with the judge, rewrite the rubric where they disagree, and repeat. Swap answer order when comparing pairs to cancel position bias.

Key takeaways

  • Use code graders where you can, LLM judges where you must, and humans to calibrate.
  • Correct for position, verbosity and self-enhancement bias.
  • Expect your rubric to change after you read real outputs.
Sources
  • Zheng, L. et al. (2023). Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. NeurIPS 2023 · arXiv:2306.05685.
  • Anthropic (2026). Demystifying evals for AI agents. Anthropic Engineering, January 2026.
  • Shankar, S. et al. (2024). Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences. UIST 2024 · arXiv:2404.12272.

Keep going with Evaluation & Trust

This is one of 5 lessons in the course. Enroll to get the rest of the course, with an AI tutor that knows the material, flashcards and a certificate when you finish.

Enroll for free

More free lessons from this course