[论文解读] A Survey on Deep Learning for Theorem Proving
对定理证明的深度学习方法的全面综述,涵盖任务(自动形式化、前提选择、证明步骤生成、证明搜索)、数据集、评估指标,以及在非形式化与形式化证明设置中的未来方向。
Theorem proving is a fundamental aspect of mathematics, spanning from informal reasoning in natural language to rigorous derivations in formal systems. In recent years, the advancement of deep learning, especially the emergence of large language models, has sparked a notable surge of research exploring these techniques to enhance the process of theorem proving. This paper presents a comprehensive survey of deep learning for theorem proving by offering (i) a thorough review of existing approaches across various tasks such as autoformalization, premise selection, proofstep generation, and proof search; (ii) an extensive summary of curated datasets and strategies for synthetic data generation; (iii) a detailed analysis of evaluation metrics and the performance of state-of-the-art methods; and (iv) a critical discussion on the persistent challenges and the promising avenues for future exploration. Our survey aims to serve as a foundational reference for deep learning approaches in theorem proving, inspiring and catalyzing further research endeavors in this rapidly growing field. A curated list of papers is available at https://github.com/zhaoyu-li/DL4TP.
研究动机与目标
- 对深度学习方法在定理证明中的各项任务(如自动形式化、前提选择、证明步骤生成和证明搜索)进行系统性综述。
- 总结在 DL4TP 中使用的可用数据集和数据生成策略。
- 分析评估指标和最先进方法的性能。
- 讨论挑战并提出定理证明领域的深度学习未来研究方向。
提出的方法
- 按任务对深度学习方法进行分类(自动形式化、前提选择、证明步骤生成、证明搜索、其他)。
- 总结来自非形式化/形式化来源的数据集及合成数据生成技术。
- 回顾评估指标(如 R@k、MRR、BLEU)以及在 MiniF2F、LeanDojo、PISA 等数据集上的基准性能。
- 讨论数据生成方法(基于规则的生成器、迭代增强、自动(内)形式化)。
- 突出失败之处、注意事项以及人机交互方面的考量。
实验结果
研究问题
- RQ1当前用于推动定理证明的主要深度学习任务有哪些,现今如何应对?
- RQ2DL4TP 存在哪些数据集与数据生成策略,它们如何影响评估?
- RQ3哪些指标与基准最能反映进展,当前评估的局限性有哪些?
- RQ4阻碍 DL4TP 进展的关键挑战是什么,哪些未来方向最有前景?
主要发现
- DL4TP 自 2016 年约 2 篇论文增长到 2023 年约 50 篇,涵盖自动形式化、前提选择、证明步骤生成和证明搜索。
- 前提选择受益于密集检索(DPR)和基于公式的图表示,提升 LeanDojo、PISA 等基准上的召回率和 MRR。
- 在有结构框架中,使用大型语言模型(如 GPT-4)进行最先进的证明生成与搜索,相较于基于策略的方法取得显著提升,例如 LEGO-Prover 在 MiniF2F-valid 上达到 57.0%,在 MiniF2F-test 上达到 50.0%。
- 使用少量示例的LLM提示进行自动形式化取得适度成功(例如高中问题 25%,本科问题 13%),但对非形式化问题的成功率較高(约 60-76%),凸显一个重大挑战。
- 评估因跨证明助手差异、资源限制及对设定的敏感性而变得复杂;跨域标准化比较仍然具有挑战性。
- 数据稀缺是一个主要瓶颈,像 Archive of Formal Proofs 和 mathlib 这样的正式存档提供了大量数据,但对于非常大的模型仍然不足。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。