[论文解读] Evaluating and Improving Tool-Augmented Computation-Intensive Math Reasoning
本文介绍 CARP,一种具有中间步骤注释的计算密集型代数数据集,并提出 DELI,一种使用工具接口的两阶段深思熟虑方法,以提升大型语言模型在数学推理中的表现;DELI 在 CARP 及六个其他数据集上优于基线。
Chain-of-thought prompting~(CoT) and tool augmentation have been validated in recent work as effective practices for improving large language models~(LLMs) to perform step-by-step reasoning on complex math-related tasks. However, most existing math reasoning datasets may be not able to fully evaluate and analyze the ability of LLMs in manipulating tools and performing reasoning, as they may only require very few invocations of tools or miss annotations for evaluating intermediate reasoning steps. To address the issue, we construct extbf{CARP}, a new Chinese dataset consisting of 4,886 computation-intensive algebra problems with formulated annotations on intermediate steps. In CARP, we test four LLMs with CoT prompting, and find that they are all prone to make mistakes at the early steps of the solution, leading to wrong answers. Based on this finding, we propose a new approach that can deliberate the reasoning steps with tool interfaces, namely extbf{DELI}. In DELI, we first initialize a step-by-step solution based on retrieved exemplars, then iterate two deliberation procedures that check and refine the intermediate steps of the generated solution, from the perspectives of tool manipulation and natural language reasoning, until obtaining converged solutions or reaching the maximum turn. Experimental results on CARP and six other datasets show that the proposed DELI mostly outperforms competitive baselines, and can further boost the performance of existing CoT methods. Our data and code are available in \url{https://github.com/RUCAIBox/CARP}.
研究动机与目标
- 推动对在需要中间步骤的计算密集型数学推理上对LLM的稳健评估。
- 提供一个带有注释的中间表达式(EFG)的数据集(CARP),以便对错误进行系统分析。
- 开发一个工具辅助的深思框架(DELI),以改进逐步解答。
- 展示 DELI 在 CARP 及六个其他计算密集型数学数据集上的有效性。
提出的方法
- 介绍 CARP,一个包含 4,886 个样本的中文数据集,具有带注释的表达流图(EFG)。
- 基于 SymPy 定义细粒度工具接口(Numerical Computation、Equation Solving、Expression Transformation 和 think),以辅助计算。
- 提出 DELI:通过检索增强的 CoT 初始化,随后进行两阶段深思过程(工具操作和链式思考)并进行迭代细化,直到收敛或达到最大轮次。
- 使用 k 个示例的检索来为初始解设种并通过正式动作调用工具以及随后的自然语言修订步骤来引导迭代细化。
- 在 CARP 及六个额外数据集上(Algebra、Prealgebra、Count. & Prob.、NT、GK-Cloze、SAT-Math)对 DELI 与多种基线进行评估。
- 提供指标 ExpAcc(中间表达式准确度)和 Fail@where(首次/中间/最后错误的位置)。
实验结果
研究问题
- RQ1在注释了中间步骤的情况下,具有 CoT 支持的 LLM 能否解决计算密集型的代数问题?
- RQ2一个专用的工具-深思框架(DELI)如何影响 CARP 及其他数据集的中间步骤与最终答案的准确性?
- RQ3工具与迭代式深思是否能减少常常传播至错误最终解的早期步骤错误?
- RQ4检索增强初始化在多大程度上可以改善数学习题的逐步求解?
主要发现
- 具有标准 CoT 的 LLM 在 CARP 的解题上常常在早期步骤就出错,难以解决超过一半的问题。
- DELI 在 CARP(以及其他数据集)上对基线取得显著的准确性提升,并且可以进一步提升现有的 CoT 方法。
- DELI 的两阶段深思(工具操作与链式思考)提升了中间推理指标(ExpAcc),并减少了不良的最终解。
- 将 DELI 与各种 CoT 提示方法结合时,性能持续提升。
- 与 DELI 的迭代深思能够收敛并提升准确率,而若缺乏有意识的检查的朴素迭代变体可能表现不佳。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。