Zenaique

Before running LLM-as-judge, someone insists on writing a rubric first. What is a rubric in this context?

Flashcard·Easy·4.0 · 0·~30s·Asked atFreshworksMu SigmaSynthesia·Relevant atAnthropic
Attempt it
TL;DR

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.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

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.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

A rubric is the most important and most undervalued artifact in LLM evaluation. Teams invest heavily in choosing models, building test sets, and setting up eval harnesses, then hand the judge a vague instruction like 'rate quality from 1 to 5.' The result is noisy, inconsistent scores that provide no actionable signal.

This deep dive covers what a rubric is, why it matters for both human and LLM judges, how to design one that actually works, and how to measure whether your rubric is doing its job.

What a rubric is and what it is not

A rubric is a structured scoring guide with three components: quality dimensions, score level definitions, and anchor examples.

Quality dimensions are the independent aspects of output quality you want to evaluate. Common dimensions include relevance (does the output address the query?), factual accuracy (are the claims correct?), completeness (does the output cover all important points?), and coherence (is the output well-organized and easy to follow?). Each dimension gets its own score, which prevents strong performance on one dimension from masking weak performance on another.

Score level definitions assign meaning to each point on the scale. For a 5-point accuracy dimension: 5 means all claims are correct, 4 means all core claims are correct with minor imprecisions, 3 means the central claim is correct but one supporting detail is wrong, 2 means a significant factual error that changes the meaning, and 1 means the central claim is incorrect.

Anchor examples are real model outputs that have been scored by domain experts. They serve as calibration points. A judge looking at an output and deciding between a 3 and a 4 can compare it to the anchors and pick the closest match.

A rubric is NOT a checklist (which lists required features but does not define a scale), a prompt template (which formats the question but does not define quality), or a vague instruction ('rate the quality'). It is a scoring specification.

Why rubrics are essential for LLM-as-judge evaluation
Designing a rubric that works
Measuring rubric quality with inter-rater agreement
Common rubric design mistakes
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

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.
Sign in to see more production examples.

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?
A

Measure inter-rater agreement (Cohen's kappa for two raters, Krippendorff's alpha for more) on a sample of 50 to 100 outputs. Kappa below 0.4 means the rubric is too ambiguous. Identify the score levels where disagreement is highest and add more specific criteria or anchor examples.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

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.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Define a rubric as a structured scoring guide for evaluation

  • Name the three components: dimensions, score levels, and anchor examples

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Which metric best measures whether a RAG answer is grounded in the retrieved context?
MCQ·Medium