Autoformalization with Large Language Models

By Yuhuai Wu, Albert Qiaochu Jiang, Wenda Li, Markus Norman Rabe, Charles Staats, Mateja Jamnik, Christian Szegedy. 2022

324 citations recorded by the source corpus.

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\%$.

Subfields: Artificial Intelligence, Computational Theory and Mathematics, Information Systems, Natural Language Processing, Program Analysis & Verification

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Graham Neubig
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Jianfeng Gao
  5. Percy Liang
  6. Yoshua Bengio
  7. Yejin Choi
  8. Kyunghyun Cho

In Computational Theory and Mathematics

  1. Behnam Neyshabur
  2. Grégoire Mialon
  3. Ramakanth Pasunuru
  4. Pengfei Liu
  5. Edward W. Ayers
  6. Jeremy Avigad
  7. Yann LeCun
  8. Graham Neubig

In Information Systems

  1. Luyu Gao
  2. Graham Neubig
  3. Jamie Callan
  4. Pengfei Liu
  5. Shuyan Zhou
  6. Uri Alon
  7. Yiming Yang
  8. Aman Madaan

In Natural Language Processing

  1. Graham Neubig
  2. Mohit Bansal
  3. Pengfei Liu
  4. Luke S. Zettlemoyer
  5. Hinrich Schütze
  6. Yejin Choi
  7. Jianfeng Gao
  8. Timo Schick

In Program Analysis & Verification

  1. Sean Welleck
  2. Markus Norman Rabe
  3. Stella Biderman
  4. Edward W. Ayers
  5. Graham Neubig
  6. Albert Qiaochu Jiang
  7. Zhangir Azerbayev
  8. Hailey Schoelkopf

Citations in the corpus