What is LLM-as-judge, and when is it the right tool?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
LLM-as-judge uses a (usually stronger) model to grade outputs: given the input, the candidate response, a rubric, and optionally a reference answer, the judge emits a verdict - pass/fail, a score, or a preference between two responses. It exists because most interesting LLM outputs are open-ended: no assertion can check whether a summary is faithful or an answer is genuinely helpful, and humans are too slow and expensive to grade every CI run.
Full worked answer
LLM-as-judge uses a (usually stronger) model to grade outputs: given the input, the candidate response, a rubric, and optionally a reference answer, the judge emits a verdict - pass/fail, a score, or a preference between two responses. It exists because most interesting LLM outputs are open-ended: no assertion can check whether a summary is faithful or an answer is genuinely helpful, and humans are too slow and expensive to grade every CI run.
It's the right tool when three conditions hold: (1) the criterion is subjective or has many valid surface forms, (2) you can articulate the criterion as a rubric a careful human could apply, and (3) you've validated the judge against human labels - label 50-100 examples yourself, measure agreement (percent agreement or Cohen's kappa), and only automate once agreement is comparable to human - human agreement. The MT-Bench work found GPT-4-class judges agree with humans ~80% of the time on chat quality - roughly the human - human rate - but that's task-dependent, not a law.
Practical form matters: pairwise comparison ("which is better, A or B?") is more reliable than pointwise scoring ("rate 1-10"); binary pass/fail per decomposed criterion beats a single holistic score; and forcing the judge to write chain-of-thought reasoning before its verdict improves quality and gives you auditable justifications.
When it's the wrong tool: anything assertable (use code), high-stakes final decisions (judge assists, human decides), and grading the judge's own model family on comparative tasks (self-preference bias). Also remember the judge is itself a prompt+model that needs versioning - a judge model upgrade can shift all your scores with zero change in the system under test, so pin judge versions and re-calibrate when you change them.
What a good answer covers
- It exists because most interesting LLM outputs are open-ended
- It's the right tool when three conditions hold
- The MT-Bench work found GPT-4-class judges agree with humans ~80% of the time on chat quality - roughly…
- Practical form matters: pairwise comparison ("which is better, A or B?") is more reliable than pointwise…
- When it's the wrong tool: anything assertable (use code), high-stakes final decisions (judge assists,…
In the glossary: Judge (LLM-as-judge) · Self-preference bias
Interviewer follow-ups to expect
Your judge passes 90% of outputs but users are unhappy - how do you debug the judge itself?
Would you use the same model as generator and judge?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep