arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.12615cs.LGcs.AIcs.LOcs.SE
收藏

基于大语言模型的自动形式化

Autoformalization with Large Language Models

Google Research(谷歌研究院);University of Cambridge(剑桥大学);Stanford University(斯坦福大学)

Yuhuai Wu, Albert Q. Jiang, Wenda Li, Markus N. Rabe, Charles Staats, Mateja Jamnik, Christian Szegedy

摘要:

自动形式化是将自然语言数学自动转换为形式化规范和证明的过程。一个成功的自动形式化系统可以促进形式化验证、程序合成和人工智能等领域的发展。虽然自动形式化的长期目标似乎难以捉摸了很长一段时间,我们表明大语言模型提供了新的前景,实现这一目标。我们作出令人惊讶的观察,LLM可以正确地翻译一个显着的一部分($25.3\%$)的数学竞赛问题完美的正式规格在伊莎贝尔/HOL。我们证明了这个过程的有用性,通过训练这些自动化定理,改进了以前介绍的神经定理证明器。我们的方法在MiniF 2F定理证明基准上产生了一个新的最先进的结果,将证明率从$29.6\%$提高到$35.2\%$。

英文摘要:

Autoformalization is the process of automatically translating from natural language mathematics to formal specifications and proofs. A successful autoformalization system could advance the fields of formal verification, program synthesis, and artificial intelligence. While the long-term goal of autoformalization seemed elusive for a long time, we show large language models provide new prospects towards this goal. We make the surprising observation that LLMs can correctly translate a significant portion ($25.3\%$) of mathematical competition problems perfectly to formal specifications in Isabelle/HOL. We demonstrate the usefulness of this process by improving a previously introduced neural theorem prover via training on these autoformalized theorems. Our methodology results in a new state-of-the-art result on the MiniF2F theorem proving benchmark, improving the proof rate from $29.6\%$ to $35.2\%$.

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

↑