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

Heimdall:生成式验证的测试时缩放

Heimdall: test-time scaling on the generative verification

ByteDance(字节跳动)

Wenlei Shi, Xing Jin

AI总结:

针对大语言模型验证能力弱的问题,提出长思维链验证模型Heimdall,通过纯强化学习和重复采样提升竞赛级数学问题验证准确率,还提出悲观验证扩展至求解缩放,原型化三元自动知识发现系统并验证数据缺陷识别能力。

摘要:

AI系统仅能在自身可验证知识的范围内创建和维护知识。近期关于长思维链(Chain-of-Thought)推理的研究已展示出大语言模型(LLMs)在解决竞赛级问题上的巨大潜力,但它们的验证能力仍较弱且未得到充分研究。本文提出Heimdall——一种长思维链验证大语言模型,可准确判断解决方案的正确性。通过纯强化学习,我们将竞赛级数学问题的验证准确率从62.5%提升至94.5%;通过重复采样进行缩放,准确率进一步提高到97.5%。经人类评估,Heimdall展现出令人印象深刻的泛化能力,能成功检测出训练中未包含的挑战性数学证明中的大多数问题。此外,我们提出悲观验证(Pessimistic Verification)以扩展Heimdall的功能至问题求解缩放:调用Heimdall判断求解模型生成的解决方案,并基于悲观原则选择不确定性最小、最可能正确的方案。以DeepSeek-R1-Distill-Qwen-32B为求解模型时,悲观验证在AIME2025数据集上,以16倍计算预算将求解准确率从54.2%提升至70.0%,更多计算预算下可达83.3%;使用更强的求解模型Gemini 2.5 Pro时,得分达93.0%。最后,我们原型化了一个自动知识发现系统——由提问、求解、验证三个组件构成的三元系统,前两个组件使用数据合成工具NuminaMath,Heimdall能有效识别数据集中的问题记录,发现近半数数据存在缺陷,这与NuminaMath近期的消融研究结果有趣地一致。

英文摘要:

An AI system can create and maintain knowledge only to the extent that it can verify that knowledge itself. Recent work on long Chain-of-Thought reasoning has demonstrated great potential of LLMs on solving competitive problems, but their verification ability remains to be weak and not sufficiently investigated. In this paper, we propose Heimdall, the long CoT verification LLM that can accurately judge the correctness of solutions. With pure reinforcement learning, we boost the verification accuracy from 62.5% to 94.5% on competitive math problems. By scaling with repeated sampling, the accuracy further increases to 97.5%. Through human evaluation, Heimdall demonstrates impressive generalization capabilities, successfully detecting most issues in challenging math proofs, the type of which is not included during training. Furthermore, we propose Pessimistic Verification to extend the functionality of Heimdall to scaling up the problem solving. It calls Heimdall to judge the solutions from a solver model and based on the pessimistic principle, selects the most likely correct solution with the least uncertainty. Taking DeepSeek-R1-Distill-Qwen-32B as the solver model, Pessimistic Verification improves the solution accuracy on AIME2025 from 54.2% to 70.0% with 16x compute budget and to 83.3% with more compute budget. With the stronger solver Gemini 2.5 Pro, the score reaches 93.0%. Finally, we prototype an automatic knowledge discovery system, a ternary system where one poses questions, another provides solutions, and the third verifies the solutions. Using the data synthesis work NuminaMath for the first two components, Heimdall effectively identifies problematic records within the dataset and reveals that nearly half of the data is flawed, which interestingly aligns with the recent ablation studies from NuminaMath.

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

↑