打造轻量级通用验证器,提升大模型答案评估与奖励的准确性。
CompassVerifier: A Unified and Robust Verifier for LLMs Evaluation and Outcome Reward
- 基于多领域数据训练轻量验证模型,支持公式、序列等复杂答案类型。
- 在数学、知识、推理任务上表现稳健,能有效识别异常回答。
- 配套评测基准验证器,助力模型评估与强化学习研究。
答案验证对评估大语言模型(LLMs)的非结构化输出至关重要,同时可作为奖励模型指导模型优化。现有框架依赖正则匹配或通用大模型进行验证,需大量重复定制规则或提示词,存在两大缺陷:一是缺乏系统性评估不同模型验证能力的基准;二是验证器本身鲁棒性不足,跨领域泛化能力弱。本文提出CompassVerifier,一个精准且鲁棒的轻量级验证模型,具备覆盖数学、知识与多样化推理任务的多领域能力,可处理多子问题、公式、序列等多种答案形式,并有效识别异常/无效响应。我们构建了VerifierBench基准,整合多源模型输出并结合人工分析元错误模式以增强评测能力。代码与数据集已开源(https://github.com/open-compass/CompassVerifier),有望推动答案验证、评估协议及强化学习研究。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。