arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.11996cs.CL
收藏

长上下文语言模型的整体推理:面向海量文本数据上数据库操作的基准

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

Megagon Labs(美嘉刚实验室)

Seiji Maekawa, Hayate Iso, Nikita Bhutani

AI总结:

本文提出HoloBench基准,将数据库推理操作引入文本上下文,系统评估长上下文语言模型的整体推理能力,发现信息量、查询复杂度及信息分布等因素对性能的影响规律。

摘要:

文本信息的快速增长意味着我们需要更高效的方法来筛选、组织和理解这些信息。尽管检索增强生成(RAG)模型在从大型文档集合中获取信息方面表现出色,但它们在需要跨多个文档进行聚合和推理的复杂任务上存在困难——我们称之为整体推理。长上下文语言模型(LCLMs)在管理大规模文档方面具有巨大潜力,但其整体推理能力仍不明确。在这项工作中,我们引入了HoloBench,这是一个将数据库推理操作引入基于文本的上下文中的新型框架,从而更容易系统地评估LCLMs如何在大型文档中进行整体推理。我们的方法调整了关键因素,如上下文长度、信息密度、信息分布和查询复杂度,以全面评估LCLMs。我们的实验表明,上下文中的信息量对LCLM性能的影响大于实际上下文长度。此外,查询的复杂度对性能的影响大于信息量,尤其是对于不同类型的查询。有趣的是,涉及查找最大值或最小值的查询对LCLMs来说更容易,并且受上下文长度的影响较小,尽管它们对RAG系统构成挑战。然而,需要聚合多条信息的任务随着上下文长度的增加,准确率出现明显下降。此外,我们发现,虽然将相关信息分组通常会提高性能,但最优位置因模型而异。我们的发现揭示了在实现对长上下文的整体理解方面所取得的进展和仍然存在的挑战。

英文摘要:

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.

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

↑