LLM-as-a-Judge
An approach to evaluation where another, stronger model checks the responses. It acts as a 'judge' based on given criteria.
Why
Manually checking thousands of responses is impractical. LLM-as-a-Judge automates this: the judge receives a question, a model's response, and a criterion — and assigns a score.
Where It Is Used
- evaluating RAG pipelines;
- checking the grounding of responses;
- comparing models and prompts;
- next-generation benchmarks.
How It Works
Question: ...
Model response: ...
Criterion: does the response answer the question?
Evaluation: yes/no + justification.
Limitations
- the judge can make mistakes and be biased;
- a clear criterion and evaluation format are needed;
- a strong judge is more expensive than a weak one.
Therefore, LLM-as-a-Judge evaluations are periodically cross-checked with human evaluations.