GSM-Infinite:您的大语言模型在无限增长的上下文长度和推理复杂度下表现如何?
GSM-Infinite: How Do Your LLMs Behave over Infinitely Increasing Context Length and Reasoning Complexity?
AI总结:
针对现有基准缺乏定量评估LLMs处理长复杂上下文推理能力的问题,本文开发可生成无限难度算术题的GSM-Infinite基准,评估发现LLMs推理性能随复杂度呈S型下降、计算量指数增长仅获线性性能提升,为研究其推理局限提供测试平台。
摘要:
长上下文大语言模型(LLMs)最近在信息检索和长文档问答任务中展现出强劲性能。然而,要解决最具挑战性的智力问题,LLMs必须在长且复杂的上下文(如前沿数学研究)中有效推理。研究LLMs如何处理不断增加的推理复杂度和上下文长度至关重要,但现有基准缺乏定量评估的坚实基础。受GSM-8K问题抽象为计算图的启发,以及通过添加不必要节点和边引入噪声的能力,我们开发了一个小学数学问题生成器,能够生成具有无限难度和上下文长度的算术问题,并可进行细粒度控制。利用新合成的GSM-Infinite基准,我们对现有LLMs进行了全面评估。研究发现,随着复杂度增加,推理性能呈一致的S型下降趋势,同时存在系统的推理缩放趋势:推理计算量呈指数级增长仅带来线性的性能提升。这些发现凸显了当前长上下文LLMs的根本局限性以及扩展推理能力面临的关键挑战。我们的GSM-Infinite基准为系统研究和提升LLMs在长且复杂上下文中的推理能力提供了一个可扩展且可控的测试平台。
英文摘要:
Long-context large language models (LLMs) have recently shown strong performance in information retrieval and long-document QA. However, to tackle the most challenging intellectual problems, LLMs must reason effectively in long and complex contexts (e.g., frontier mathematical research). Studying how LLMs handle increasing reasoning complexity and context length is essential, yet existing benchmarks lack a solid basis for quantitative evaluation. Inspired by the abstraction of GSM-8K problems as computational graphs, and the ability to introduce noise by adding unnecessary nodes and edges, we develop a grade school math problem generator capable of producing arithmetic problems with infinite difficulty and context length under fine-grained control. Using our newly synthesized GSM-Infinite benchmark, we comprehensively evaluate existing LLMs. We find a consistent sigmoid decline in reasoning performance as complexity increases, along with a systematic inference scaling trend: exponentially increasing inference computation yields only linear performance gains. These findings underscore the fundamental limitations of current long-context LLMs and the key challenges in scaling reasoning capabilities. Our GSM-Infinite benchmark provides a scalable and controllable testbed for systematically studying and advancing LLM reasoning in long and complex contexts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。