LLM-as-a-Judge
In this article
- Predict what a model judge returns from what its prompt contains, and say what evidence a criterion needs.
- Design a judge for one criterion with a clear rubric, an UNKNOWN answer and the reply fenced off as data.
- Read a judge's disagreements with trusted human labels by kind and direction, and decide whether its verdicts may block a release.
- Say what must be pinned, and rechecked, when a judge's model or prompt changes.
- Terms defined here: judge bias, judge calibration.
Overview
No exact string check can reliably tell whether a support reply states the refund policy correctly, or sounds kind. So the grading goes to a large language model (LLM) set up as a grader, the part of an eval that passes or fails a reply. Such a grader is called a judge. When can a judge's verdict be trusted? And when may it stop a release by failing the check a new version must pass before it ships?
In an invented example, Brightline, a home-internet provider, runs a support assistant on its website that answers customers and can look up an order, issue a refund of at most $50 and hand a conversation to a person on the support team. Two properties of its replies need a judge: policy correctness against Brightline's help page, and tone.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- What the judge reads
- One criterion, one judge
- What the judge brings with it
- Checking the judge against the support leads
- Common mistakes
- Sources
- Check yourself, 6 questions