Before running LLM-as-judge, someone insists on writing a rubric first. What is a rubric in this context?
A rubric is a structured scoring guide with defined criteria and anchor examples for each score level, ensuring consistent and reproducible evaluation by human or LLM judges.
Imagine three teachers grading the same essay. Without a rubric, one teacher cares about grammar, another about creativity, and the third about whether the essay answers the question. They give the same essay three different grades. A rubric fixes this. It says: grade on three dimensions (relevance, accuracy, grammar). For each dimension, score 1 means this specific thing, score 3 means this specific thing, and score 5 means this specific thing. Here is an example essay for each score level so you can compare. Now all three teachers are grading the same way, and you can trust that the scores mean something consistent. In LLM evaluation, the judges might be humans or other LLMs, but the rubric serves the same purpose. It turns subjective opinions into reproducible measurements.
Detailed answer & concept explanation~6 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: define rubric with its three components (dimensions, levels, anchors), explain why rubrics are required for LLM-as-judge consistency, name the three main judge biases rubrics mitigate, and close with inter-rater agreement as the rubric quality metric.
Real products, models, and research that use this idea.
- Anthropic's internal RLHF process uses rubrics to train human raters who generate preference data, ensuring consistency across hundreds of annotators rating Claude's outputs.
- Promptfoo supports custom rubric definitions in its LLM-judge evaluators, letting teams embed scoring criteria directly in their eval config files.
- MT-Bench uses a structured rubric that instructs the LLM judge to evaluate multi-turn responses on helpfulness, relevance, accuracy, depth, and creativity.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow do you know if your rubric is good enough? What signals tell you the rubric needs revision?
QHow do you embed a rubric in an LLM-judge prompt so the judge actually follows it?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Writing a rubric with vague criteria like 'the answer is good' instead of concrete, observable requirements. Vague rubrics produce the same inconsistency as having no rubric at all.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.