[论文解读] GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models
本文推出 GSM-Symbolic,一种可控基准,用于评估大型语言模型的数学推理能力,并显示出显著的变异性、脆弱性以及缺乏真正的形式推理,当加入无关信息时甚至会出现剧烈下降(GSM-NoOp)。
Recent advancements in Large Language Models (LLMs) have sparked interest in their formal reasoning capabilities, particularly in mathematics. The GSM8K benchmark is widely used to assess the mathematical reasoning of models on grade-school-level questions. While the performance of LLMs on GSM8K has significantly improved in recent years, it remains unclear whether their mathematical reasoning capabilities have genuinely advanced, raising questions about the reliability of the reported metrics. To address these concerns, we conduct a large-scale study on several SOTA open and closed models. To overcome the limitations of existing evaluations, we introduce GSM-Symbolic, an improved benchmark created from symbolic templates that allow for the generation of a diverse set of questions. GSM-Symbolic enables more controllable evaluations, providing key insights and more reliable metrics for measuring the reasoning capabilities of models.Our findings reveal that LLMs exhibit noticeable variance when responding to different instantiations of the same question. Specifically, the performance of all models declines when only the numerical values in the question are altered in the GSM-Symbolic benchmark. Furthermore, we investigate the fragility of mathematical reasoning in these models and show that their performance significantly deteriorates as the number of clauses in a question increases. We hypothesize that this decline is because current LLMs cannot perform genuine logical reasoning; they replicate reasoning steps from their training data. Adding a single clause that seems relevant to the question causes significant performance drops (up to 65%) across all state-of-the-art models, even though the clause doesn't contribute to the reasoning chain needed for the final answer. Overall, our work offers a more nuanced understanding of LLMs' capabilities and limitations in mathematical reasoning.
研究动机与目标
- 引入 GSM-Symbolic,一种增强的基准,使用符号模板生成 GSM8K 问题的多样化变体。
- 通过分析多次实例化的性能方差来评估 GSM8K 结果的可靠性。
- 调查影响推理的因素,包括数值的变化、名称的变化以及问题复杂度的变化。
- 通过受控扰动和 GSM-NoOp 数据集演示大语言模型数学推理的局限性。
提出的方法
- 从 GSM8K 创建可解析的符号模板,以生成每个模板的 50 个数据集变体(100 个模板 × 50 个样本 = 每个基准 5000 个示例)。
- 使用 8-shot 链式思考提示并采用贪婪解码来评估广泛的开放与封闭模型(2B–27B 以及 GPT-4o 家族)。
- 应用自动化检查以确保模板正确性和答案一致性;对样本进行人工质量评审;评估后验证跨模型的一致性。
- 检查不同变体的性能分布,以评估可靠性和数据污染风险。
- 通过添加看似相关但无关的信息引入 GSM-NoOp,以评估真正的理解和对模式匹配的依赖。
实验结果
研究问题
- RQ1GSM8K 的表现是否反映了真正的数学推理还是模式匹配?
- RQ2当仅数值或名称改变时,同一问题的不同实例化下模型的表现如何变化?
- RQ3问题复杂度(更多子句)的增加如何影响准确性和方差?
- RQ4辅助的、无关的信息(GSM-NoOp)是否会导致显著的性能下降,表明推理脆弱?
主要发现
- LLMs 在同一问题的不同实例化之间表现出明显的方差。
- GSM-Symbolic 上的模型性能普遍低于 GSM8K,表明可能的数据污染或分布偏移。
- 改变数值比仅改变名称更会导致更大的性能下降和方差增加。
- 增加子句数量(难度)会在模型之间持续降低平均性能并增加方差。
- 添加无关但看似相关的信息(GSM-NoOp)导致显著的性能下降(高达 65%),表明依赖模式匹配而非真正的数学理解。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。