2025-02-14 · 专家 · 自然语言处理 · 机器学习

Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges

本文提出了一种名为GSM-Ranges的数据集生成工具,用于评估大型语言模型在广泛数值范围内的数学推理能力,并通过区分逻辑错误和算术错误,提供了对推理过程的更精确评估。

更新于 2025-02-17。作者:Safal Shrestha、Minwu Kim、Keith Ross。

中文摘要

在大语言模型(LLMs)中,数学推理通常使用具有有限数值范围的基准进行评估,无法反映真实世界中跨不同规模的解决问题。此外,大多数现有的评估方法仅将模型输出与真实答案进行比较,掩盖了对推理过程的洞察。为了解决这些局限性,我们引入了GSM-Ranges,这是一个从GSM8K派生出的数据集生成器,它系统地扰动数学问题中的数值,以评估模型在不同数值尺度上的鲁棒性。此外,我们提出了一种新的评分方法,该方法区分逻辑错误和非逻辑错误,提供对推理过程精确度之外的更精确评估。我们使用各种模型进行的实验表明,随着数值复杂性的增加,逻辑错误率显著上升——高达14个百分点,这表明在处理非分布数值时的推理存在普遍的弱点。此外,尽管模型在独立算术任务上表现出高精度,但当计算嵌入在文字问题中时,它们的性能显著下降。这些发现对LLMs的数学推理能力进行了全面评估,并为改进语言模型中数值泛化提供了未来的研究方向。

英文摘要

Mathematical reasoning in Large Language Models (LLMs) is often evaluated using benchmarks with limited numerical ranges, failing to reflect real-world problem-solving across diverse scales. Furthermore, most existing evaluation methods only compare model outputs to ground-truth answers, obscuring insights into reasoning processes. To address these limitations, we introduce GSM-Ranges, a dataset generator derived from GSM8K that systematically perturbs numerical values in math problems to assess model robustness across varying numerical scales. Additionally, we propose a novel grading methodology that distinguishes between logical and non-logical errors, offering a more precise evaluation of reasoning processes beyond computational accuracy. Our experiments with various models reveal a significant increase in logical error rates-up to 14 percentage points-as numerical complexity rises, demonstrating a general weakness in reasoning with out-of-distribution numerical values. Moreover, while models demonstrate high accuracy on standalone arithmetic tasks, their performance deteriorates substantially when computations are embedded within word problems. These findings provide a comprehensive evaluation of LLMs' mathematical reasoning capabilities and inform future research directions for improving numerical generalization in language models.

解读

一句话总结

本文提出了一种名为GSM-Ranges的数据集生成工具,用于评估大型语言模型在广泛数值范围内的数学推理能力,并通过区分逻辑错误和算术错误,提供了对推理过程的更精确评估。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt