Scaling up Multi-Turn Off-Policy RL and Multi-Agent Tree Search for LLM Step-Provers
该论文提出了一种名为BFS-Prover-V2的系统,通过结合多轮离策略强化学习和多智能体树搜索,实现了对LLM步证明器的扩展,并在形式数学基准测试中取得了最先进的成果。
更新于 2025-11-08。作者:Ran Xin、Zeyu Zheng、Yanchen Nie、Kun Yuan、Xia Xiao。
中文摘要
将大型语言模型(LLMs)集成到自动定理证明中展现出了巨大的潜力,然而,这一集成从根本上受到训练时间强化学习(RL)和推理时间计算能力的限制。本文介绍了一种名为BFS-Prover-V2的系统,旨在解决这一双重扩展问题。我们提出了两个主要创新点。第一个创新是一个新颖的多轮离策略RL框架,用于在训练时间持续提升LLM步证明器的性能。这个框架灵感来源于AlphaZero的原则,采用了一个多阶段专家迭代流程,包括自适应战术级别的数据过滤和周期性再训练,以克服通常限制基于LLM代理的长期RL的性能瓶颈。第二个创新是一个规划器增强的多智能体搜索架构,它在推理时间扩展推理能力。该架构采用了一个通用推理模型作为高级规划器,通过迭代地将复杂定理分解成一系列更简单的子目标。这种分层方法大幅减少了搜索空间,使一组并行证明智能体能够通过利用共享证明缓存来高效协作。我们证明,这种扩展的双重方法在已建立的正式数学基准测试中取得了最先进的结果。BFS-Prover-V2在MiniF2F和ProofNet测试集中分别达到了95.08%和41.4%的成绩。虽然本文在形式数学领域进行了演示,但本文中提出的RL和推理技术具有更广泛的应用前景,可能被应用于需要长期多轮推理和复杂搜索的其他领域。
英文摘要
The integration of Large Language Models (LLMs) into automated theorem proving has shown immense promise, yet is fundamentally constrained by challenges in scaling up both training-time reinforcement learning (RL) and inference-time compute. This paper introduces BFS-Prover-V2, a system designed to address this dual scaling problem. We present two primary innovations. The first is a novel multi-turn off-policy RL framework for continually improving the performance of LLM step-prover at training time. This framework, inspired by the principles of AlphaZero, utilizes a multi-stage expert iteration pipeline featuring adaptive tactic-level data filtering and periodic retraining to surmount the performance plateaus that typically curtail long-term RL in LLM-based agents. The second innovation is a planner-enhanced multi-agent search architecture that scales reasoning capabilities at inference time. This architecture employs a general reasoning model as a high-level planner to iteratively decompose complex theorems into a sequence of simpler subgoals. This hierarchical approach substantially reduces the search space, enabling a team of parallel prover agents to collaborate efficiently by leveraging a shared proof cache. We demonstrate that this dual approach to scaling yields state-of-the-art results on established formal mathematics benchmarks. BFS-Prover-V2 achieves 95.08\% and 41.4\% on the MiniF2F and ProofNet test sets respectively. While demonstrated in the domain of formal mathematics, the RL and inference techniques presented in this work are of broader interest and may be applied to other domains requiring long-horizon multi-turn reasoning and complex search.
解读
一句话总结
该论文提出了一种名为BFS-Prover-V2的系统,通过结合多轮离策略强化学习和多智能体树搜索,实现了对LLM步证明器的扩展,并在形式数学基准测试中取得了最先进的成果。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:将大型语言模型(LLMs)集成到自动定理证明中具有巨大潜力,但受限于训练时间强化学习(RL)和推理时间计算的扩展性问题。
- 现有方案不足:现有的LLM步证明器在训练时间和推理时间上都存在性能瓶颈,难以处理复杂问题。
- 研究目标:开发一个能够扩展训练时间和推理时间的系统,提高LLM步证明器的性能。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种新的多轮离策略强化学习框架,结合自适应策略级数据过滤和定期重新训练,以克服LLM代理中长期RL的性能平台问题。
- 方法改进:引入了一种增强型多智能体搜索架构,通过使用通用推理模型作为高级规划器,将复杂定理分解为一系列更简单的子目标,从而在推理时间扩展推理能力。
- 优势:与现有方法相比,该方法在性能和效率上都有显著提升。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在MiniF2F和ProofNet测试集上进行了实验,BFS-Prover-V2分别取得了95.08%和41.4%的成果。
- 性能提升:在MiniF2F和ProofNet测试集上的表现优于之前的LLM步证明器,并与最先进的整体证明生成模型相当。
- 对比结果:与基线方法相比,该方法在性能上有显著提升。
问题4:这个研究的实际应用价值是什么?
- 应用场景:该研究在形式数学领域具有实际应用价值,其RL和推理技术也可能应用于需要长期多轮推理和复杂搜索的其他领域。
- 实施建议:可以进一步优化算法和模型,以提高系统的鲁棒性和泛化能力。
- 局限与展望:虽然取得了显著的成果,但该系统在处理某些复杂问题时仍存在局限性。未来可以探索更先进的强化学习和推理技术,以进一步提高系统的性能。
来源
机器可读索引:llms.txt