arXiv:2511.13900cs.CLcs.AI2025-11被引 2

研究大模型长文本中段信息丢失问题,提出新评测框架与缓解策略。

What Works for 'Lost-in-the-Middle' in LLMs? A Study on GM-Extract and Mitigations

  • 构建GM-Extract基准,区分空间与语义检索能力
  • 发现数据表示方式显著影响7-8B模型性能表现
  • 揭示现有缓解方法效果因场景而异,部分反而恶化

大语言模型在长文本中逐渐丧失对中间信息的利用能力——即“丢失在中间”现象——已成为检索类应用的重大挑战。为在真实场景下研究该现象的影响,我们提出GM-Extract,一个专用于评估控制变量检索性能的新基准数据集。通过两个独立指标(文档定位指标与变量提取指标)实现故障模式的精准诊断。我们在两个多文档任务(键值提取与问答)上系统评估了7-8B参数量模型,发现仅改变上下文中的数据呈现方式即可显著影响检索性能。尽管未观察到一致的倒U型曲线,但性能变化呈现出可复现模式,并与困惑度得分相关联。此外,我们对现有缓解方法进行综述,分为黑盒与白盒两类,并在基准上测试其效果,结果表明其有效性高度依赖具体场景:某些情况下显著提升性能,也有意外导致性能下降的情况,为实际应用提供了全面的实践洞见。

原文摘要 · Abstract (English)

The diminishing ability of large language models (LLMs) to effectively utilize long-range context-the "lost-in-the-middle" phenomenon-poses a significant challenge in retrieval-based LLM applications. To study the impact of this phenomenon in a real-world application setting, we introduce GM-Extract, a novel benchmark dataset meticulously designed to evaluate LLM performance on retrieval of control variables. To accurately diagnose failure modes, we propose a simple yet elegant evaluation system using two distinct metrics: one for spatial retrieval capability (Document Metric) and the other for semantic retrieval capability (Variable Extraction Metric). We conduct a systematic evaluation of 7-8B parameter models on two multi-document tasks (key-value extraction and question-answering), demonstrating a significant change in retrieval performance simply by altering how the data is represented in the context window. While a distinct U-shaped curve was not consistently observed, our analysis reveals a clear pattern of performance across models, which we further correlate with perplexity scores. Furthermore, we perform a literature survey of mitigation methods, which we categorize into two distinct approaches: black-box and white-box methods. We then apply these techniques to our benchmark, finding that their efficacy is highly nuanced. Our evaluation highlights scenarios where these strategies successfully improve performance, as well as surprising cases where they lead to a negative impact, providing a comprehensive understanding of their utility in a practical context.

大模型长文本检索增强评测基准

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。