评测大模型是否真用长文本上下文,发现开源模型常凭记忆乱答。
L-CiteEval: Do Long-Context Models Truly Leverage Context for Responding?
- 构建11项任务的自动化测评基准,覆盖8K-48K长文本
- 开源模型引用准确率远低于闭源模型,易依赖自身知识
- 提示词检索增强可提升回答忠实度,但稍损生成质量
近年来,长上下文模型(LCMs)在文档摘要等长文本任务中取得显著进展。随着对生成结果忠实度的关注增加,仅保证输出准确性已不够,因人类难以验证超长上下文中的细节。现有评估方法或局限于特定任务,或严重依赖GPT-4等外部资源。本文提出L-CiteEval,一个涵盖11个跨领域任务、上下文长度达8K至48K的多任务引用型测评基准,支持全自动评估。测试11个前沿闭源与开源LCMs后发现,尽管生成结果差异微小,开源模型在引用准确率和召回率上显著落后于闭源模型,表明其更倾向依赖内部知识而非实际上下文,影响实际应用可靠性。同时评估RAG方法发现,其虽小幅降低生成质量,但能显著提升忠实度。还发现模型注意力机制与引用生成存在关联。
原文摘要 · Abstract (English)
Long-context models (LCMs) have made remarkable strides in recent years, offering users great convenience for handling tasks that involve long context, such as document summarization. As the community increasingly prioritizes the faithfulness of generated results, merely ensuring the accuracy of LCM outputs is insufficient, as it is quite challenging for humans to verify the results from the extremely lengthy context. Yet, although some efforts have been made to assess whether LCMs respond truly based on the context, these works either are limited to specific tasks or heavily rely on external evaluation resources like GPT4.In this work, we introduce L-CiteEval, a comprehensive multi-task benchmark for long-context understanding with citations, aiming to evaluate both the understanding capability and faithfulness of LCMs. L-CiteEval covers 11 tasks from diverse domains, spanning context lengths from 8K to 48K, and provides a fully automated evaluation suite. Through testing with 11 cutting-edge closed-source and open-source LCMs, we find that although these models show minor differences in their generated results, open-source models substantially trail behind their closed-source counterparts in terms of citation accuracy and recall. This suggests that current open-source LCMs are prone to responding based on their inherent knowledge rather than the given context, posing a significant risk to the user experience in practical applications. We also evaluate the RAG approach and observe that RAG can significantly improve the faithfulness of LCMs, albeit with a slight decrease in the generation quality. Furthermore, we discover a correlation between the attention mechanisms of LCMs and the citation generation process.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。