arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.11088cs.CL
收藏

L-Eval:为长上下文语言模型建立标准化评估

L-Eval: Instituting Standardized Evaluation for Long Context Language Models

Fudan University(复旦大学);The University of Hong Kong(香港大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Shanghai AI Lab(上海人工智能实验室)

Chenxin An, Shansan Gong, Ming Zhong, Xingjian Zhao, Mukai Li, Jun Zhang, Lingpeng Kong, Xipeng Qiu

AI总结:

针对长上下文语言模型评估缺乏标准的问题,提出包含20个子任务、508份长文档的L-Eval评估套件,验证n-gram指标与人类判断相关性差,倡导LIE评估与LLM评审,并完成16款模型的全面评测。

摘要:

近年来,人们对扩展大语言模型(LLM)的上下文长度越来越感兴趣,旨在有效处理单轮长输入或具有更广泛历史的对话。尽管GPT-4、Claude等专有模型在扩展上下文中基本能保留推理能力,但开源模型仍处于发展的早期阶段。为弥补这一差距,我们提出L-Eval,为长上下文语言模型(LCLM)建立更标准化的评估,涵盖数据集构建和评估指标两个核心方面。一方面,我们构建了一个新的评估套件,包含20个子任务、508份长文档以及2000多个人工标注的查询-响应对,涵盖多样的问题风格、领域以及3k~200k tokens的输入长度。另一方面,我们研究了LCLM评估指标的有效性。结果表明,常用的n-gram匹配指标通常与人类判断的相关性不佳,因此我们强烈支持使用长度指令增强(LIE)评估并采用LLM评审器。我们使用L-Eval基准对4款主流商用LLM和12款开源同类模型进行了全面研究。我们的实证发现为LCLM研究提供了有用见解,并为这些模型更规范的评估发展奠定了基础。

英文摘要:

Recently, there has been growing interest in extending the context length of large language models (LLMs), aiming to effectively process long inputs of one turn or conversations with more extensive histories. While proprietary models such as GPT-4 and Claude can largely preserve the reasoning ability in an extended context, open-source models are still progressing through the early stages of development. To bridge this gap, we propose L-Eval to institute a more standardized evaluation for long context language models (LCLMs) addressing two key aspects: dataset construction and evaluation metrics. On the one hand, we build a new evaluation suite containing 20 sub-tasks, 508 long documents, and over 2,000 human-labeled query-response pairs encompassing diverse question styles, domains, and input length (3k$\sim$200k tokens). On the other hand, we investigate the effectiveness in evalution metrics for LCLMs. Results show that popular n-gram matching metrics generally can not correlate well with human judgment, and thus we strongly advocate for length-instruction-enhanced (LIE) evaluation and employing LLM judges. We conducted a comprehensive study of 4 popular commercial LLMs and 12 open-source counterparts using the L-Eval benchmark. Our empirical findings offer useful insights into the study of LCLMs and lay the groundwork for the development of more principled evaluation of these models.

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

↑