迷失在段落中:段落级上下文学习未必需要“段落”
Lost in the Passage: Passage-level In-context Learning Does Not Necessarily Need a "Passage"
AI总结:
本文通过实验发现段落级上下文学习中LLMs并不依赖演示段落与输出之间的内在关系,使用更短的无意义段落即可取得更优性能,并指出现有上下文压缩方法不适用于该场景。
摘要:
通过在上下文中简单地加入演示示例,上下文学习(ICL)使大语言模型(LLMs)能够在许多任务上取得出色表现。本研究聚焦于面向生成任务的段落级长上下文ICL,发现LLMs无法学习演示段落与生成输出之间的内在关系。我们在两个典型生成任务上使用不同LLMs进行了实验,包括单文档问答和干扰项生成,结果表明,即使使用长度仅为原文四分之一的完全无意义的演示段落,其性能也远优于使用原始完整段落。通过注意力和信息流分析发现,与提示中的其他组成部分相比,LLMs对段落的关注很少,且从段落流向演示其他部分的信息也很少,这进一步证实了我们的发现。此外,关于上下文压缩的实验表明,在其他长上下文任务上被证明有效的压缩方法并不适用于段落级ICL,因为简单地使用更短的无意义演示段落就已经能够取得有竞争力的性能。
英文摘要:
By simply incorporating demonstrations into the context, in-context learning (ICL) enables large language models (LLMs) to yield awesome performance on many tasks. In this study, we focus on passage-level long-context ICL for generation tasks and find that LLMs cannot learn the intrinsic relationship between the demonstration passage and the generation output. We conduct experiments with different LLMs on two typical generation tasks including single-document question answering and distractor generation, demonstrating that even a completely meaningless demonstration passage with 1/4 length achieves much better performance than the original full passage. Analysis via attention and information flow reveals that LLMs pay little attention to passages compared to other components in the prompt and little information flows from the passage to other parts of the demonstration, which further confirms our finding. Additionally, experiments on context compression indicate that compression approaches proven effective on other long-context tasks are not suitable for passage-level ICL, since simply using shorter meaningless demonstration passages already achieves competitive performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。