Autoformalization, the process of transforming informal mathematical language into formal specifications and proofs remains a difficult task for state-of-the-art (large) language models. Existing works point to competing explanations for the performance gap. To this end, we introduce a novel methodology that leverages back-translation with hand-curated prompts to enhance the mathematical capabilities of language models, particularly addressing the challenge posed by the scarcity of labeled data. Specifically, we evaluate three primary variations of this strategy: (1) on-the-fly (online) backtranslation, (2) distilled (offline) backtranslation with few-shot amplification, and (3) line-by-line proof analysis integrated with proof state information. Each variant is designed to optimize data quality over quantity, focusing on the high fidelity of generated proofs rather than sheer data scale. Our findings provide evidence that employing our proposed approaches to generate synthetic data, which prioritizes quality over volume, improves the Autoformalization performance of LLMs as measured by standard benchmarks such as ProofNet. Crucially, our approach outperforms pretrained models using a minimal number of tokens. We also show, through strategic prompting and backtranslation, that our approaches surpass the performance of fine-tuning with extensive multilingual datasets such as MMA on ProofNet with only 1/150th of the tokens. Taken together, our methods show a promising new approach to significantly reduce the resources required to formalize proofs, thereby accelerating AI for math.
LeanMarathon: Toward Reliable AI Co-Mathematicians through Long-Horizon Lean Autoformalization
Department of Statistics, University of Warwick, UK(英国沃里克大学统计系);Center for Advanced Intelligence Project, RIKEN, Japan(日本理化学研究所高级智能项目);Department of Statistics, University of Michigan, USA(美国密歇根大学统计系);Department of Mathematical Informatics, The University of Tokyo(东京大学数学信息学系;日本理化学研究所高级智能项目);also Center for Advanced Intelligence Project, RIKEN, Japan(加州大学伯克利分校电气工程与计算机科学系;统计系);Department of Electrical Engineering and Computer Sciences, also Department of Statistics, University of California, Berkeley, USA(上海交通大学数学科学学院,自然科学院和MOE-LSC);School of Mathematical Sciences, Institute of Natural Sciences and MOE-LSC, Shanghai Jiao Tong University, China
KELPS: A Framework for Verified Multi-Language Autoformalization via Semantic-Syntactic Alignment
School of Information Science and Technology, University of Science and Technology of China(信息科学与技术学院,中国科学技术大学);USTC Knowledge Computing Lab(中国科学技术大学知识计算实验室)
FMC: Formalization of Natural Language Mathematical Competition Problems
State Key Laboratory for Multimedia Information Processing, School of Computer Science, PKU-Anker LLM Lab, Peking University, Beijing, China(多媒体信息处理国家重点实验室,计算机科学学院,PKU-Anker LLM实验室,北京大学,北京,中国);Paul G. Allen School of Computer Science(保罗·G·阿伦计算机科学学校);Engineering, University of Washington, U.S.A.(工程,华盛顿大学,美国)
Lean-GAP: A Dataset of Formalized Graduate Algebra Problems
University of California, Berkeley(加州大学伯克利分校);Korea Advanced Institute of Science and Technology(韩国科学技术院);Hanyang University(翰阳大学);Hufs University(Hufs大学);Sungkyunkwan University(成均馆大学);University of Wisconsin - Madison(威斯康星大学麦迪逊分校);Sejong University(世宗大学);University of Connecticut(康涅狄格大学)
SHADOWBENCH: Toward Reliable Automatic Evaluation of Semantic Alignment in Autoformalization
Electronics and Telecommunications Research Institute(电子通信研究院);Seoul National University(首尔大学);University of Maryland, College Park(马里兰大学帕克分校);Amazon Web Services(亚马逊网络服务)
FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Models
The Chinese University of Hong Kong(香港中文大学);Numina;Westlake University(西湖大学);M-A-P;University of California, Los Angeles(加州大学洛杉矶分校);Max Planck Institute for Intelligent Systems, Tübingen(蒂宾根马克斯·普朗克智能系统研究所)
The Faithfulness Gap: Certifying Semantic Equivalence Between Natural-Language and Formal Mathematical Statements
Department of Computer Science, Informatics Institute, Istanbul Technical University, İstanbul, Türkiye(信息学院计算机科学系,伊斯坦布尔技术大学,伊斯坦布尔,土耳其);Department of Computer Science(计算机科学系);Engineering, Jashore University of Science(工程系,贾沙尔大学科学学院)
AxQM: A Textbook-Scale Benchmark for Formal Proof Synthesis in a Library of Finite-Dimensional Quantum Mechanics
Axiomatic AI;Institut de Ciències Fotòniques (ICFO)(光子科学研究所);Massachusetts Institute of Technology (MIT)(麻省理工学院);Institució Catalana de Recerca i Estudis Avançats (ICREA)(加泰罗尼亚研究与高级研究所)
A Machine-Verified Proof of a Quantum-Optimization Conjecture
Center of Mathematical Sciences and Applications, Harvard University(哈佛大学数学科学中心);MIT Center for Theoretical Physics - a Leinweber Institute(麻省理工学院理论物理中心 - 莱因韦伯研究所);Research Laboratory of Electronics, Massachusetts Institute of Technology(麻省理工学院电子研究实验室)
Lean Atlas: An Integrated Proof Environment for Scalable Human-AI Collaborative Formalization
Nyx Foundation(Nyx基金会);Kyoto University(京都大学);Large Language Model Research and Development Center, National Institute of Informatics(信息处理国家研究所大型语言模型研究与开发中心)
M2F: Automated Formalization of Mathematical Literature at Scale
School of Mathematical Sciences, Peking University(北京大学数学科学学院);Beijing International Center for Mathematical Research, Peking University(北京大学北京国际数学研究中心);Huawei Technologies(华为技术有限公司);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心)