Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

LLM-as-a-judge

Also: LLM as a judge, model-graded evaluation, AI grader

In plain words

Using one AI to grade another AI's work.

The fuller definition

LLM-as-a-judge uses a language model to score or compare the outputs of another system against a rubric, as a cheaper substitute for human review.

A ten-event extraction test
FoundE01
FoundE02
FoundE03
FoundE04
FoundE05
FoundE06
MissedE07
MissedE08
MissedE09
MissedE10
Unsupported result AUnsupported result B
Precision: 6 / 8 = 75%Recall: 6 / 10 = 60%

The reference set has ten relevant events. Six are found, four are missed, and two additional returned items are unsupported. This example measures extraction, not every aspect of a legal work product.

A concrete example

A second model checks whether each chronology row quotes a passage that actually supports it.

The distinction that matters

The grader has its own errors and biases. Calibrate it against human judgments on a sample before trusting its scores.

Related terms

Where it is taught

Test an AI workflow on work you can assess

Source and further reading

Anthropic · Evaluating AI agents

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC