Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA
Minzheng Wang, Longze Chen, Cheng Fu, Shengyi Liao, Xinghua Zhang, Bingli Wu, Haiyang Yu, Nan Xu, Lei Zhang, Run Luo, Yunshui Li, Min Yang, Fei Huang, Yongbin Li
TL;DR
Loong addresses a gap in long-context evaluation by presenting a realistic, multi-document QA benchmark that disperses evidence across 11+ documents in financial, legal, and academic domains. It introduces four evaluation tasks—Spotlight Locating, Comparison, Clustering, and Chain of Reasoning—across varied context lengths to probe cross-document reasoning. Extensive experiments across powerful LLMs show that even state-of-the-art models struggle, with RAG offering limited benefits, and scaling laws indicating that longer context windows require commensurately longer training. The results provide nuanced insights into long-context modeling, highlighting where current models fall short and guiding future improvements for robust multi-document understanding. Loong serves as a practical benchmark for evaluating real-world long-context capabilities and informs design choices for future LLM development and evaluation.
Abstract
Long-context modeling capabilities have garnered widespread attention, leading to the emergence of Large Language Models (LLMs) with ultra-context windows. Meanwhile, benchmarks for evaluating long-context LLMs are gradually catching up. However, existing benchmarks employ irrelevant noise texts to artificially extend the length of test cases, diverging from the real-world scenarios of long-context applications. To bridge this gap, we propose a novel long-context benchmark, Loong, aligning with realistic scenarios through extended multi-document question answering (QA). Unlike typical document QA, in Loong's test cases, each document is relevant to the final answer, ignoring any document will lead to the failure of the answer. Furthermore, Loong introduces four types of tasks with a range of context lengths: Spotlight Locating, Comparison, Clustering, and Chain of Reasoning, to facilitate a more realistic and comprehensive evaluation of long-context understanding. Extensive experiments indicate that existing long-context language models still exhibit considerable potential for enhancement. Retrieval augmented generation (RAG) achieves poor performance, demonstrating that Loong can reliably assess the model's long-context modeling capabilities.
