Skip to main content
QUICK REVIEW

[论文解读] Achieving >97% on GSM8K: Deeply Understanding the Problems Makes LLMs Better Solvers for Math Word Problems

Qihuang Zhong, Kang Wang|arXiv (Cornell University)|Apr 23, 2024
Library Science and Information SystemsComputer Science被引用 3
一句话总结

本文提出深度理解问题(DUP),一种通过将问题理解过程划分为三个阶段来增强大语言模型(LLM)推理能力的提示工程方法:揭示核心问题、提取关键解题信息、生成有逻辑的回应。DUP在零样本设置下的GSM8K基准上实现了97.1%的新SOTA准确率,显著降低了理解错误、计算错误和过程错误。

ABSTRACT

Chain-of-Thought (CoT) prompting has enhanced the performance of Large Language Models (LLMs) across various reasoning tasks. However, CoT still falls short in dealing with complex math word problems, as it usually suffers from three pitfalls: semantic misunderstanding errors, calculation errors, and step-missing errors. Prior studies involve addressing the calculation errors and step-missing errors, but neglect the semantic misunderstanding errors, which is the major factor limiting the reasoning performance of LLMs. To this end, we propose a simple-yet-effective method, namely Deeply Understanding the Problems (DUP), to improve the LLMs' math problem-solving ability by addressing semantic misunderstanding errors. The core of our method is to encourage the LLMs to deeply understand the problems and extract the key problem-solving information used for better reasoning. Extensive experiments on 10 diverse reasoning benchmarks show that our DUP method consistently outperforms the other counterparts by a large margin. More encouragingly, DUP achieves a new SOTA result on the GSM8K benchmark, with an accuracy of 97.1% under the zero-shot setting.

研究动机与目标

  • 识别大语言模型在复杂任务(如数学应用题)中推理失败的根本原因。
  • 解决少样本和零样本提示策略中长期存在的理解错误问题。
  • 通过增强对问题结构和关键信息的深层理解,提升大语言模型的推理性能。
  • 开发一种简单、高效且可泛化的提示框架,使其在多种推理基准上优于现有方法。

提出的方法

  • 该方法包含三个阶段:(1) 从输入问题中提取核心问题,(2) 识别并隔离关键解题信息,(3) 结合核心问题与关键信息,生成详细的推理过程。
  • 最终答案通过大语言模型从详细回应中分离,确保输出准确。
  • 该方法设计为即插即用的提示策略,兼容多种大语言模型和提示范式。
  • 其利用大语言模型在推理前进行结构化理解的能力,减少语义误解。
  • 该方法在零样本设置下进行评估,并与少样本思维链(SC)提示方法进行对比测试。
  • 该方法在10个不同的推理基准上进行了应用,包括GSM8K、SVAMP、AQuA和AddSub,以验证其泛化能力。

实验结果

研究问题

  • RQ1限制大语言模型在复杂推理任务中表现的主要错误类型是什么?其中哪一类是最关键需要解决的?
  • RQ2通过结构化理解来提升问题理解能力,是否能显著减少大语言模型的推理错误?
  • RQ3一种强调深度问题理解的零样本提示方法,是否能优于现有的少样本和零样本提示策略?
  • RQ4提取的解题信息质量与最终推理准确率之间的相关性有多大?
  • RQ5所提出的方法是否能在不同大语言模型架构(包括开源模型)上实现良好泛化?

主要发现

  • DUP在零样本设置下的GSM8K基准上实现了97.1%的新SOTA准确率,超越了先前所有方法。
  • 在SVAMP上,DUP将准确率从基线的90.4%提升至94.2%,同样达到新SOTA。
  • 错误分析显示,与零样本思维链(CoT)相比,DUP将理解错误(现有方法的主要失败模式)减少了30%以上。
  • 在全部10个推理基准上,该方法均显著优于零样本CoT、Zero-Shot PS+和Least-to-Most提示方法。
  • 即使在使用开源大模型(如Llama-2-70b和CodeLlama-34b)时,DUP仍保持显著优于基线零样本CoT的性能优势。
  • 消融实验表明,更准确地提取核心问题和关键信息可带来更高的推理准确率,验证了该方法核心设计原则的有效性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。