针对形式化定理证明的语言模型训练需要大量验证器调用,缓慢的检查和超时常导致GPU闲置,且无法为潜在正确的证明提供奖励。我们使用484万个带标签程序在GPU上训练神经评估器,用于预测Lean 4的判定结果和编译器反馈。我们将两种有效性分类器与反馈模型对比,该反馈模型会为证明尝试标注预测的目标状态和错误信息。一种两阶段评估器先通过分类器筛选候选,再用反馈模型对其正预测打分,在从公开证明器收集的68932个程序组成的基准上,预测Lean是否接受候选证明的准确率达87.8%。该组合评估器在单个H100上每秒处理3.5个候选,吞吐量是采用环境复用的64 worker Lean基线的4.2倍。最后,我们将评估器与Lean判定结果结合,得到混合奖励系统,可将GRPO训练步骤缩短约31%。在使用混合奖励进行一次GRPO轮次后,证明器的miniF2F pass@1接近仅用Lean奖励的结果(62.2% vs 62.4%),pass@32为72.4% vs 71.3%。
英文摘要:
Training language models for formal theorem proving requires large numbers of verifier calls. Slow checks and timeouts often leave GPUs waiting and withhold rewards from potentially correct proofs. We train neural evaluators to predict Lean 4 verdicts and compiler feedback on GPUs using 4.84M labelled programs. We compare two validity classifiers with a feedback model that annotates proof attempts with predicted goal states and error messages. A two-stage evaluator that screens candidates with a classifier and scores its positive predictions with the feedback model reaches 87.8% accuracy in predicting whether Lean accepts a candidate proof, evaluated on a 68,932-program benchmark collected from public provers. The combined evaluator processes 3.5 candidates per second on one H100, 4.2x the throughput of our 64-worker Lean baseline with environment reuse. Finally, we combine our evaluator with Lean verdicts to obtain a hybrid reward system that shortens GRPO training steps by approximately 31%. After one GRPO epoch with hybrid rewards, the prover achieves nearly the same miniF2F pass@1 as with Lean-only rewards (62.2% versus 62.4%) and a pass@32 of 72.4% versus 71.3%.
A Machine-Verified Proof of a Quantum-Optimization Conjecture
Center of Mathematical Sciences and Applications, Harvard University(哈佛大学数学科学中心);MIT Center for Theoretical Physics - a Leinweber Institute(麻省理工学院理论物理中心 - 莱因韦伯研究所);Research Laboratory of Electronics, Massachusetts Institute of Technology(麻省理工学院电子研究实验室)
AIProver: Agentic Auto-Formalization of Mathematical Research via Certificate-Driven Evolving Harness
Georgia Institute of Technology(佐治亚理工学院);University of Pennsylvania(宾夕法尼亚大学);Foothill College(山麓学院);Rutgers University(罗格斯大学);Simon Fraser University(西蒙弗雷泽大学);University of Texas at Austin(德克萨斯大学奥斯汀分校)
Prover Agent: An Agent-Based Framework for Formal Mathematical Proofs
The University of Tokyo, Tokyo, Japan(东京大学);National Institute of Informatics, Tokyo, Japan(日本信息处理学会);Research and Development Center for Large Language Models, National Institute of Informatics, Tokyo, Japan(大型语言模型研究开发中心);Kyoto University, Kyoto, Japan(京都大学);Shiga University, Shiga, Japan(滋贺大学);RIKEN Center for Advanced General Intelligence for Science Program, Kobe, Japan(理化学研究所高级一般智能科学项目中心);National Institute of Science Technology Policy (NISTEP), Tokyo, Japan(科学与技术政策国立研究所)
Efficient and Flexible Neural Network Training through Layer-wise Feedback Propagation
Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);Otto-von-Guericke University(奥托·冯·古里克大学);Singapore Institute of Technology(新加坡理工大学);Technische Universität Berlin(柏林工业大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所);Technological University Dublin(都柏林理工大学)