[論文レビュー] JudgeLM: Fine-tuned Large Language Models are Scalable Judges
JudgeLM はオープンソース LLM を微調整して、オープンエンドなタスクの LLM 評価におけるスケーラブルなジャッジとして機能させ、教師ジャッジとの高い一致と、モデルサイズ(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.
研究の動機と目的
- オープンエンドなシナリオでの LLM 評価という課題に対し、包括的でスケーラブルなジャッジを提供する。
- トレーニング用の seeds、LLM の回答、GPT-4 の判断を含む高品質かつ大規模なジャッジデータセットを作成する。
- JudgeLM を複数のスケール(7B、13B、33B)およびデータサイズで調査し、性能とバイアスを分析する。
- ファインチューニング済み LLM ジャッジのバイアスを特定し緩和する(ポジション、知識、フォーマット)。
- 単一/複数回答、マルチモーダルモデル、マルチターン対話にわたるジャッジの能力を示す。
提案手法
- LLM が生成した回答と GPT-4 判断を教師ラベルとして持つ105K件の seeds タスクの大規模データセットを組み立てる。
- オープンソース LLM(7B、13B、33B)を、スコアと任意の詳細推論を出力する命令追従型プロンプトを用いてジャッジとしてファインチューニングする。
- 位置バイアスを減らすための swap 増強を導入する。
- 判断を導くために外部参照回答を提供して参照サポートを導入する。
- 固定プロンプト形式への過適合を防ぐための参照ドロップを導入する。
実験結果
リサーチクエスチョン
- RQ1微調整済みオープンソース LLM は、オープンエンドな LLM 評価の信頼できるスケーラブルなジャッジとなりうるのか?
- RQ2モデルサイズとトレーニングデータ量でジャッジの性能とバイアスはどのようにスケールするのか?
- RQ3 swap 増強、参照サポート、参照ドロップといった技術は、ジャッジの信頼性を高め、バイアスを減らすのにどの程度有効か?
- RQ4JudgeLM は単一回答の採点、複数回答のランキング、マルチモーダル評価、マルチターンの判断を扱えるのか?
主な発見
- JudgeLM は 7B、13B、33B のいずれでも教師判断との高い一致を達成し、提案ベンチマークで 90%+ に達する。
- JudgeLM-7B–33B は PandaLM や GPT-3.5 を上回る場面が多く、特に JudgeLM-33B は主要ベンチマークで強い結果を示す。
- swap 増強、参照サポート、参照ドロップによる訓練は、一貫性を大幅に改善し、バイアス(位置・知識・フォーマット)を低減する。
- JudgeLM の効率性を示す:JudgeLM-7B は 8 A100 GPU で 5K サンプルを約 3 分程度で評価可能。
- JudgeLM は単一回答の採点、複数回答のランキング、マルチモーダル評価、マルチターン判断にも拡張され、基本モデルのチャット機能を維持する。
- データセットは再現可能でプライバシーを保護した評価を可能にし、PandaLM と著者らのベンチマークで最先端のジャッジ性能を達成する。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。