arXiv:2410.11996cs.CL2024-10ICLR被引 14

评测大模型在长文本中综合推理的能力,发现信息密度比上下文长度影响更大。

Holistic Reasoning with Long-Context LMs: A Benchmark for Database Operations on Massive Textual Data

  • 设计新基准HoloBench,用数据库操作模拟跨文档推理任务
  • 信息量比上下文长度更影响模型表现,查询复杂度影响更大
  • 找最大最小值易处理,多信息聚合随长度增加准确率下降

文本信息爆炸式增长,亟需高效方法进行筛选、组织与理解。尽管检索增强生成(RAG)模型擅长从大规模文档中获取信息,但在需要跨多文档进行聚合与推理的复杂任务上表现不佳——这被称为整体性推理。长上下文语言模型(LCLMs)具备处理大规模文档的潜力,但其整体性推理能力尚不明确。本文提出HoloBench,将数据库操作引入文本场景,系统评估LCLMs在长文档中的整体推理能力。通过调整上下文长度、信息密度、信息分布和查询复杂度等关键因素进行测试。实验表明,信息量对模型性能的影响大于实际上下文长度;查询复杂度的影响超过信息量,尤其在不同查询类型间差异明显。有趣的是,寻找最大/最小值的任务对LCLMs更友好,且受上下文长度影响较小,尽管RAG系统对此类任务有困难。然而,涉及多信息聚合的任务在上下文长度增加时准确率显著下降。此外,虽然信息分组通常提升性能,但最优位置因模型而异。研究揭示了长上下文理解在进展与挑战并存。

原文摘要 · Abstract (English)

The rapid increase in textual information means we need more efficient methods to sift through, organize, and understand it all. While retrieval-augmented generation (RAG) models excel in accessing information from large document collections, they struggle with complex tasks that require aggregation and reasoning over information spanning across multiple documents--what we call holistic reasoning. Long-context language models (LCLMs) have great potential for managing large-scale documents, but their holistic reasoning capabilities remain unclear. In this work, we introduce HoloBench, a novel framework that brings database reasoning operations into text-based contexts, making it easier to systematically evaluate how LCLMs handle holistic reasoning across large documents. Our approach adjusts key factors such as context length, information density, distribution of information, and query complexity to evaluate LCLMs comprehensively. Our experiments show that the amount of information in the context has a bigger influence on LCLM performance than the actual context length. Furthermore, the complexity of queries affects performance more than the amount of information, particularly for different types of queries. Interestingly, queries that involve finding maximum or minimum values are easier for LCLMs and are less affected by context length, even though they pose challenges for RAG systems. However, tasks requiring the aggregation of multiple pieces of information show a noticeable drop in accuracy as context length increases. Additionally, we find that while grouping relevant information generally improves performance, the optimal positioning varies across models. Our findings surface both the advancements and the ongoing challenges in achieving a holistic understanding of long contexts.

长文本推理大模型评测数据库操作信息聚合

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。