Senior

How do you make LLM-as-a-judge evaluation reliable?

How to answer it in an AI engineer interview: what is being tested, a step-by-step framework, a sample answer and the mistakes to avoid.

$19.99 on Gumroad, instant download40% off with code EARLYBF until Nov 3, 11:59 PM PTEARLYBF: 40% off until Nov 3

Smaller start: Score your answers against 50 rubrics, $9. 50 AI engineer questions, one rubric each, PDF on Gumroad.

Practiced one out loud? Paste your answer into the free self-check and get a score in 30 seconds

What the interviewer is testing

Whether you treat an LLM judge as a measurement instrument that needs calibration, and know its common biases and how to control them.

Answer framework

  1. Write a specific rubric with one criterion per score and concrete examples of each score.
  2. Prefer pairwise or binary judgments over vague 1-10 scales.
  3. Control known biases: position (swap the order and average), length and self-preference.
  4. Ask for a short justification before the score, and use a low temperature.
  5. Calibrate against human labels on a sample, report agreement, and re-check when the judge model or prompt changes.

Sample answer

An LLM judge is useful because it scales, but it is a measurement tool, so I calibrate it like one. First, the rubric: instead of asking whether an answer is good, I ask narrow questions such as whether every claim is supported by the provided sources, yes or no, with examples of passing and failing answers. One criterion per judgment is more reliable than a combined score.

Second, the format. Binary or pairwise judgments are more consistent than a 1-to-10 scale. For pairwise comparisons I run each pair twice with the order swapped, because judges tend to favor one position, and count a win only when both orders agree. I also watch for length bias and for a judge favoring outputs from its own model family.

Third, calibration. A domain expert labels a sample of a few hundred cases, and I measure agreement between the judge and the expert, for example with Cohen's kappa. If agreement is low, I fix the rubric before trusting any numbers. I version the judge prompt and model, and re-run calibration whenever either changes.

Likely follow-ups

What agreement level is good enough? Close to the agreement between two human raters on the same task; if humans disagree a lot, the rubric needs work first.

Common mistakes

The PlaybookWant the full method?

The 0 to 1 AI Engineer Interview Playbook covers the answer frameworks, system-design walkthroughs and an 8-week plan.

Get the playbook 40% off with code EARLYBF until Nov 3, 11:59 PM PTEARLYBF: 40% off until Nov 3

Smaller start: Score your answers against 50 rubrics, $9. 50 AI engineer questions, one rubric each, PDF on Gumroad.

Interviewing for PM or TPM? See the full PM package, $59 on Gumroad: a resume system, a PM, TPM and PGM interview handbook, a 1:1 cheat sheet and a PM playbook. PM and TPM content, not AI engineer prep.

Related questions

Based on question #63 in the full question bank.