Book a demo →

LLM-as-a-Judge

Definition

LLM-as-a-judge in the sources: how Zheng et al. define it, which biases they name, how well judges match humans, and what vendors advise.

In short

LLM-as-a-judge means that a language model grades or compares the answers of another model. Zheng et al. (version 1, 9 June 2023) describe three setups: pairwise comparison, single answer grading and reference-guided grading, and name three biases. The sources differ on how closely judges match human raters.

What is LLM-as-a-judge?

LLM-as-a-judge means that a language model grades or compares the output of another model. Two papers and three vendor pages give five definitions (retrieved on 6 December 2026):

Source and dateWording
Zheng et al. (MT-Bench paper), arXiv 2306.05685, version 4 (24 December 2023), abstract, on LLM based chat assistants“we explore using strong LLMs as judges to evaluate these models on more open-ended questions”
Gu et al., “A Survey on LLM-as-a-Judge”, arXiv 2411.15594, version 6 (19 October 2025), abstract“leading to the emergence of "LLM-as-a-Judge," where LLMs are employed as evaluators for complex tasks”
OpenAI, “Evaluation best practices” (no date on the page)“Using models to judge output is cheaper to run and more scalable than human evaluation.”
Anthropic, “Define success criteria and build evaluations” (no date on the page)“LLM-based grading: Fast and flexible, scalable and suitable for complex judgment.”
Databricks, “Built-in LLM judges” (last updated 15 September 2026)“Built-in LLM judges are predefined scorers that use Databricks-hosted LLMs to evaluate common quality dimensions of your agent such as relevance, safety, groundedness, and correctness.”

The sources use four words for the grading model: judge (Zheng et al.), evaluator (Liu et al.), grader (Anthropic) and referee (Wang et al., arXiv 2305.17926, in the abstract of version 2). This entry writes judge.

Three setups in the sources

Zheng et al. write in version 4 (24 December 2023): “We propose 3 LLM-as-a-judge variations. They can be implemented independently or in combination”. The three definitions:

  • “Pairwise comparison. An LLM judge is presented with a question and two answers, and tasked to determine which one is better or declare a tie.”
  • “Single answer grading. Alternatively, an LLM judge is asked to directly assign a score to a single answer.”
  • “Reference-guided grading. In certain cases, it may be beneficial to provide a reference solution if applicable.”

The paper names a drawback for pairwise comparison and for single answer grading: “the pairwise comparison may lack scalability when the number of players increases, given that the number of possible pairs grows quadratically”, and “single answer grading may be unable to discern subtle differences between specific pairs”. These passages read the same in version 1 (9 June 2023), whose title writes “LLM-as-a-judge”.

OpenAI's page lists the same three names (“Pairwise comparison”, “Single answer grading”, “Reference-guided grading”) without citing Zheng et al.

Zheng et al. check the agreement between judges and human preferences on two benchmarks: “MT-bench, a multi-turn question set; and Chatbot Arena, a crowdsourced battle platform”. The paper describes MT-bench as “a benchmark consisting of 80 high-quality multi-turn questions” (versions 1 and 4).

The paper gives the result for the first two setups: a better answer or a tie, and a score. For the third it gives only the reference solution as an added input.

Biases named in the sources

Zheng et al. define three biases. Two other papers describe related effects:

Source and biasWording
Zheng et al., version 4, position“Position bias is when an LLM exhibits a propensity to favor certain positions over others.”
Zheng et al., version 4, verbosity“Verbosity bias is when an LLM judge favors longer, verbose responses, even if they are not as clear, high-quality, or accurate as shorter alternatives.”
Zheng et al., version 4, self-enhancement“We adopt the term “self-enhancement bias” from social cognition literature” “to describe the effect that LLM judges may favor the answers generated by themselves.”
Wang et al., version 2 (30 August 2023), order“We find that the quality ranking of candidate responses can be easily hacked by simply altering their order of appearance in the context.”
Liu et al. (G-Eval), version 3 (23 May 2023), texts written by models“We also propose preliminary analysis on the behavior of LLM-based evaluators, and highlight the potential issue of LLM-based evaluators having a bias towards the LLM-generated texts”

Zheng et al. test position bias with very similar answers: “we construct two similar answers to each first-turn question in MT-bench by calling GPT-3.5 twice with a temperature of 0.7”. With the default prompt, the share of consistent verdicts after the two answers swap places is 23.8% for Claude-v1, 46.2% for GPT-3.5 and 65.0% for GPT-4 (Table 2, the same in versions 1 and 4). The paper sums up: “Only GPT-4 outputs consistent results in more than 60% of cases.”

