arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.11689cs.CL
收藏

提升LLM-as-a-Judge能力作为通用能力

Improve LLM-as-a-Judge Ability as a General Ability

Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院,清华大学);Institute of Artificial Intelligence, China Telecom (TeleAI)(中国电信人工智能研究院(TeleAI));Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)

Jiachen Yu, Shaoning Sun, Xiaohui Hu, Jiaxu Yan, Kaidong Yu, Xuelong Li

AI总结:

该工作将评判能力视为LLM的通用能力,提出SFT预热加DPO增强的两阶段训练方法,并引入高效数据合成,用少量数据在RewardBench上达到SOTA,同时提升模型通用能力并增强下游DPO训练。

摘要:

LLM-as-a-Judge利用大型语言模型(LLMs)的生成和推理能力,在各种场景下评估LLM的响应,提供准确的偏好信号。这种方法在使LLM与人类价值观对齐方面发挥着至关重要的作用,确保符合社会规范的道德和可靠AI输出。近期研究提出了许多训练LLM作为生成式评判者的方法,但大多数方法数据消耗大或缺乏准确性,且仅关注LLM的评判能力。在这项工作中,我们将评判能力视为LLM的一种通用能力,并实施了一种两阶段训练方法,包括监督微调(SFT)预热和直接偏好优化(DPO)增强,以实现评判风格适应并提高评判准确性。此外,我们引入了一种高效的数据合成方法来生成评判性内容。实验结果表明,我们的方法仅使用其他方法所需数据的约2%至40%,就在RewardBench上达到了最先进的性能。此外,我们的训练方法通过构建复杂的评判任务增强了模型的通用能力,并且在我们使用评判模型优化策略模型的测试中,我们的模型提供的评判信号显著提升了内部模型的下游DPO训练性能。我们还开源了我们的模型权重和训练数据,以促进进一步研究。

英文摘要:

LLM-as-a-Judge leverages the generative and reasoning capabilities of large language models (LLMs) to evaluate LLM responses across diverse scenarios, providing accurate preference signals. This approach plays a vital role in aligning LLMs with human values, ensuring ethical and reliable AI outputs that align with societal norms. Recent studies have raised many methods to train LLM as generative judges, but most of them are data consuming or lack accuracy, and only focus on LLM's judge ability. In this work, we regard judge ability as a general ability of LLM and implement a two-stage training approach, comprising supervised fine-tuning (SFT) warm-up and direct preference optimization (DPO) enhancement, to achieve judge style adaptation and improve judgment accuracy. Additionally, we introduce an efficient data synthesis method to generate judgmental content. Experimental results demonstrate that our approach, utilizing only about 2% to 40% of the data required by other methods, achieves SOTA performance on RewardBench. Furthermore, our training method enhances the general capabilities of the model by constructing complicated judge task, and the judge signals provided by our model have significantly enhanced the downstream DPO training performance of our internal models in our test to optimize policy model with Judge Model. We also open-source our model weights and training data to facilitate further research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