arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2507.17015cs.CLcs.AI
收藏

外部验证工具能否提升 LLM-as-a-Judge 的标注质量?

Can External Validation Tools Improve Annotation Quality for LLM-as-a-Judge?

University of Cambridge(剑桥大学);Apple(苹果公司)

Arduin Findeis, Floris Weers, Guoli Yin, Ke Ye, Ruoming Pang, Tom Gunter

AI总结:

本文提出结合网络搜索与代码执行的工具增强型智能体标注系统,用于改进 LLM-as-a-Judge 在事实、数学和代码领域的成对偏好反馈,并通过多个基准验证其收益与局限。

摘要:

对模型回答的成对偏好被广泛收集,用于评估大型语言模型(LLM)并向其提供反馈。给定同一输入的两个备选模型回答,人类或 AI 标注员会选择“更好”的回答。这种方法能够为其他硬编码指标难以获得的领域(例如聊天回答质量)提供反馈,从而帮助模型评估或训练。然而,在某些领域,无论来自 AI 还是人类,高质量的成对比较都可能很难获得。例如,对于包含大量事实性陈述的回答,标注员可能会过度权衡写作质量,而不是底层事实。在本工作中,我们探索通过额外工具增强标准 AI 标注员系统,以提升在三个具有挑战性的回答领域上的表现:长篇事实类、数学和代码任务。我们提出了一个使用工具的智能体系统,以在这些领域提供更高质量的反馈。我们的系统使用网络搜索和代码执行,基于外部验证来为自身提供依据,独立于 LLM 的内部知识和偏见。我们提供了大量实验结果,在三个目标回答领域以及通用标注任务上评估我们的方法,使用了 RewardBench(包括 AlpacaEval 和 LLMBar)、RewardMath,以及针对已有数据集趋于饱和的领域的三个新数据集。我们的结果表明,外部工具在许多情况下确实能够提升性能,但并非所有情况都如此。更广泛地说,我们的实验强调了性能对简单参数(例如提示词)的敏感性,以及改进的(非饱和的)标注员基准的必要性。我们在 https://github.com/apple/ml-agent-evaluator 分享代码。

英文摘要:

Pairwise preferences over model responses are widely collected to evaluate and provide feedback to large language models (LLMs). Given two alternative model responses to the same input, a human or AI annotator selects the "better" response. This approach can provide feedback for domains where other hard-coded metrics are difficult to obtain (e.g., chat response quality), thereby helping model evaluation or training. However, for some domains high-quality pairwise comparisons can be tricky to obtain - from AI and humans. For example, for responses with many factual statements, annotators may disproportionately weigh writing quality rather than underlying facts. In this work, we explore augmenting standard AI annotator systems with additional tools to improve performance on three challenging response domains: long-form factual, math and code tasks. We propose a tool-using agentic system to provide higher quality feedback on these domains. Our system uses web-search and code execution to ground itself based on external validation, independent of the LLM's internal knowledge and biases. We provide extensive experimental results evaluating our method across the three targeted response domains as well as general annotation tasks, using RewardBench (incl. AlpacaEval and LLMBar), RewardMath, as well as three new datasets for domains with saturated pre-existing datasets. Our results indicate that external tools can indeed improve performance in many, but not all, cases. More generally, our experiments highlight the sensitivity of performance to simple parameters (e.g., prompt) and the need for improved (non-saturated) annotator benchmarks. We share our code at https://github.com/apple/ml-agent-evaluator.

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

↑