PulseAugur
实时 10:33:42
English(EN) Lost in the middle: why a 100k-token context window is not 100k tokens of attention

大型语言模型难以回忆长上下文中间的信息

Liu 等人(2023 年)题为《迷失在中间:语言模型如何使用长上下文》的研究表明,大型语言模型并非均匀处理长上下文中的信息。相反,它们表现出 U 形准确率曲线,能够可靠地回忆起上下文的开头(首因效应)和结尾(近因效应)的信息,但在处理位于中间的信息时却遇到显著困难。这种“中间衰减”随着上下文窗口的增加而加剧,这意味着大的 token 窗口并不等同于充分的注意力利用。该论文建议,控制检索块的位置,将最相关的内容放在提示的边缘,可以缓解这个问题。 AI

影响 大型语言模型在回忆长上下文中间信息方面的困难,要求仔细的提示工程和检索策略,以确保充分利用提供的数据。

排序理由 该集群讨论了一篇关于大型语言模型在长上下文行为的详细研究论文的发现。[lever_c_demoted from research: ic=1 ai=1.0]

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

大型语言模型难以回忆长上下文中间的信息

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Devanshu Biswas ·

    Lost in the middle: why a 100k-token context window is not 100k tokens of attention

    <p>An LLM does not read a long context evenly. Bury a single fact — a needle — inside a long stack of documents and ask the model to retrieve it, and how reliably it succeeds depends heavily on <em>where</em> the fact sits. Facts at the very start (primacy) or the very end (recen…