arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.09723cs.CLcs.AI
收藏

SagaScale: 一种真实、可扩展且高质量的长上下文基准,基于完整小说构建

SagaScale: A Realistic, Scalable, and High-Quality Long-Context Benchmark Built from Full-Length Novels

Tsinghua University(清华大学);Tencent(腾讯);Peking University(北京大学)

Guancheng Du, Yong Hu, Wenqing Wang, Yaming Yang, Jiaheng Gao

AI总结:

SagaScale基于完整小说构建,提供长上下文基准,通过自动化数据收集管道,评估12个LLMs和三种方法,揭示LLM在长上下文处理中的表现差异及Agentic RAG的改进效果。

摘要:

大型语言模型(LLMs)在长且复杂的文档理解上显示出显著进展,但仍然面临挑战。许多长上下文基准已经提出,但存在几个限制,包括任务真实性、数据可扩展性和数据质量。为此,我们介绍了SagaScale,一种基于完整小说构建的真实、可扩展且高质量的长上下文基准。整个基准是通过自动化数据收集管道构建的,该管道利用外部资源(例如维基百科页面)来收集问题-答案对。关键的是,这些外部资源仅用于基准构建,而不是在评估过程中使用,这使LLMs能够构建复杂的超出其评估时能回答的问题。SagaScale也是双语的,并且提供了迄今为止最长的上下文长度,英语小说的平均token数量超过250,000,中文小说超过320,000。我们在12个前沿LLMs和三种长上下文方法——Naïve RAG、Agentic RAG和Long Context——上的评估得出了关键见解,包括:(1)直接向LLM提供完整上下文可以比其他方法表现更优;(2)大多数LLMs在长上下文中仍然挣扎,但Gemini-2.5-Pro是一个例外;(3)Agentic RAG有效解决了Naïve RAG中的检索瓶颈。最后,我们公开发布了SagaScale基准和我们的数据收集代码库,以促进未来研究。

英文摘要:

Large Language Models (LLMs) have shown significant progress, but understanding long and complex documents remains challenging. Many long-context benchmarks have been proposed, but they face several limitations, including task realism, data scalability, and data quality. To this end, we introduce SagaScale, a realistic, scalable, and high-quality long-context benchmark built from full-length novels. The entire benchmark is constructed using an automated data collection pipeline that utilizes external resources (e.g., Wikipedia pages) to curate question-answer pairs. Critically, these external resources are provided only for benchmark construction and not during evaluation, which allows LLMs to curate complex questions that go beyond what they can answer during evaluation. SagaScale is also bilingual and offers the largest context length to date, with average token counts exceeding 250K for English novels and 320K for Chinese novels. Our evaluation across 12 frontier LLMs and three long-context methods -- Naïve RAG, Agentic RAG, and Long Context -- yields key insights, including: (1) Directly supplying the full context to the LLM can outperform other methods by a large margin; (2) Most LLMs still struggle with lengthy contexts, but Gemini-2.5-Pro stands out as an exception; and (3) Agentic RAG effectively addresses the retrieval bottleneck in Naïve RAG. Finally, we publicly release the SagaScale benchmark and our data collection codebase to facilitate future research.

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

↑