LLM-as-a-Judge
LLM-as-a-Judge is an evaluation method in which a large language model is used to assess the outputs of an AI system against defined criteria, such as accuracy, relevance, faithfulness to source material, tone, safety, or policy compliance.
What is LLM-as-a-Judge?
The judge model receives the original input, the AI system's output, and an evaluation rubric, and returns a score, label, or explanation. It can compare a response with a reference answer, check whether a response is grounded in retrieved documents, or compare two responses and choose the better one. LLM-as-a-judge is often combined with rule-based checks, such as format validation or keyword rules, and with periodic human review.
Why is LLM-as-a-Judge Important?
Human review of AI outputs does not scale to the volume produced by production AI applications. LLM-as-a-judge makes it practical to evaluate large numbers of responses, track quality over time, compare prompt or model versions, and catch regressions before they reach users. However, judge models have their own biases and failure modes, such as favouring longer responses or their own writing style, so their results should be calibrated against human-labelled samples and treated as one signal among several.
Common use cases
LLM-as-a-judge is commonly used for evaluating RAG answer quality and hallucination, regression testing of prompt and model changes, safety and policy compliance checks, monitoring AI agents in production, comparing models, and generating evaluation data for AI governance reporting.