BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem Proving
Ran Xin, Chenguang Xi, Jie Yang, Feng Chen, Hang Wu, Xia Xiao, Yifan Sun, Shen Zheng, Ming Ding
摘要
Recent advancements in large language models (LLMs) have spurred growing interest in automatic theorem proving using Lean4, where effective tree search methods are crucial for navigating the underlying large proof search spaces. While the existing approaches primarily rely on value functions and/or Monte Carlo Tree Search (MCTS), the potential of simpler methods like Best-First Tree Search (BFS) remains underexplored. In this paper, we investigate whether BFS can achieve competitive performance in large-scale theorem proving tasks. We present BFS-Prover, a scalable expert iteration framework, featuring three key innovations. First, we implement strategic data filtering at each expert iteration round, excluding problems solvable via beam search node expansion to focus on harder cases. Second, we improve the sample efficiency of BFS through Direct Preference Optimization (DPO) applied to state-tactic pairs automatically annotated with compiler error feedback, refining the LLM's policy to prioritize productive expansions. Third, we employ length normalization in BFS to encourage exploration of deeper proof paths. BFS-Prover achieves a state-of-the-art score of on the MiniF2F test set and therefore challenges the perceived necessity of complex tree search methods, demonstrating that BFS can achieve competitive performance when properly scaled. To facilitate further research and development in this area, we have open-sourced our model at https://huggingface.co/ByteDance-Seed/BFS-Prover-V1-7B.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 30 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Hilbert: Recursively Building Formal Proofs with Informal Reasoning 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- Hilbert: Recursively Building Formal Proofs with Informal Reasoning 引用了 Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction
- Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening 引用了 HyperTree Proof Search for Neural Theorem Proving
- APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning 引用了 HyperTree Proof Search for Neural Theorem Proving
- Solving Quantitative Reasoning Problems with Language Models 引用了 Autoformalization with Large Language Models
- Autoformalization with Large Language Models 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- HyperTree Proof Search for Neural Theorem Proving 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
引用它的顶会 Paper30
- Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-CorrectionYong Lin, Shange Tang, Bohan Lyu, Ziran Yang 等ICLR 2026 · 160 次引用
- Tree Search for LLM Agent Reinforcement LearningYuxiang Ji, Ziyu Ma, Yong Wang, Guanhua Chen 等ICLR 2026 · 71 次引用
- Hilbert: Recursively Building Formal Proofs with Informal ReasoningSumanth Varambally, Thomas Voice, Yanchao Sun, Zhifeng Chen 等ICLR 2026 · 62 次引用
- Rewarding the Unlikely: Lifting GRPO Beyond Distribution SharpeningAndre Wang He, Daniel Fried, Sean WelleckEMNLP 2025 · 56 次引用
- APOLLO: Automated LLM and Lean Collaboration for Advanced Formal ReasoningAzim Ospanov, Farzan Farnia, Roozbeh MohitNeurIPS 2025 · 49 次引用
它引用的 Paper9
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer 等NeurIPS 2022 · 2,039 次引用
- Autoformalization with Large Language ModelsYuhuai Wu, Albert Qiaochu Jiang, Wenda Li, Markus N. Rabe 等NeurIPS 2022 · 364 次引用
- miniF2F: a cross-system benchmark for formal Olympiad-level mathematicsKunhao Zheng, Jesse Michael Han, Stanislas PoluICLR 2022 · 342 次引用
- HyperTree Proof Search for Neural Theorem ProvingGuillaume Lample, Timothée Lacroix, Marie-Anne Lachaux, Aurélien Rodriguez 等NeurIPS 2022 · 271 次引用
相关 Paper
- QDTSynth: Quality-Driven Formal Theorem Synthesis for Enhancing Proving Performance of LLMsLei Wang, Ruobing Zuo, Gaolei He, Jianlin Wang 等ACL 2025 · 1 次引用
- Scaling up Multi-Turn Off-Policy RL and Multi-Agent Tree Search for LLM Step-ProversRan Xin, Zeyu Zheng, Yanchen Nie, Kun Yuan 等ICML 2026 · 20 次引用
- MPS-Prover: Advancing Stepwise Theorem Proving by Multi-Perspective Search and Data CurationZhenwen Liang, Linfeng Song, Yang Li, Tao Yang 等NeurIPS 2025 · 10 次引用
- Formal Mathematics Statement Curriculum LearningStanislas Polu, Jesse Michael Han, Kunhao Zheng, Mantas Baksys 等ICLR 2023 · 24 次引用
- Lean-STaR: Learning to Interleave Thinking and ProvingHaohan Lin, Zhiqing Sun, Sean Welleck, Yiming YangICLR 2025
