arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.00332cs.CLcs.AIcs.LG
收藏

对大语言模型在小学算术任务上表现的细致考察

A Careful Examination of Large Language Model Performance on Grade School Arithmetic

Scale
Hugh Zhang, Jeff Da, Dean Lee, Vaughn Robinson, Catherine Wu, Will Song, Tiffany Zhao, Pranav Raja, Charlotte Zhuang, Dylan Slack, Qin Lyu, Sean Hendryx, Russel… 展开作者

Hugh Zhang, Jeff Da, Dean Lee, Vaughn Robinson, Catherine Wu, Will Song, Tiffany Zhao, Pranav Raja, Charlotte Zhuang, Dylan Slack, Qin Lyu, Sean Hendryx, Russell Kaplan, Michele Lunati, Summer Yue

AI总结:

针对大语言模型数学推理能力可能因数据集污染被高估的问题,构建与GSM8k可比的GSM1k基准,发现部分模型存在过拟合(准确率降8%),但前沿模型过拟合弱且所有模型均能泛化到新问题。

摘要:

大语言模型(LLMs)在众多数学推理基准测试中取得了令人瞩目的成功。然而,越来越多的担忧指出,部分表现实际上反映了数据集污染——与基准测试问题高度相似的数据泄露到训练数据中,而非真实的推理能力。为严谨验证这一说法,我们构建了小学数学1000题(GSM1k)。GSM1k旨在模仿现有GSM8k基准的风格和复杂度,后者是衡量初等数学推理的黄金标准。我们确保两个基准在人类解决率、解题步骤数、答案数值等重要指标上具有可比性。在GSM1k上评估主流开源和闭源LLMs时,我们观察到准确率下降高达8%,多个模型家族在几乎所有模型规模上都显示出系统性过拟合的证据。进一步分析表明,模型生成GSM8k示例的概率与其在GSM8k和GSM1k之间的性能差距存在正相关(斯皮尔曼相关系数r²=0.36),这暗示部分模型可能部分记忆了GSM8k。不过,许多模型(尤其是前沿模型)的过拟合迹象极小,且所有模型都广泛展现出对训练数据中绝对不存在的新数学问题的泛化能力。

英文摘要:

Large language models (LLMs) have achieved impressive success on many benchmarks for mathematical reasoning. However, there is growing concern that some of this performance actually reflects dataset contamination, where data closely resembling benchmark questions leaks into the training data, instead of true reasoning ability. To investigate this claim rigorously, we commission Grade School Math 1000 (GSM1k). GSM1k is designed to mirror the style and complexity of the established GSM8k benchmark, the gold standard for measuring elementary mathematical reasoning. We ensure that the two benchmarks are comparable across important metrics such as human solve rates, number of steps in solution, answer magnitude, and more. When evaluating leading open- and closed-source LLMs on GSM1k, we observe accuracy drops of up to 8%, with several families of models showing evidence of systematic overfitting across almost all model sizes. Further analysis suggests a positive relationship (Spearman's r^2 = 0.36) between a model's probability of generating an example from GSM8k and its performance gap between GSM8k and GSM1k, suggesting that some models may have partially memorized GSM8k. Nevertheless, many models, especially those on the frontier, show minimal signs of overfitting, and all models broadly demonstrate generalization to novel math problems guaranteed to not be in their training data.

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

↑