StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs through Knowledge-Reasoning Fusion

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wu, Yutong, Huang, Di, Wan, Ruosi, Peng, Yue, Shang, Shijie, Cao, Chenrui, Qi, Lei, Zhang, Rui, Du, Zidong, Yan, Jie, Hu, Xing
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911338158096384
author Wu, Yutong
Huang, Di
Wan, Ruosi
Peng, Yue
Shang, Shijie
Cao, Chenrui
Qi, Lei
Zhang, Rui
Du, Zidong
Yan, Jie
Hu, Xing
author_facet Wu, Yutong
Huang, Di
Wan, Ruosi
Peng, Yue
Shang, Shijie
Cao, Chenrui
Qi, Lei
Zhang, Rui
Du, Zidong
Yan, Jie
Hu, Xing
contents Autoformalization aims to translate natural-language mathematical statements into a formal language. While LLMs have accelerated progress in this area, existing methods still suffer from low accuracy. We identify two key abilities for effective autoformalization: comprehensive mastery of formal-language domain knowledge, and reasoning capability of natural language problem understanding and informal-formal alignment. Without the former, a model cannot identify the correct formal objects; without the latter, it struggles to interpret real-world contexts and map them precisely into formal expressions. To address these gaps, we introduce ThinkingF, a data synthesis and training pipeline that improves both abilities. First, we construct two datasets: one by distilling and selecting large-scale examples rich in formal knowledge, and another by generating informal-to-formal reasoning trajectories guided by expert-designed templates. We then apply SFT and RLVR with these datasets to further fuse and refine the two abilities. The resulting 7B and 32B models exhibit both comprehensive formal knowledge and strong informal-to-formal reasoning. Notably, StepFun-Formalizer-32B achieves SOTA BEq@1 scores of 40.5% on FormalMATH-Lite and 26.7% on ProverBench, surpassing all prior general-purpose and specialized models.
format Preprint
id arxiv_https___arxiv_org_abs_2508_04440
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs through Knowledge-Reasoning Fusion
Wu, Yutong
Huang, Di
Wan, Ruosi
Peng, Yue
Shang, Shijie
Cao, Chenrui
Qi, Lei
Zhang, Rui
Du, Zidong
Yan, Jie
Hu, Xing
Computation and Language
Artificial Intelligence
Machine Learning
Autoformalization aims to translate natural-language mathematical statements into a formal language. While LLMs have accelerated progress in this area, existing methods still suffer from low accuracy. We identify two key abilities for effective autoformalization: comprehensive mastery of formal-language domain knowledge, and reasoning capability of natural language problem understanding and informal-formal alignment. Without the former, a model cannot identify the correct formal objects; without the latter, it struggles to interpret real-world contexts and map them precisely into formal expressions. To address these gaps, we introduce ThinkingF, a data synthesis and training pipeline that improves both abilities. First, we construct two datasets: one by distilling and selecting large-scale examples rich in formal knowledge, and another by generating informal-to-formal reasoning trajectories guided by expert-designed templates. We then apply SFT and RLVR with these datasets to further fuse and refine the two abilities. The resulting 7B and 32B models exhibit both comprehensive formal knowledge and strong informal-to-formal reasoning. Notably, StepFun-Formalizer-32B achieves SOTA BEq@1 scores of 40.5% on FormalMATH-Lite and 26.7% on ProverBench, surpassing all prior general-purpose and specialized models.
title StepFun-Formalizer: Unlocking the Autoformalization Potential of LLMs through Knowledge-Reasoning Fusion
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2508.04440