arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.00732cs.AI
收藏

EvolProver:通过基于对称性和难度演化形式化问题推进自动定理证明

EvolProver: Advancing Automated Theorem Proving by Evolving Formalized Problems via Symmetry and Difficulty

Hong Kong Baptist University(香港 Baptist 大学);Ant Group(蚂蚁集团);School of Data Science, Fudan University(复旦大学数据科学学院)

Yuchen Tian, Ruiyuan Huang, Xuanwu Wang, Jing Ma, Zengfeng Huang, Ziyang Luo, Hongzhan Lin, Da Zheng, Lun Du

AI总结:

针对大语言模型在形式化定理证明中泛化性差的问题,提出从对称性和难度两方面演化数据的增强流水线,训练出的7B参数非推理模型EvolProver在多个基准上取得SOTA成绩。

摘要:

用于形式化定理证明的大语言模型(LLM)已展现出可观前景,但它们通常缺乏泛化能力,甚至对问题陈述的微小变换都十分脆弱。为解决这一局限,我们提出一种新型数据增强流水线,旨在从对称性和难度两个维度提升模型鲁棒性。在对称性维度,我们提出两种互补方法:EvolAST,一种基于抽象语法树(AST)的方法,针对句法对称性生成语义等价的问题变体;EvolDomain,则利用LLM通过跨数学领域翻译定理来处理语义对称性。在难度维度,我们提出EvolDifficulty,它使用精心设计的演化指令引导LLM生成难度范围更广的新定理。随后我们使用演化得到的数据训练EvolProver——一个7B参数的非推理型定理证明器。EvolProver在FormalMATH-Lite上创下新的当前最优(SOTA)水平,pass@32准确率达53.8%,超越了所有同等规模的模型,包括基于推理的模型。它还在MiniF2F-Test(69.8% pass@32)、Ineq-Comp-Seed(52.2% pass@32)和Ineq-Comp-Transformed(34.0% pass@32)上刷新了非推理模型的SOTA纪录。消融研究进一步证实了我们的数据增强流水线在多个基准上的有效性。

英文摘要:

Large Language Models (LLMs) for formal theorem proving have shown significant promise, yet they often lack generalizability and are fragile to even minor transformations of problem statements. To address this limitation, we introduce a novel data augmentation pipeline designed to enhance model robustness from two perspectives: symmetry and difficulty. From the symmetry perspective, we propose two complementary methods: EvolAST, an Abstract Syntax Tree (AST) based approach that targets syntactic symmetry to generate semantically equivalent problem variants, and EvolDomain, which leverages LLMs to address semantic symmetry by translating theorems across mathematical domains. From the difficulty perspective, we propose EvolDifficulty, which uses carefully designed evolutionary instructions to guide LLMs in generating new theorems with a wider range of difficulty. We then use the evolved data to train EvolProver, a 7B-parameter non-reasoning theorem prover. EvolProver establishes a new state-of-the-art (SOTA) on FormalMATH-Lite with a 53.8% pass@32 rate, surpassing all models of comparable size, including reasoning-based models. It also sets new SOTA records for non-reasoning models on MiniF2F-Test (69.8% pass@32), Ineq-Comp-Seed (52.2% pass@32), and Ineq-Comp-Transformed (34.0% pass@32). Ablation studies further confirm our data augmentation pipeline's effectiveness across multiple benchmarks.

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

↑