Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Autoformalizer with Tool Feedback

About

Autoformalization addresses the scarcity of data for Automated Theorem Proving (ATP) by translating mathematical problems from natural language into formal statements. Efforts in recent work shift from directly prompting large language models to training an end-to-end formalizer model from scratch, achieving remarkable advancements. However, existing formalizer still struggles to consistently generate valid statements that meet syntactic validity and semantic consistency. To address this issue, we propose the Autoformalizer with Tool Feedback (ATF), a novel approach that incorporates syntactic and consistency information as tools into the formalization process. By integrating Lean 4 compilers for syntax corrections and employing a multi-LLMs-as-judge approach for consistency validation, the model is able to adaptively refine generated statements according to the tool feedback, enhancing both syntactic validity and semantic consistency. The training of ATF involves a cold-start phase on synthetic tool-calling data, an expert iteration phase to improve formalization capabilities, and Direct Preference Optimization to alleviate ineffective revisions. Experimental results show that ATF markedly outperforms a range of baseline formalizer models, with its superior performance further validated by human evaluations. Subsequent analysis reveals that ATF demonstrates excellent inference scaling properties. Moreover, we open-source Numina-ATF, a dataset containing 750K synthetic formal statements to facilitate advancements in autoformalization and ATP research.

Qi Guo, Jianing Wang, Jianfei Zhang, Deyang Kong, Xiangzhou Huang, Xiangyu Xi, Wei Wang, Jingang Wang, Xunliang Cai, Shikun Zhang, Wei Ye• 2025

Related benchmarks

TaskDatasetResultRank
Auto-formalizationCombibench
Pass@870
13
Auto-formalizationMiniF2F (test)
Pass@898
13
Auto-formalizationFormalMath-Lite
Pass@895.5
13
Auto-formalizationMathOlympiad-Bench
Pass@883.6
13
Auto-formalizationProver-Bench
Pass@889.6
13
Auto-formalizationPutnam-Bench
Pass@877.5
13
Auto-formalizationProofNet (test)
Pass@853.8
13
Showing 7 of 7 rows

Other info

Follow for update