饱和驱动的大语言模型数学推理数据集生成:基于TPTP生态系统
Saturation-Driven Dataset Generation for LLM Mathematical Reasoning in the TPTP Ecosystem
AI总结:
针对LLM数学推理数据稀缺问题,利用E-prover在TPTP公理库上的饱和能力生成大规模有效定理数据,并转化为三个难度可控任务,实验揭示前沿模型在深层结构推理上的弱点,提供诊断与训练数据。
摘要:
高质量、逻辑严谨的数据的稀缺是推进大语言模型(LLMs)数学推理能力的关键瓶颈。我们的工作通过将数十年的自动定理证明研究转化为一个可扩展的数据引擎来应对这一挑战。我们的框架不依赖易出错的LLMs或诸如Lean和Isabelle等复杂的证明助手语法,而是利用E-prover在庞大的TPTP公理库上的饱和能力,推导出大规模、保证有效的定理语料库。我们的流程原则性强且简单:饱和公理,筛选“有趣”的定理,并生成任务。由于流程中不涉及LLMs,我们从构造上消除了事实性错误。这种纯符号数据随后被转化为三个难度可控的挑战:蕴含验证、前提选择和证明重构。我们在前沿模型上的零样本实验揭示了一个明显的弱点:在需要深层结构推理的任务上,性能会崩溃。我们的框架既提供了衡量这一差距的诊断工具,也提供了解决该问题的可扩展符号训练数据来源。我们公开了代码和数据。
英文摘要:
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
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。