2025-09-09 · 专家 · 数据科学 · 机器学习

Saturation-Driven Dataset Generation for LLM Mathematical Reasoning in the TPTP Ecosystem

本文提出了一种利用自动化定理证明技术生成大规模、高质量数学推理数据集的方法,旨在解决大型语言模型在数学推理方面存在的训练数据稀缺问题。

更新于 2025-09-09。作者:Valentin Quesnel、Damien Sileo。

中文摘要

高质量、逻辑严谨的数据稀缺是推进大型语言模型(LLMs)数学推理的关键瓶颈。我们的工作通过将数十年的自动定理证明研究转化为可扩展的数据引擎来应对这一挑战。我们的框架不依赖于容易出错的LLMs或像Lean和Isabelle这样的复杂证明辅助器语法,而是利用E-prover在庞大的TPTP公理库上的饱和能力,推导出大量保证有效的定理语料库。我们的流程是原则性的且简单:饱和公理,筛选“有趣”的定理,并生成任务。由于没有LLMs参与,我们通过构造消除了事实错误。这种纯粹符号化的数据随后被转化为三个难度可控的挑战:蕴涵验证、前提选择和证明重构。我们在前沿模型上的零样本实验揭示了明显弱点:在需要深度、结构化推理的任务上性能崩溃。我们的框架提供了诊断工具来衡量这一差距,并提供了可扩展的符号训练数据来源来解决这个问题。我们将代码和数据公开提供。https://github.com/sileod/reasoning_core https://hf.co/datasets/reasoning-core/rc1

英文摘要

The scarcity of high-quality, logically sound data is a critical bottleneck for advancing the mathematical reasoning of Large Language Models (LLMs). Our work confronts this challenge by turning decades of automated theorem proving research into a scalable data engine. Rather than relying on error-prone LLMs or complex proof-assistant syntax like Lean and Isabelle, our framework leverages E-prover's saturation capabilities on the vast TPTP axiom library to derive a massive, guaranteed-valid corpus of theorems. Our pipeline is principled and simple: saturate axioms, filter for "interesting" theorems, and generate tasks. With no LLMs in the loop, we eliminate factual errors by construction. This purely symbolic data is then transformed into three difficulty-controlled challenges: entailment verification, premise selection, and proof reconstruction. Our zero-shot experiments on frontier models reveal a clear weakness: performance collapses on tasks requiring deep, structural reasoning. Our framework provides both the diagnostic tool to measure this gap and a scalable source of symbolic training data to address it. We make the code and data publicly available. https://github.com/sileod/reasoning_core https://hf.co/datasets/reasoning-core/rc1

解读

一句话总结

本文提出了一种利用自动化定理证明技术生成大规模、高质量数学推理数据集的方法,旨在解决大型语言模型在数学推理方面存在的训练数据稀缺问题。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt