2025-08-06 · 专家 · 机器学习 · 自然语言处理

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:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt