Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA

Minzheng Wang, Longze Chen, Cheng Fu, Shengyi Liao, Xinghua Zhang +9 more
6/25/2024
cs.CLcs.AI

No official code found. Best implementation: MozerWang/Loong (155 stars, Apache-2.0, last commit 2025-12-22).

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.

View on arXivView PDF

Code Implementations(1)

MozerWang/LoongCommunity100%
Apache-2.0

[EMNLP 2024 (Oral)] Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA

15512Shell, PythonJun 16, 202410 months agoApache-2.0
large-language-modelslong-contextlong-context-modelingmulti-document-ragquestion-answering+2 more

Similar Papers

Cite this paper

@article{wang2024leave,
  title  = {Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA},
  author = {Minzheng Wang and Longze Chen and Cheng Fu and Shengyi Liao and Xinghua Zhang and Bingli Wu and Haiyang Yu and Nan Xu and Lei Zhang and Run Luo and Yunshui Li and Min Yang and Fei Huang and Yongbin Li},
  year   = {2024},
  eprint = {2406.17419},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.17419v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17419.svg)](https://codeofpaper.com/paper/2406.17419)

Discussion