arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2205.12910cs.CLcs.AI
收藏

NaturalProver:基于语言模型的数学证明生成

NaturalProver: Grounded Mathematical Proof Generation with Language Models

University of Washington(华盛顿大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)

Sean Welleck, Jiacheng Liu, Ximing Lu, Hannaneh Hajishirzi, Yejin Choi

摘要:

自然数学语言中的定理证明--人类使用的符号语言和自然语言的混合--在数学进步和教育中发挥着核心作用,并测试了智力核心的推理方面。然而,现代生成模型对它的探索仍然不足。我们研究大规模的语言模型上的两个新一代的任务:建议在数学证明的下一步,并充分证明一代。我们开发了NaturalProver,这是一种语言模型,它通过对背景参考(例如,检索到的或人类提供的定理和定义)进行调节来生成证明,并可选地通过约束解码来强制执行它们的存在。在NaturalProofs基准中的定理上,NaturalProver根据大学数学学生的人工评估,提高了下一步建议的质量,并在微调的GPT-3上生成了证明。NaturalProver能够证明一些需要简短(2-6步)证明的定理,并提供超过40%的时间被评为正确和有用的下一步建议,据我们所知,这是使用神经语言模型首次展示这些功能。

英文摘要:

Theorem proving in natural mathematical language - the mixture of symbolic and natural language used by humans - plays a central role in mathematical advances and education, and tests aspects of reasoning that are core to intelligence. Yet it has remained underexplored with modern generative models. We study large-scale language models on two new generation tasks: suggesting the next step in a mathematical proof, and full proof generation. We develop NaturalProver, a language model that generates proofs by conditioning on background references (e.g. theorems and definitions that are either retrieved or human-provided), and optionally enforces their presence with constrained decoding. On theorems from the NaturalProofs benchmark, NaturalProver improves the quality of next-step suggestions and generated proofs over fine-tuned GPT-3, according to human evaluations from university-level mathematics students. NaturalProver is capable of proving some theorems that require short (2-6 step) proofs, and providing next-step suggestions that are rated as correct and useful over 40% of the time, which is to our knowledge the first demonstration of these capabilities using neural language models.

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

↑