LLM-as-a-Judge
What is LLM-as-a-Judge?
In one sentence: LLM-as-a-Judge means using a language model to grade other AI outputs.
The judge model reads a question and an answer, and gives a score or picks the better of two answers. It is much cheaper than human review, but judges can be biased, for example preferring longer answers.
What does LLM-as-a-Judge look like?
Asking a strong model "Which answer is more accurate, A or B?" for 1,000 pairs of responses.
Why does LLM-as-a-Judge matter?
It makes large-scale evaluation possible, with care to check its fairness.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/llm-as-a-judge/">LLM-as-a-Judge, explained simply</a> (The AI Math Dictionary)