arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.13502cs.LGcs.AIcs.CL
收藏

MathGAP:针对具有任意复杂证明的问题的分布外评估

MathGAP: Out-of-Distribution Evaluation on Problems with Arbitrarily Complex Proofs

ETH Zürich(苏黎世联邦理工学院);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Idiap Research Institute(伊迪亚普研究所);Purdue University(普渡大学)

Andreas Opedal, Haruki Shirakami, Bernhard Schölkopf, Abulhair Saparov, Mrinmaya Sachan

AI总结:

本文提出 MathGAP 数据生成框架,可按算术证明结构生成问题与思维链轨迹,用于系统评估 LLM 面对任意复杂证明时的分布外泛化,并揭示深度、宽度、非线性结构及句序对性能的影响。

摘要:

大型语言模型(LLM)能够以高准确率求解算术应用题,但对于它们能在多大程度上泛化到更复杂的问题,人们所知甚少。这一点很难研究,因为:(i)许多可用的评估数据已经被能力最强的模型在训练期间见过;(ii)现有基准未能刻画问题证明如何以各种方式呈现任意复杂性。在本文中,我们提出了一个用于评估 LLM 在具有任意复杂算术证明的问题上表现的数据生成框架,名为 MathGAP。MathGAP 会根据关于其算术证明结构的规范生成问题陈述和思维链推理轨迹,从而能够围绕证明树复杂性开展由易到难泛化的系统性研究。利用 MathGAP,我们发现随着证明变得更深、更宽,LLM 的性能显著下降。这种效应在复杂的非线性证明结构中更加明显,即使对能力最强的模型而言,这类结构也颇具挑战性。模型对句子顺序的简单变化也很敏感。然而,它们仍能求解一些复杂问题,这表明推理泛化具有噪声。

英文摘要:

Large language models (LLMs) can solve arithmetic word problems with high accuracy, but little is known about how well they generalize to more complex problems. This is difficult to study, as (i) much of the available evaluation data has already been seen by the most capable models during training, and (ii) existing benchmarks do not capture how problem proofs may be arbitrarily complex in various ways. In this paper, we present a data-generation framework for evaluating LLMs on problems with arbitrarily complex arithmetic proofs, called MathGAP. MathGAP generates problem statements and chain-of-thought reasoning traces according to specifications about their arithmetic proof structure, enabling systematic studies on easy-to-hard generalization with respect to complexity of proof trees. Using MathGAP, we find that LLMs show a significant decrease in performance as proofs get deeper and wider. This effect is more pronounced in complex, nonlinear proof structures, which are challenging even for the most capable models. The models are also sensitive to simple changes in sentence ordering. However, they remain capable of solving some complex problems, suggesting that reasoning generalization is noisy.

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

↑