[Paper Review] JudgeLM: Fine-tuned Large Language Models are Scalable Judges
JudgeLM fine-tunes open-source LLMs to act as scalable judges for evaluating LLMs in open-ended tasks, achieving high agreement with teacher judges and strong efficiency across model sizes (7B–33B).
Evaluating Large Language Models (LLMs) in open-ended scenarios is challenging because existing benchmarks and metrics can not measure them comprehensively. To address this problem, we propose to fine-tune LLMs as scalable judges (JudgeLM) to evaluate LLMs efficiently and effectively in open-ended benchmarks. We first propose a comprehensive, large-scale, high-quality dataset containing task seeds, LLMs-generated answers, and GPT-4-generated judgments for fine-tuning high-performance judges, as well as a new benchmark for evaluating the judges. We train JudgeLM at different scales from 7B, 13B, to 33B parameters, and conduct a systematic analysis of its capabilities and behaviors. We then analyze the key biases in fine-tuning LLM as a judge and consider them as position bias, knowledge bias, and format bias. To address these issues, JudgeLM introduces a bag of techniques including swap augmentation, reference support, and reference drop, which clearly enhance the judge's performance. JudgeLM obtains the state-of-the-art judge performance on both the existing PandaLM benchmark and our proposed new benchmark. Our JudgeLM is efficient and the JudgeLM-7B only needs 3 minutes to judge 5K samples with 8 A100 GPUs. JudgeLM obtains high agreement with the teacher judge, achieving an agreement exceeding 90% that even surpasses human-to-human agreement. JudgeLM also demonstrates extended capabilities in being judges of the single answer, multimodal models, multiple answers, multi-turn chat, etc. Code is available at https://github.com/baaivision/JudgeLM.
Motivation & Objective
- Address the challenge of evaluating LLMs in open-ended scenarios with comprehensive, scalable judging.
- Create a high-quality, large-scale judge dataset with seeds, LLM answers, and GPT-4 judgments for training.
- Investigate JudgeLM across multiple scales (7B, 13B, 33B) and data sizes to analyze performance and biases.
- Identify and mitigate biases in fine-tuned LLM judges (position, knowledge, format).
- Demonstrate judge capabilities across single/multiple answers, multimodal models, and multi-turn chat.
Proposed method
- Assemble a large dataset of 105K seed tasks with LLM-generated answers and GPT-4 judgments as teacher labels.
- Fine-tune open-source LLMs (7B, 13B, 33B) as judges using instruction-following style prompts that produce a score and optional detailed reasoning.
- Introduce swap augmentation to reduce position bias.
- Introduce reference support by providing external reference answers to guide judgments.
- Introduce reference drop to prevent overfitting to a fixed prompt format.
Experimental results
Research questions
- RQ1Can fine-tuned open-source LLMs serve as reliable, scalable judges for open-ended LLM evaluation?
- RQ2How do judge performance and biases scale with model size and training data volume?
- RQ3What techniques (swap augmentation, reference support, reference drop) improve judge reliability and reduce biases?
- RQ4Can JudgeLM handle single-answer grading, multiple answers, multimodal models, and multi-turn judgments?
Key findings
- JudgeLM, at 7B, 13B, and 33B, achieves high agreement with teacher judgments, up to 90%+ on the proposed benchmarks.
- JudgeLM-7B–33B show superior performance over PandaLM and even GPT-3.5 in several settings, with JudgeLM-33B reaching strong results on the main benchmarks.
- Training with swap augmentation, reference support, and reference drop significantly improves consistency and reduces biases (position, knowledge, and format).
- JudgeLM demonstrates efficiency: JudgeLM-7B can judge 5K samples in about 3 minutes on 8 A100 GPUs.
- JudgeLM also extends to single-answer grading, ranking multiple answers, multimodal evaluation, and multi-turn judgments, preserving base-model chat capabilities.
- The dataset enables reproducible, privacy-preserving evaluation and achieves state-of-the-art judge performance on PandaLM and the authors’ benchmark.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.