arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02666cs.LGcs.AIcs.SC
收藏

AlphaIntegrator:面向符号积分证明的Transformer动作搜索

AlphaIntegrator: Transformer Action Search for Symbolic Integration Proofs

ETH Zurich(苏黎世联邦理工学院)

Mert Ünsal, Timon Gehr, Martin Vechev

AI总结:

AlphaIntegrator提出用GPT transformer策略引导符号积分规则搜索,构建逐步积分数据集,在准确率与效率上超越数据生成器,并证明仅微调LLM不足以解决该数学任务。

摘要:

我们提出了首个基于构造正确性的逐步数学积分学习系统。其核心思想是学习一个由GPT transformer模型表示的策略,该策略引导搜索正确的数学积分规则,并由符号求解器执行。具体而言,我们引入了一个符号引擎,其对数学表达式执行公理正确的动作,并构建了首个逐步积分数据集。我们的GPT风格transformer模型在此合成数据上训练,展现出强大的泛化能力,在准确率和效率上超越了其自身的数据生成器,搜索步骤减少了50%。我们使用最先进的大语言模型(SoTA LLMs)进行的实验结果还表明,在问答对上微调大语言模型的标准方法不足以解决这一数学任务。这凸显了探索将大语言模型与符号推理引擎相结合的创新方法的重要性,而我们的工作正是其中的一个实例。

英文摘要:

We present the first correct-by-construction learning-based system for step-by-step mathematical integration. The key idea is to learn a policy, represented by a GPT transformer model, which guides the search for the right mathematical integration rule, to be carried out by a symbolic solver. Concretely, we introduce a symbolic engine with axiomatically correct actions on mathematical expressions, as well as the first dataset for step-by-step integration. Our GPT-style transformer model, trained on this synthetic data, demonstrates strong generalization by surpassing its own data generator in accuracy and efficiency, using 50% fewer search steps. Our experimental results with SoTA LLMs also demonstrate that the standard approach of fine-tuning LLMs on a set of question-answer pairs is insufficient for solving this mathematical task. This motivates the importance of discovering creative methods for combining LLMs with symbolic reasoning engines, of which our work is an instance.

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

↑