DeepTheorem: Advancing LLM Reasoning for Theorem Proving Through Natural Language and Reinforcement Learning
提出DeepTheorem,一个利用自然语言增强大型语言模型数学推理能力的非正式定理证明框架。
更新于 2025-05-30。作者:Ziyin Zhang、Jiahao Xu、Zhiwei He、Tian Liang、Qiuzhi Liu、Yansi Li、Linfeng Song、Zhengwen Liang、Zhuosheng Zhang、Rui Wang、Zhaopeng Tu、Haitao Mi、Dong Yu。
中文摘要
定理证明是评估大型语言模型(LLMs)复杂推理能力的主要测试平台。然而,传统的自动定理证明(ATP)方法严重依赖与LLMs从预训练期间获取的非正式、自然语言知识不匹配的正式证明系统。在本研究中,我们提出了DeepTheorem,这是一个利用自然语言增强LLM数学推理的综合非正式定理证明框架。DeepTheorem包含一个大规模基准数据集,包含121K个高质量的IMO级非正式定理和证明,涵盖了广泛的数学领域,并对正确性、难度和主题类别进行了严格标注,同时附带了系统构建的可验证定理变体。我们设计了一种新颖的强化学习策略(RL-Zero),专门针对非正式定理证明,利用已验证的定理变体来激励稳健的数学推理。此外,我们提出了全面的成果和过程评估指标,以检查证明的正确性和推理步骤的质量。广泛的实验分析表明,与现有数据集和监督微调协议相比,DeepTheorem显著提高了LLM的定理证明性能,实现了最先进的准确性和推理质量。我们的发现突出了DeepTheorem在根本性地推进自动非正式定理证明和数学探索方面的潜力。
英文摘要
Theorem proving serves as a major testbed for evaluating complex reasoning abilities in large language models (LLMs). However, traditional automated theorem proving (ATP) approaches rely heavily on formal proof systems that poorly align with LLMs' strength derived from informal, natural language knowledge acquired during pre-training. In this work, we propose DeepTheorem, a comprehensive informal theorem-proving framework exploiting natural language to enhance LLM mathematical reasoning. DeepTheorem includes a large-scale benchmark dataset consisting of 121K high-quality IMO-level informal theorems and proofs spanning diverse mathematical domains, rigorously annotated for correctness, difficulty, and topic categories, accompanied by systematically constructed verifiable theorem variants. We devise a novel reinforcement learning strategy (RL-Zero) explicitly tailored to informal theorem proving, leveraging the verified theorem variants to incentivize robust mathematical inference. Additionally, we propose comprehensive outcome and process evaluation metrics examining proof correctness and the quality of reasoning steps. Extensive experimental analyses demonstrate DeepTheorem significantly improves LLM theorem-proving performance compared to existing datasets and supervised fine-tuning protocols, achieving state-of-the-art accuracy and reasoning quality. Our findings highlight DeepTheorem's potential to fundamentally advance automated informal theorem proving and mathematical exploration.
解读
一句话总结
提出DeepTheorem,一个利用自然语言增强大型语言模型数学推理能力的非正式定理证明框架。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:传统自动定理证明(ATP)方法依赖于与大型语言模型(LLMs)的强项不匹配的正式证明系统。
- 现有方案不足:LLMs在定理证明中的表现受限于缺乏对自然语言和数学文本的深入理解。
- 研究目标:开发一个利用自然语言增强LLMs数学推理能力的非正式定理证明框架。
问题2:论文的核心创新点是什么?
- 技术创新:构建了一个包含121K个IMO级非正式数学定理和证明的大规模基准数据集。
- 方法改进:提出了一种新的强化学习策略(RL-Zero)专门用于非正式定理证明。
- 优势:显著提高了LLMs的定理证明性能,达到最先进的准确性和推理质量。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在多个基准数据集上对LLMs进行训练和评估。
- 性能提升:与使用现有数据集和监督微调协议训练的模型相比,DeepTheorem显著提高了性能。
- 对比结果:DeepTheorem在准确性和推理质量方面均超过了现有非正式定理数据集和训练方法。
问题4:这个研究的实际应用价值是什么?
- 应用场景:自动定理证明、数学探索、教育、研究。
- 实施建议:使用DeepTheorem数据集和RL-Zero方法来训练和评估LLMs在数学推理方面的能力。
- 局限与展望:未来可以进一步研究更复杂的数学问题和推理任务,以及提高模型的泛化能力。
来源
机器可读索引:llms.txt