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

TheoremForge: 以低成本代理工作流扩展正式数据合成

TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学全球化人工智能学院);Beijing Key Laboratory of Research on Large Models(北京大模型研究关键实验室);Engineering Research Center of Next-Generation Intelligent Search(下一代智能搜索与推荐工程研究中心)

Yicheng Tao, Hongteng Xu

AI总结:

TheoremForge通过低成本代理工作流提升形式化数据合成效率,实现12.6%的验证率和1.6倍的数据产量提升。

摘要:

在形式数学中代理工作流的高成本阻碍了大规模数据合成,加剧了开源语料库的稀缺性。为了解决这个问题,我们引入了TheoremForge,一种成本效益高的正式数据合成管道,将形式化过程分解为五个子任务:陈述形式化、证明生成、前提选择、证明修正和证明草图。通过实现一种解耦提取策略,该工作流从全球失败轨迹中恢复有效的训练信号,有效地利用了浪费的计算。在2000个问题基准测试中,TheoremForge实现了12.6%的验证率,超过了8.6%的基线,在使用Gemini-3-Flash时仅需每条成功轨迹0.481美元的平均成本。关键的是,我们的策略相比标准过滤,将证明生成的数据产量提高了1.6倍。这些结果确立了TheoremForge作为构建数据飞轮以训练未来专家模型的可扩展框架。我们的代码可在https://github.com/timechess/TheoremForge处获得。

英文摘要:

The high cost of agentic workflows in formal mathematics hinders large-scale data synthesis, exacerbating the scarcity of open-source corpora. To address this, we introduce \textbf{TheoremForge}, a cost-effective formal data synthesis pipeline that decomposes the formalization process into five sub-tasks, which are \textit{statement formalization}, \textit{proof generation}, \textit{premise selection}, \textit{proof correction} and \textit{proof sketching}. By implementing a \textit{Decoupled Extraction Strategy}, the workflow recovers valid training signals from globally failed trajectories, effectively utilizing wasted computation. Experiments on a 2,000-problem benchmark demonstrate that TheoremForge achieves a Verified Rate of 12.6\%, surpassing the 8.6\% baseline, at an average cost of only \textbf{\$0.481} per successful trajectory using Gemini-3-Flash. Crucially, our strategy increases data yield by \textbf{1.6$\times$} for proof generation compared to standard filtering. These results establish TheoremForge as a scalable framework for constructing a data flywheel to train future expert models. Our code is available \href{https://github.com/timechess/TheoremForge}{here}.

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

↑