arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.04199cs.CLcs.AI
收藏

LongGenBench:长上下文生成基准

LongGenBench: Long-context Generation Benchmark

The Hong Kong University of Science and Technology(Guangzhou)(香港科技大学(广州))

Xiang Liu, Peijie Dong, Xuming Hu, Xiaowen Chu

AI总结:

本文提出合成长上下文生成基准LongGenBench,通过要求模型输出单一连贯长答案评估生成能力,并发现API与开源模型均存在1.2%至47.1%的性能下降。

摘要:

当前的长上下文基准主要聚焦于基于检索的测试,要求大语言模型(LLM)在大量输入上下文中定位特定信息,例如大海捞针(needle-in-a-haystack,NIAH)基准。长上下文生成是指语言模型生成跨越冗长段落或文档、连贯且在上下文上准确的文本的能力。尽管近期研究表明模型在NIAH和其他基于检索的长上下文基准上表现强劲,但用于评估长上下文生成能力的基准仍然严重缺失。为弥补这一差距并提供全面评估,我们提出了一个合成基准LongGenBench,它支持对自定义生成上下文长度进行灵活配置。LongGenBench通过重新设计问题格式,并要求LLM以单一、连贯的长上下文答案作答,超越了传统基准。在使用LongGenBench进行广泛评估后,我们观察到:(1)通过API访问的模型和开源模型在长上下文生成场景中均出现性能下降,降幅为1.2%至47.1%;(2)不同系列的LLM表现出不同的性能下降趋势,其中Gemini-1.5-Flash模型在通过API访问的模型中下降最少,而Qwen2系列在LongGenBench的开源模型中下降最少。

英文摘要:

Current long-context benchmarks primarily focus on retrieval-based tests, requiring Large Language Models (LLMs) to locate specific information within extensive input contexts, such as the needle-in-a-haystack (NIAH) benchmark. Long-context generation refers to the ability of a language model to generate coherent and contextually accurate text that spans across lengthy passages or documents. While recent studies show strong performance on NIAH and other retrieval-based long-context benchmarks, there is a significant lack of benchmarks for evaluating long-context generation capabilities. To bridge this gap and offer a comprehensive assessment, we introduce a synthetic benchmark, LongGenBench, which allows for flexible configurations of customized generation context lengths. LongGenBench advances beyond traditional benchmarks by redesigning the format of questions and necessitating that LLMs respond with a single, cohesive long-context answer. Upon extensive evaluation using LongGenBench, we observe that: (1) both API accessed and open source models exhibit performance degradation in long-context generation scenarios, ranging from 1.2% to 47.1%; (2) different series of LLMs exhibit varying trends of performance degradation, with the Gemini-1.5-Flash model showing the least degradation among API accessed models, and the Qwen2 series exhibiting the least degradation in LongGenBench among open source models.

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

↑