arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.02735cs.AIcs.LG
收藏

FormalMATH:面向大语言模型形式化数学推理的基准评测

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(蒂宾根马克斯·普朗克智能系统研究所)

Zhouliang Yu, Ruotian Peng, Keyi Ding, Yizhe Li, Zhongyuan Peng, Minghao Liu, Yifan Zhang, Zheng Yuan, Huajian Xin, Wenhao Huang, Yandong Wen, Ge Zhang, Weiyang Liu

AI总结:

本文提出包含5,560个Lean4形式化验证问题的大规模基准FormalMATH,并设计人在回路自动形式化流水线,评测揭示现有LLM定理证明器成功率仅16.46%且存在领域偏差与对简化策略的过度依赖。

摘要:

形式化数学推理仍然是人工智能面临的一项关键挑战,现有基准在覆盖范围和规模上的局限性阻碍了相关进展。为解决这一问题,我们提出了FormalMATH,这是一个大规模Lean4基准,包含5,560个经过形式化验证的问题,涵盖从高中奥林匹克竞赛题到本科级定理的多种领域(例如代数、应用数学、微积分、数论和离散数学)。为缓解人工形式化的低效问题,我们引入了一种新颖的人在回路自动形式化流水线,该流水线集成了:(1)用于命题自动形式化的专用大语言模型(LLMs),(2)多LLM语义验证,以及(3)利用现成的基于LLM的证明器进行基于否定的证伪过滤策略。该方法在人工验证前保留了72.09%的命题,同时确保了对原始自然语言问题的忠实性,从而降低了专家标注成本。我们对最先进的基于LLM的定理证明器的评估揭示了显著局限:即使是最强的模型在实际采样预算下也仅达到16.46%的成功率,并表现出明显的领域偏差(例如在代数上表现优异但在微积分上失败)以及对简化自动化策略的过度依赖。值得注意的是,我们发现了一个反直觉的负相关关系:在思维链推理场景中,自然语言解答引导与证明成功率之间存在反向关系,这表明在形式化推理环境中,人类书写的非形式化推理引入的是噪声而非清晰性。我们相信,FormalMATH为形式化数学推理的基准评测提供了一个稳健的基准。

英文摘要:

Formal mathematical reasoning remains a critical challenge for artificial intelligence, hindered by limitations of existing benchmarks in scope and scale. To address this, we present FormalMATH, a large-scale Lean4 benchmark comprising 5,560 formally verified problems spanning from high-school Olympiad challenges to undergraduate-level theorems across diverse domains (e.g., algebra, applied mathematics, calculus, number theory, and discrete mathematics). To mitigate the inefficiency of manual formalization, we introduce a novel human-in-the-loop autoformalization pipeline that integrates: (1) specialized large language models (LLMs) for statement autoformalization, (2) multi-LLM semantic verification, and (3) negation-based disproof filtering strategies using off-the-shelf LLM-based provers. This approach reduces expert annotation costs by retaining 72.09% of statements before manual verification while ensuring fidelity to the original natural-language problems. Our evaluation of state-of-the-art LLM-based theorem provers reveals significant limitations: even the strongest models achieve only 16.46% success rate under practical sampling budgets, exhibiting pronounced domain bias (e.g., excelling in algebra but failing in calculus) and over-reliance on simplified automation tactics. Notably, we identify a counterintuitive inverse relationship between natural-language solution guidance and proof success in chain-of-thought reasoning scenarios, suggesting that human-written informal reasoning introduces noise rather than clarity in the formal reasoning settings. We believe that FormalMATH provides a robust benchmark for benchmarking formal mathematical reasoning.

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

↑