Though we believe human preference is the gold standard, it is notoriously slow and expensive to collect. In our first Vicuna blogpost, we explored an automated evaluation pipeline based on GPT-4. This approach has since got popular and adopted in several concurrent and follow-up works.
In our latest paper, “Judging LLM-as-a-judge”, we conducted a systematic study to answer how reliable those LLM judges are. We provide a brief overview of conclusions here but recommend reading the paper for more details.
We begin by acknowledging potential limitations of LLM-as-a-judge:
- Position bias where LLM judges may favor the first answer in a pairwise comparison.
- Verbosity bias where LLM judges may favor lengthier answers, regardless of their quality.
- Self-enhancement bias where LLM judges may favor their own responses.
- Limited reasoning ability referring to LLM judges’ possible shortcomings in grading math and reasoning questions.
Our study then explores how few-shot judge, chain-of-thought judge, reference-based judge, and fine-tuned judge can help to mitigate these limitations.
Upon implementing some of these solutions, we discovered that despite limitations, strong LLM judges like GPT-4 can align impressively well with both controlled and crowdsourced human preferences, achieving over 80% agreement. This level of agreement is comparable to the agreement between two different human judges. Therefore, if used carefully, LLM-as-a-judge can act as a scalable and explainable approximation of human preferences.
We also found that single-answer grading based on GPT-4, without pairwise comparison, can also rank models effectively and match human preferences well. In Table 1, we present the MT-Bench as a column on the leaderboard based on single-answer grading with GPT-4.