FMC:自然语言数学竞赛问题的形式化
FMC: Formalization of Natural Language Mathematical Competition Problems
AI总结:
本文提出一种基于大语言模型与错误反馈的无需训练自动形式化流程,构建了包含3,922道自然语言与9,787道Lean问题的奥林匹克级基准数据集,并验证了少样本学习等方法对自动形式化的提升及该数据集在形式推理中的挑战价值。
摘要:
高效准确的自动形式化方法利用大规模自然语言数学问题数据集构建形式语言数据集,是推进形式化数学推理的关键。本文提出一种基于大语言模型(LLM)并带有错误反馈的自动形式化流程,实现了完全自动化且无需训练的形式化方法。利用该流程,我们构建了一个将自然语言问题与 Lean 形式化相对齐的奥林匹克级别数据集。该数据集包含 3,922 道自然语言数学问题和 9,787 道 Lean 形式化问题,其中 64.46% 被评估为至少达到中上质量,使其适合作为自动定理证明器的基准。此外,我们研究了多种 LLM 的形式化和推理能力,并实证表明少样本学习、错误反馈和增加采样次数能增强自动形式化过程。三种自动定理证明器在该数据集上的实验也突显了其挑战性及作为形式推理任务基准的价值。
英文摘要:
Efficient and accurate autoformalization methods, which leverage large-scale datasets of extensive natural language mathematical problems to construct formal language datasets, are key to advancing formal mathematical reasoning. In this paper, we propose an autoformalization pipeline based on large language models with error feedback, achieving a fully automatic and training-free formalization approach. Using this pipeline, we curate an Olympiad-level dataset aligning natural language problems with Lean formalizations. The dataset comprises $3,922$ mathematical problems in natural language and $9,787$ in Lean, of which $64.46\%$ were assessed as at least above-average quality, making it suitable as a benchmark for automated theorem provers. Additionally, we investigate the formalization and reasoning capabilities of various LLMs and empirically demonstrate that few-shot learning, error feedback, and increasing sampling numbers enhance the autoformalization process. Experiments of three automated theorem provers on the \dataset\ dataset also highlight its challenging nature and its value as a benchmark for formal reasoning tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。