Ada-LEval:使用长度自适应基准评估长上下文大语言模型
Ada-LEval: Evaluating long-context LLMs with length-adaptable benchmarks
AI总结:
本文提出长度自适应长上下文评估基准Ada-LEval,通过TSort和BestAnswer支持最高128k token的可控长度测试,评估10个模型并揭示现有LLM在超长上下文下的能力局限。
摘要:
近来,大语言模型(LLM)领域对增强LLM处理极长文档的能力表现出日益浓厚的兴趣。随着各种长文本技术和模型架构的出现,对模型长文本能力进行精确、细致的评估变得愈发重要。现有的长文本评估基准(如L-Eval和LongBench)基于开源数据集构建长文本测试集,主要聚焦于问答和摘要任务。这些数据集将长度从2k到32k以上不等的测试样本混杂在一起,导致难以评估模型在不同长度区间内的能力。此外,它们也未覆盖最新LLM声称能够达到的超长设置(100k+ token)。本文提出Ada-LEval,这是一个用于评估LLM长上下文理解能力的长度自适应基准。Ada-LEval包含TSort和BestAnswer两个具有挑战性的子集,可对LLM的长上下文能力进行更可靠的评估。这些基准支持对测试用例长度进行复杂调控,并能轻松生成长达128k token的文本样本。我们使用Ada-LEval评估了4个最先进的闭源API模型和6个开源模型。评估结果揭示了当前LLM的局限性,尤其是在超长上下文设置下。代码可在https://github.com/open-compass/Ada-LEval获取。
英文摘要:
Recently, the large language model (LLM) community has shown increasing interest in enhancing LLMs' capability to handle extremely long documents. As various long-text techniques and model architectures emerge, the precise and detailed evaluation of models' long-text capabilities has become increasingly important. Existing long-text evaluation benchmarks, such as L-Eval and LongBench, construct long-text test sets based on open-source datasets, focusing mainly on QA and summarization tasks. These datasets include test samples of varying lengths (from 2k to 32k+) entangled together, making it challenging to assess model capabilities across different length ranges. Moreover, they do not cover the ultralong settings (100k+ tokens) that the latest LLMs claim to achieve. In this paper, we introduce Ada-LEval, a length-adaptable benchmark for evaluating the long-context understanding of LLMs. Ada-LEval includes two challenging subsets, TSort and BestAnswer, which enable a more reliable evaluation of LLMs' long context capabilities. These benchmarks support intricate manipulation of the length of test cases, and can easily produce text samples up to 128k tokens. We evaluate 4 state-of-the-art closed-source API models and 6 open-source models with Ada-LEval. The evaluation results demonstrate the limitations of current LLMs, especially in ultra-long-context settings. Our code is available at https://github.com/open-compass/Ada-LEval.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。