Validating an LLM-as-Judge Used to Monitor Another Model
To validate an LLM-as-judge, treat it as a measurement instrument. Build a human-labeled reference set, measure chance-corrected agreement and per-class precision and recall against it, test for known biases and adversarial content, check consistency across runs and versions, and revalidate on a schedule and after every change. Keep policy enforcement independent of the judge's verdicts.
Judge validation lifecycle
Validation is a repeating cycle rather than a one-time test. The table summarizes each stage; the sections that follow describe them in order.
| Stage | What it covers |
|---|---|
| Reference set | Human-labeled examples that cover the failure classes the judge must detect. |
| Metrics | Chance-corrected agreement plus precision and recall per failure class. |
| Bias and robustness tests | Controlled perturbations and adversarial content. |
| Consistency and versioning | Repeat-run checks and a pinned judge configuration. |
| Revalidation | Sampled human review and drift detection in production. |
| Evidence | Logged verdicts and validation records that support audit. |
Start with a rubric and a human-labeled reference set
Begin by treating the judge as a measurement instrument and calibrating it against human labels. The reference set should contain human-labeled examples that cover the failure classes the judge must detect.
Retain the rubric, the labeling protocol, and the reviewer agreement for the reference set, since these show how reliable the labels themselves are.
Choose agreement and error metrics that match the decision
Measure chance-corrected agreement between the judge and the human labels, and measure precision and recall per failure class instead of relying on a single overall figure. Record the results by failure class, with intervals.
Test for known biases and adversarial content
Use controlled perturbations to test the judge for known biases, and include adversarial content such as prompt injection. Keep the results of the bias, consistency, and prompt injection tests with the rest of the validation record.
Check consistency and pin the judge configuration
Run repeat checks to confirm the judge is consistent across runs and versions. Pin the judge configuration, and record the judge model, prompt, rubric, and parameter versions so every verdict can be tied to the configuration that produced it.
Revalidate continuously and detect drift
Revalidate on a schedule and after every change. In production, use sampled human review and drift detection, and keep the revalidation records, drift alerts, and human review outcomes.
Keep deterministic controls independent of the judge
A validated judge is still a probabilistic component with a measured error rate. Verdicts should inform monitoring and review, but controls that must hold, such as which tools an agent may call or what data it may access, should be enforced by deterministic policy that does not depend on the judge being right or available. Design for the case where the judge errs, times out, or is manipulated, and confirm that enforcement still works.
Evidence to retain for each judge version
- Rubric, labeling protocol, and reviewer agreement for the reference set
- Chance-corrected agreement, precision, and recall by failure class, with intervals
- Results of bias, consistency, and prompt injection tests
- Judge model, prompt, rubric, and parameter versions
- Revalidation records, drift alerts, and human review outcomes
- Logged verdicts with inputs and the version identifier that produced them