On self-enhancement the same paper says two things. Version 4 of the abstract names it among the biases. Version 1 reads “such as position and verbosity biases and limited reasoning ability”; self-enhancement enters the abstract with version 2 (12 July 2023). The text of versions 1 and 4 compares win rates (Figure 3(b), without ties) with human votes: “GPT-4 favors itself with a 10% higher win rate; Claude-v1 favors itself with a 25% higher win rate. However, they also favor other models and GPT-3.5 does not favor itself.” It continues: “Due to limited data and small differences, our study cannot determine whether the models exhibit a self-enhancement bias.”

The paper names one more limit: “LLMs are known to have limited math and reasoning capability”. Ye et al. (arXiv 2410.02736) write “we identify 12 key potential biases”.

How closely judges match humans

The figures below come from different sources:

Paper and setupWording
Zheng et al., version 4, abstract“Our results reveal that strong LLM judges like GPT-4 can match both controlled and crowdsourced human preferences well, achieving over 80% agreement, the same level of agreement between humans.”
Zheng et al., version 4, MT-bench, GPT-4 with pairwise comparison, setup S2“The agreement under setup S2 (w/o tie) between GPT-4 and humans reaches 85%, which is even higher than the agreement among humans (81%).”
Thakur et al., arXiv 2406.12624, version 1 (18 June 2024)“We find that both Llama-3 70B and GPT-4 Turbo have an excellent alignment with humans, but in terms of ranking exam taker models, they are outperformed by both JudgeLM-7B and the lexical judge Contains”
Thakur et al., version 6 (18 August 2025), setup with high inter-human agreement“we find that only the best (and largest) models achieve reasonable alignment with humans. However, they are still quite far behind inter-human agreement”
MLflow, “LLM-as-a-Judge for LLM and Agent Evaluation” (no date on the page)“LLM judges apply the same criteria to every output, achieving over 80% agreement with human evaluators and eliminating reviewer inconsistency”

The 85% depends on the setup. Table 5 of Zheng et al. defines two: ““S1” includes non-tie, tie, and inconsistent (due to position bias) votes and counts inconsistent as tie; “S2” only includes non-tie votes.” For turn 1 of MT-bench, GPT-4 with pairwise comparison agrees with human votes in 66% of cases under S1, where two random judges would agree in 33%, and in 85% under S2, where they would agree in 50%. Humans agree with each other in 63% under S1 and 81% under S2. The four cells are the same in versions 1 and 4.

Thakur et al. ask for a different measure. Version 1 “rediscovers the importance of using Cohen's kappa as a metric of alignment as opposed to simple percent agreement”, version 6 “the importance of using alignment metrics beyond simple percent alignment”. Both add: “showing that judges with high percent agreement can still assign vastly different scores”. The tasks differ: Zheng et al. compare preferences over answers to open-ended questions; version 1 of Thakur et al. uses TriviaQA: “We leverage TriviaQA as a benchmark for assessing objective knowledge reasoning of LLMs”.

G-Eval

G-Eval comes from Liu et al., arXiv 2303.16634, with Yang Liu as lead author. Version 1 (29 March 2023) carried the title “GPTEval: NLG Evaluation using GPT-4 with Better Human Alignment”. Version 2 (6 April 2023) changed the name to G-Eval, and version 3 followed on 23 May 2023.

The abstract starts from older metrics: “Conventional reference-based metrics, such as BLEU and ROUGE, have been shown to have relatively low correlation with human judgments, especially for tasks that require creativity and diversity.” Version 3 describes the method: “In this work, we present G-Eval, a framework of using large language models with chain-of-thoughts (CoT) and a form-filling paradigm, to assess the quality of NLG outputs.” The headline figure: “We show that G-Eval with GPT-4 as the backbone model achieves a Spearman correlation of 0.514 with human on summarization task, outperforming all previous methods by a large margin.” Table 1 of versions 1 and 3 shows 0.514 as the average over four aspects on the SummEval benchmark. Version 1 gives the same figure under the name GPTEval.

The string “LLM-as-a-” does not occur in versions 1 or 3 of the PDF by Liu et al., and the reference list of Zheng et al. does not include arXiv 2303.16634 in versions 1 or 4.

What vendor pages advise

Advice from the two vendor guides:

SourceWording
OpenAI, “Recommendations” in the section on LLM-as-a-judge, no date on the page“Use pairwise comparison or pass/fail for more reliability”
Anthropic, no date on the page“Be empirical or specific: For example, instruct the LLM to output only ‘correct’ or ‘incorrect’, or to judge from a scale of 1–5.”
Anthropic, no date on the page“Test to ensure reliability first, then scale.”
OpenAI, no date on the page“Once the LLM judge reaches a point where it’s faster, cheaper, and consistently agrees with human annotations, scale up”

