Lean-STaR: Learning to Interleave Thinking and Proving
摘要
Traditional language model-based theorem proving assumes that by training on a sufficient amount of formal proof data, a model will learn to prove theorems. Our key observation is that a wealth of informal information that is not present in formal proofs can be useful for learning to prove theorems. For instance, humans think through steps of a proof, but this thought process is not visible in the resulting code. We present Lean-STaR, a framework for training language models to produce informal thoughts prior to each step of a proof, thereby boosting the model's theorem-proving capabilities. Lean-STaR uses retrospective ground-truth tactics to generate synthetic thoughts for training the language model. At inference time, the trained model directly generates the thoughts prior to the prediction of the tactics in each proof step. Building on the self-taught reasoner framework, we then apply expert iteration to further fine-tune the model on the correct proofs it samples and verifies using the Lean solver. Lean-STaR achieves better results on the miniF2F-test benchmark within the Lean theorem proving environment, significantly outperforming base models (43.4% → 46.3%, Pass@64). We also analyze the impact of the augmented thoughts on various aspects of the theorem proving process, providing insights into their effectiveness.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Process-Verified Reinforcement Learning for Theorem Proving via Lean 引用了 Llemma: An Open Language Model for Mathematics
- Process-Verified Reinforcement Learning for Theorem Proving via Lean 引用了 Language Models are Few-Shot Learners
- Process-Verified Reinforcement Learning for Theorem Proving via Lean 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- Llemma: An Open Language Model for Mathematics 引用了 Language Models are Few-Shot Learners
- Llemma: An Open Language Model for Mathematics 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- Llemma: An Open Language Model for Mathematics 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- STaR: Bootstrapping Reasoning With Reasoning 引用了 Language Models are Few-Shot Learners
- STaR: Bootstrapping Reasoning With Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levels 引用了 BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem Proving
- FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levels 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem Proving 引用了 miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
- miniF2F: a cross-system benchmark for formal Olympiad-level mathematics 引用了 Language Models are Few-Shot Learners
- Learning to Reason via Mixture-of-Thought for Logical Reasoning 引用了 STaR: Bootstrapping Reasoning With Reasoning
- Learning to Reason via Mixture-of-Thought for Logical Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
引用它的顶会 Paper23
- BFS-Prover: Scalable Best-First Tree Search for LLM-based Automatic Theorem ProvingRan Xin, Chenguang Xi, Jie Yang, Feng Chen 等ACL 2025 · 66 次引用
- AgentSynth: Scalable Task Generation for Generalist Computer-Use AgentsJingxu Xie, Dylan Xu, Xuandong Zhao, Dawn SongICLR 2026 · 36 次引用
- FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty LevelsJiedong Jiang, Wanyi He, Yuefeng Wang, Guoxiong Gao 等ICLR 2026 · 26 次引用
- Learning to Reason via Mixture-of-Thought for Logical ReasoningTong Zheng, Lichang Chen, Simeng Han, R. Thomas McCoy 等ICLR 2026 · 23 次引用
- Process-Verified Reinforcement Learning for Theorem Proving via LeanMinsu Kim, Se-Young YunICLR 2026 · 16 次引用
它引用的 Paper7
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- STaR: Bootstrapping Reasoning With ReasoningEric Zelikman, Yuhuai Wu, Jesse Mu, Noah D. GoodmanNeurIPS 2022 · 1,126 次引用
- Llemma: An Open Language Model for MathematicsZhangir Azerbayev, Hailey Schoelkopf, Keiran Paster, Marco Dos Santos 等ICLR 2024 · 433 次引用
- miniF2F: a cross-system benchmark for formal Olympiad-level mathematicsKunhao Zheng, Jesse Michael Han, Stanislas PoluICLR 2022 · 342 次引用
相关 Paper
- STP: Self-play LLM Theorem Provers with Iterative Conjecturing and ProvingKefan Dong, Tengyu MaICML 2025
- ProofOptimizer: Training Language Models to Simplify Proofs without Human DemonstrationsAlex Gu, Bartosz Piotrowski, Fabian Gloeckle, Kaiyu Yang 等ICLR 2026 · 11 次引用
- Learn from Failure: Fine-tuning LLMs with Trial-and-Error Data for Intuitionistic Propositional Logic ProvingChenyang An, Zhibo Chen, Qihao Ye, Emily First 等ACL 2024 · 1 次引用
- DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree SearchHuajian Xin, Z. Z. Ren, Junxiao Song, Zhihong Shao 等ICLR 2025
- Proof Artifact Co-Training for Theorem Proving with Language ModelsJesse Michael Han, Jason Rute, Yuhuai Wu, Edward W. Ayers 等ICLR 2022 · 149 次引用
