LLM-as-a-judge
LLM-as-a-judge is the practice of using a large language model to grade or compare other models' outputs, as a faster and cheaper stand-in for human evaluators.
Checking thousands of open-ended answers by hand is slow and expensive. The alternative is to ask a strong language model to do the grading. The name was popularised by a June 2023 paper by Lianmin Zheng and colleagues, Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena, presented at NeurIPS 2023. It found that GPT-4's verdicts agreed with human preferences more than 80 per cent of the time, roughly the rate at which humans agree with each other.
There are three common set-ups. In single-answer grading, the judge scores one response against a rubric, such as 1 to 5 for helpfulness. In pairwise comparison, it is shown two responses and picks the better one. In reference-guided grading, it is given a known good answer and checks the response against it. Many benchmarks now rely on judges: Humanity's Last Exam uses a model to check answers, Google DeepMind's FACTS Grounding uses three, and cloud providers sell groundedness and relevance scores computed this way. Google calls a model trained on human evaluation data to imitate human graders an autorater.
Judges have systematic biases. The 2023 paper identified position bias, favouring whichever answer appears first or second; verbosity bias, favouring longer answers; and self-enhancement bias, favouring answers written by the judge itself or similar models. It also noted their limited reasoning ability. Common fixes are to swap the order of answers and average, to control for length, to use a different model from the one being evaluated, and to give the judge a reference answer.
The standard advice from OpenAI and others is to treat the judge as an instrument that needs calibrating. Collect human ratings on a sample, check how often the judge agrees, refine the instructions, and only then let it grade at scale. A judge that matches humans on one task may not on another.
In practice, LLM judges made fast, repeatable evaluation of chatbots and AI agents possible, and most production evaluation now uses them. But a judge's score is another model's output, with its own error rate and blind spots. When a result rests on an LLM judge, ask which model judged, what it was told and how well it was checked against people.
It is an evaluation method in which a large language model grades or compares the outputs of AI systems, following instructions or a rubric. It is used where outputs are open-ended and human grading would be too slow or costly. On some tasks strong judges agree with human raters about as often as humans agree with each other; the 2023 study that named the method found over 80 per cent agreement for GPT-4. Accuracy varies by task, so judges should be validated against human ratings. The best documented are position bias, where answer order affects the verdict; verbosity bias, a preference for longer answers; and self-enhancement bias, a preference for the judge's own style of output. Swapping answer order, controlling for length and using a different model family reduce these effects. It can, but it tends to favour its own answers. Anthropic's evaluation guidance calls it best practice to grade with a different model from the one that produced the output, and to test a judge's reliability before scaling it up.Common questions
What is LLM-as-a-judge?
How accurate are LLM judges?
What biases do LLM judges have?
Can a model judge its own outputs?
Search for "LLM-as-a-judge bias", "MT-Bench" or "LLM judge human agreement" to learn how the method works and where it fails. Reliable sources include the original research papers on arXiv, evaluation guides from model providers, and documentation for evaluation frameworks that explain their judge prompts. Be cautious with results that rely on an LLM judge without reporting how it was validated against human ratings.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.