CompassVerifier: A Unified and Robust Verifier for LLMs Evaluation and Outcome Reward
CompassVerifier通过提出一个统一且鲁棒的验证器模型,为大型语言模型(LLMs)的评估和结果奖励提供了一种新的解决方案。
更新于 2025-08-07。作者:Shudong Liu、Hongwei Liu、Junnan Liu、Linchen Xiao、Songyang Gao、Chengqi Lyu、Yuzhe Gu、Wenwei Zhang、Derek F. Wong、Songyang Zhang、Kai Chen。
中文摘要
答案验证不仅对于通过将大语言模型(LLMs)的非结构化输出与标准答案进行匹配来评估LLMs至关重要,而且它还作为奖励模型来指导LLMs的优化。大多数评估框架依赖于正则化匹配或使用通用LLMs进行答案验证,这需要大量重复的定制正则表达式规则或评估提示。当前方法存在两个根本性的局限:1)缺乏系统评估不同LLMs验证能力的全面基准;2)验证器开发仍处于初级阶段,现有方法既缺乏处理复杂边缘情况的能力,也缺乏在不同领域之间的可推广性。在本工作中,我们开发了CompassVerifier,这是一个用于评估和结果奖励的准确且稳健的轻量级验证器模型。它展示了跨越数学、知识和多样化推理任务的跨领域能力,能够处理各种答案类型,包括多子问题、公式和序列答案,同时有效地识别异常/无效响应。我们引入了VerifierBench基准,它由来自多个数据源收集的模型输出组成,通过手动分析元错误模式来增强CompassVerifier。我们预计CompassVerifier和VerifierBench将促进答案验证、评估协议和强化学习研究。代码和数据集可在https://github.com/open-compass/CompassVerifier上获取。
英文摘要
Answer verification is crucial not only for evaluating large language models (LLMs) by matching their unstructured outputs against standard answers, but also serves as the reward model to guide LLM optimization. Most evaluation frameworks rely on regularized matching or employ general LLMs for answer verification, which demands extensive, repetitive customization for regex rules or evaluation prompts. Two fundamental limitations persist in current methodologies: 1) the absence of comprehensive benchmarks that systematically evaluate verification capabilities across different LLMs; and 2) the nascent stage of verifier development, where existing approaches lack both the robustness to handle complex edge cases and the generalizability across different domains. In this work, we develop CompassVerifier, an accurate and robust lightweight verifier model for evaluation and outcome reward. It demonstrates multi-domain competency spanning math, knowledge, and diverse reasoning tasks, with the capability to process various answer types, including multi-subproblems, formulas, and sequence answers, while effectively identifying abnormal/invalid responses. We introduce VerifierBench benchmark comprising model outputs collected from multiple data sources, augmented through manual analysis of metaerror patterns to enhance CompassVerifier. We anticipate that CompassVerifier and VerifierBench will facilitate answer verification, evaluation protocols, and reinforcement learning research. Code and dataset are available at https://github.com/open-compass/CompassVerifier.
解读
一句话总结
CompassVerifier通过提出一个统一且鲁棒的验证器模型,为大型语言模型(LLMs)的评估和结果奖励提供了一种新的解决方案。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:当前答案验证方法依赖于正则化匹配或通用LLMs,需要大量重复的定制和调整,且缺乏全面的基准和鲁棒性。
- 现有方案不足:缺乏全面基准,验证器开发处于初级阶段,现有方法在处理复杂边缘情况和跨领域泛化方面存在不足。
- 研究目标:开发一个准确且鲁棒的轻量级验证器模型CompassVerifier,用于评估和结果奖励,并构建VerifierBench基准。
问题2:论文的核心创新点是什么?
- 技术创新:CompassVerifier,一个准确且鲁棒的轻量级验证器模型。
- 方法改进:引入VerifierBench基准,通过多阶段、多模型验证和数据清洗来创建测试/基础训练集。
- 优势:CompassVerifier能够处理多种答案类型,有效识别异常/无效响应,并作为强化学习训练中的奖励模型。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在VerifierBench基准上对CompassVerifier进行评估。
- 性能提升:CompassVerifier在多个领域和任务上实现了最先进的性能,包括数学、知识和各种推理任务。
- 对比结果:CompassVerifier在准确性、F1分数等方面优于基线模型。
问题4:这个研究的实际应用价值是什么?
- 应用场景:评估和训练LLMs,构建基于规则的奖励,提供反馈信号以指导模型优化和迭代。
- 实施建议:使用CompassVerifier作为评估和奖励模型,并利用VerifierBench进行基准测试。
- 局限与展望:虽然CompassVerifier和VerifierBench为答案验证、评估协议和强化学习研究提供了便利,但仍然存在局限性,如对复杂问题的处理能力。未来研究可关注更复杂的推理任务和跨领域泛化能力。
来源
机器可读索引:llms.txt