Both pages ask for a test before wider use, OpenAI against human labels: “validate agreement against your human labels”. Both ask the judge to reason before it scores. OpenAI: “Add reasoning and chain-of-thought as reasoning before scoring improves eval performance”. Anthropic: “Encourage reasoning: Use a grader model with thinking on, so that it reasons before it produces an evaluation score.” OpenAI adds: “No strategy is perfect. The quality of LLM-as-Judge varies depending on problem context while using expert human annotators to provide ground-truth labels is expensive and time-consuming.”

Names and dates in the sources

The papers do not share one word for the judge. Wang et al. title their paper “Large Language Models are not Fair Evaluators” and use a model “as a referee” once, in the abstract. Liu et al. write of LLM-based evaluators, and Zheng et al. of LLM-as-a-judge. Three later papers use the term in their abstracts. Thakur et al. write “the LLM-as-a-judge paradigm is rapidly gaining traction”, Ye et al. “LLM-as-a-Judge has been widely utilized as an evaluation method in various benchmarks”, and Gu et al. title their work “A Survey on LLM-as-a-Judge”.

Three pages in the search results name the paper by Zheng et al. Hugging Face: “This method was introduced in Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena”. Confident AI: “As introduced in the "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena" paper”, which leads into “the three types of LLM as judges”. Evidently writes of pairwise comparison that it “got its official “judge” nickname in the paper” by Zheng et al. The papers by Liu et al. (29 March 2023) and Wang et al. (29 May 2023) carry earlier dates than version 1 of Zheng et al. (9 June 2023). The reference list of Zheng et al. includes Wang et al. and Chiang and Lee (arXiv 2305.01937) in version 4, not in version 1. This entry does not say who used the term before whom.

Version 1 dates of the six papers quoted in this entry, evenly spaced. The figure shows dates, not an order of credit.

Other meanings of “judge”

Google's AI overview for the search “ai judge” (US, 5 December 2026) reads: “An AI judge usually refers either to an artificial intelligence system used in legal and dispute resolution or an LLM-as-a-judge setup used to evaluate AI outputs.” Six of the nine organic results on that page are about courts, judges or dispute resolution, with titles such as “The GPTJudge: Justice in a Generative AI World”. The results for the search “what is llm as a judge” include the question “What is LLM in law school?”, which uses LLM in another sense.

Large language model. The kind of model that serves as a judge; the large language model entry describes it.

RLHF. Training on human judgements, and RLAIF, where a language model produces the preference labels; the RLHF entry covers both.

Reasoning model. Chain of thought, which OpenAI and Anthropic ask a judge to use before it scores; the entry on reasoning models covers it.

Hallucination rate. False statements about a brand in AI answers; the entry on hallucination rate covers them.

Semantic caching. One system there calls an LLM judge to check a cached answer; the entry on semantic caching names it.

Source

Frequently asked questions

What is LLM-as-a-judge used for?

A language model grades or compares the outputs of another model. Zheng et al. use strong LLMs as judges for LLM based chat assistants “on more open-ended questions”. OpenAI writes “Using models to judge output is cheaper to run and more scalable than human evaluation.” Databricks gives “relevance, safety, groundedness, and correctness” as examples of what its built-in judges evaluate.

How good is an LLM-as-a-judge?

The sources answer for their own tests. Zheng et al. report for GPT-4 on MT-bench that agreement with humans “reaches 85%, which is even higher than the agreement among humans (81%)” under setup S2 (without ties). Thakur et al. write in version 6 that “only the best (and largest) models achieve reasonable alignment with humans”. The tasks and measures differ.

How to correctly use LLM-as-a-judge?

Anthropic writes “Test to ensure reliability first, then scale.” OpenAI asks readers to “validate agreement against your human labels”. OpenAI recommends “Use pairwise comparison or pass/fail for more reliability”, while Anthropic names “a scale of 1–5” as one option. Zheng et al. name position, verbosity and self-enhancement bias among the limits (version 4).

How does G-eval work?

Liu et al. describe G-Eval as “a framework of using large language models with chain-of-thoughts (CoT) and a form-filling paradigm, to assess the quality of NLG outputs” (version 3, 23 May 2023). They report “a Spearman correlation of 0.514 with human on summarization task” for GPT-4 as the backbone model, on SummEval. Version 1 called it GPTEval.

Which LLM is best for LLM-as-a-judge?

It depends on the test. Zheng et al. (version 4) write that “strong LLM judges like GPT-4” can match human preferences well. Thakur et al. (version 6) write that “only the best (and largest) models achieve reasonable alignment with humans”, in a setup where “inter-human agreement is high”. OpenAI writes “Use the most capable model to grade if you can.”