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

Goedel-Prover:面向开源自动定理证明的前沿模型

Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Proving

Princeton Language and Intelligence, Princeton University(普林斯顿语言与智能,普林斯顿大学);Tsinghua University(清华大学);Amazon(亚马逊);Meta FAIR;Numina

Yong Lin, Shange Tang, Bohan Lyu, Jiayun Wu, Hongzhou Lin, Kaiyu Yang, Jia Li, Mengzhou Xia, Danqi Chen, Sanjeev Arora, Chi Jin

AI总结:

本文提出开源模型Goedel-Prover,通过构建大规模形式化陈述与证明数据集并进行监督微调,在自动定理证明上达到最先进性能,显著超越先前模型。

摘要:

我们推出了Goedel-Prover,一个开源语言模型,在数学问题的自动形式化证明生成方面达到了(截至2025年4月5日)最先进的性能。该领域的一个关键挑战是形式化数学陈述和证明的稀缺,我们通过以下方法解决这一问题。首先,我们训练LLM将Numina数据集中的自然语言数学问题转换为Lean 4中的等价形式化陈述。这一过程创建了数据集Goedel-Pset-v1,其中包含164万个形式化陈述。接下来,我们通过训练一系列证明器开发了一个大型形式化证明数据集。每个新的证明器都能证明许多先前证明器无法证明的陈述,这些新证明被添加到下一个证明器的训练集中。最后,我们获得了数据集Goedel-Pset-v1-solved,其中包含Goedel-Pset-v1中超过80万个陈述的证明。在Goedel-Pset-v1-solved上对DeepSeek-Prover-V1.5-Base进行监督微调(SFT)(即无强化学习)得到的Goedel-Prover-SFT,在miniF2F上达到了57.6%(Pass@32)的成功率,比之前的领先者DeepSeek-Prover-V1.5-RL(在专有数据集上使用SFT+RL训练)高出7.6%。在PutnamBench上,Goedel-Prover-SFT成功解决了7个问题(Pass@512),在排行榜上排名第一。我们对训练方法进行了广泛讨论,强调了促成Goedel-Prover强劲性能的关键设计选择。进一步的RL训练(包括DPO)将Goedel-Prover-SFT在miniF2F上的成功率提升至60%以上(Pass@32)。为助力未来研究,我们提供了关于训练方法和设计选择的广泛讨论。我们还完全开源了代码、模型和数据集。此外,我们开源了Lean Workbook中29.7K个问题的形式化证明,几乎是先前证明器解决的15.7K个的两倍。

英文摘要:

We introduce Goedel-Prover, an open-source language model that achieves state-of-the-art (as of April 5 2025) performance in automated formal proof generation for mathematical problems. A key challenge in this field is the scarcity of formalized mathematical statements and proofs, which we address through the following approaches. First, we train LLMs to convert natural language math problems from the Numina dataset to equivalent formal statements in Lean 4. This process creates the dataset Goedel-Pset-v1, which includes 1.64 million formal statements. Next, we develop a large dataset of formal proofs by training a series of provers. Each new prover can prove many statements that previous ones could not, and these new proofs are added to the training set for the next prover. Finally, we obtain the dataset Goedel-Pset-v1-solved, which contains proofs for over 800K statements from Goedel-Pset-v1. Supervised fine-tuning (SFT) of DeepSeek-Prover-V1.5-Base on Goedel-Pset-v1-solved (i.e., no RL) yields a Goedel-Prover-SFT that achieves a success rate of 57.6% (Pass@32) on miniF2F, surpassing the previous leader DeepSeek-Prover-V1.5-RL (trained using SFT + RL on a proprietary dataset) by 7.6%. On PutnamBench, Goedel-Prover-SFT successfully solves 7 problems (Pass@512), ranking first on the leaderboard. We provide extensive discussion of our training methodology, highlighting the key design choices that contribute to Goedel-Prover's strong performance. Further RL training (including DPO) improves Goedel-Prover-SFT's success rate to over 60% (Pass@32) on miniF2F. To aid future research, we provide extensive discussion of our training methodology and design choices. We also fully open-source our codes, models, and datasets. Additionally, we open-source formal proofs for 29.7K problems in Lean Workbook, nearly doubling the 15.7K solved by prior provers.

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

↑