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

arXiv:2406.17419 · 2026-07-27 공개 · arXiv · PDF

llm-evaluation long-context retrieval-augmented multi-doc-qa chain-of-reasoning spotlight-locating comparison-task clustering-task

Abstract

Long-context modeling capabilities of Large Language Models (LLMs) have garnered widespread attention, leading to the emergence of LLMs with ultra-context windows. Meanwhile, benchmarks for evaluating long-context language models 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.

한국어 요약

한 줄 요약

Loong은 현실적 다문서 상황에서 대규모 언어 모델의 장문맥 이해 능력을 평가하기 위한 새로운 벤치마크이다.

핵심 기여도

핵심 아이디어

Loong은 기존의 장문맥 평가 벤치마크가 단일 문서나 불필요한 노이즈를 사용하는 한계를 극복하기 위해 설계되었다. 기존 테스트에서는 단일 문서에 집중하거나, 불필요한 텍스트를 추가하여 테스트 길이를 인위적으로 늘리는 방식이 사용되었으나, 이는 실제 다문서 장문맥 시나리오와 동떨어진다. Loong은 각 문서가 최종 답변에 필수적이라는 점에서 차별화되며, 이는 모델이 모든 문서를 고려하지 않으면 정답을 내지 못하도록 설계되었다. 이는 모델이 단순히 키워드 검색이나 특정 문서에 의존하는 단축 경로(shortcut)를 피하도록 유도한다. 또한, Spotlight Locating, Comparison, Clustering, Chain of Reasoning 4가지 태스크는 현실적인 의미 구조와 추론 과정을 반영하여, 장문맥 이해의 전반적인 능력을 평가한다.

기술적 접근법

주요 결과

의의 및 한계

Loong은 장문맥 언어 모델의 평가 기준을 현실적인 다문서 상황으로 확장함으로써, 모델의 실제 활용 가능성과 이해 능력을 보다 정확히 평가할 수 있다. 특히, RAG 방식의 한계를 드러내며, 장문맥 모델링의 새로운 연구 방향을 제시한다. 그러나, Loong은 현재 영어와 중국어 문서에만 초점을 맞추고 있으며, 다른 언어나 더 다양한 도메인으로의 확장이 필요하다. 또한, 모델의 성능 저하 원인을 정확히 규명하기 위한 추가 분석이 요구된다.

실용적 활용

Loong은 금융, 법률, 학술 분야에서 다문서 분석이 필요한 실제 시스템 개발에 활용될 수 있다. 예를 들어, 금융 보고서 분석이나 법적 문서 검토 시스템에서 모델의 장문맥 이해 능력을 정확히 평가하여, 신뢰성 있는 AI 도구를 개발하는 데 기여할 수 있다.