arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.05446cs.CL
收藏

XL²Bench:一个用于具有长程依赖关系的极长上下文理解的基准

XL$^2$Bench: A Benchmark for Extremely Long Context Understanding with Long-range Dependencies

Nanjing University of Aeronautics and Astronautics(南京航空航天大学);Institute of Computing Technology, CAS(中国科学院计算技术研究所);Baidu Inc.(百度公司)

Xuanfan Ni, Hengyi Cai, Xiaochi Wei, Shuaiqiang Wang, Dawei Yin, Piji Li

AI总结:

本文提出XL²Bench极长上下文理解基准,覆盖小说、论文、法律三类场景及27个中英子任务,评测显示六大主流LLM显著落后人类,并可缓解数据污染。

摘要:

大语言模型(LLM)已在多种任务上展现出卓越性能,但受到其较小上下文窗口大小的限制。人们已提出多种努力来扩展上下文窗口,以容纳甚至多达200K个输入token。与此同时,构建具有更长文本长度和更高任务要求的高质量基准,以提供全面评估,对于推动LLM的长上下文理解研究具有巨大的现实意义。然而,以往的基准通过扩展传统任务的输入来创建表面上迎合长文本理解的数据集,这未能展现长文本理解的独特特征,包括长依赖任务以及与现代LLM上下文窗口大小相适应的更长文本长度。在本文中,我们介绍了一个用于具有长程依赖关系的极长上下文理解的基准XL²Bench,它包含三个场景:小说阅读、论文阅读和法律阅读,以及四个复杂度递增的任务:记忆检索、细节理解、整体理解和开放式生成,涵盖27个英文和中文子任务。其平均长度为100K+英文单词和200K+中文字符。在XL²Bench上评估六个领先的LLM后,我们发现它们的性能显著落后于人类水平。此外,在原始数据集和增强数据集上观察到的性能下降,突显了我们的方法在缓解数据污染方面的有效性。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable performance across diverse tasks but are constrained by their small context window sizes. Various efforts have been proposed to expand the context window to accommodate even up to 200K input tokens. Meanwhile, building high-quality benchmarks with much longer text lengths and more demanding tasks to provide comprehensive evaluations is of immense practical interest to facilitate long context understanding research of LLMs. However, prior benchmarks create datasets that ostensibly cater to long-text comprehension by expanding the input of traditional tasks, which falls short to exhibit the unique characteristics of long-text understanding, including long dependency tasks and longer text length compatible with modern LLMs' context window size. In this paper, we introduce a benchmark for extremely long context understanding with long-range dependencies, XL$^2$Bench, which includes three scenarios: Fiction Reading, Paper Reading, and Law Reading, and four tasks of increasing complexity: Memory Retrieval, Detailed Understanding, Overall Understanding, and Open-ended Generation, covering 27 subtasks in English and Chinese. It has an average length of 100K+ words (English) and 200K+ characters (Chinese). Evaluating six leading LLMs on XL$^2$Bench, we find that their performance significantly lags behind human levels. Moreover, the observed decline in performance across both the original and enhanced datasets underscores the efficacy of our approach to mitigating data contamination.

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

↑