LLM 长程搜索中的 context rot 诊断与缓解研究
Diagnosing and Mitigating Context Rot in Long-horizon Search
AI 导读
一项系统性研究在三个 benchmark 上检验四个旗舰模型,发现模型远未用尽上下文窗口就过早放弃或给出不确定的错误答案,作者称之为 inconclusive search failures,即使简单和中等难度问题也常见。
正文 · 原文
Abstract:Extensive context has become the norm as Large Language Models (LLMs) are increasingly deployed in long-horizon search tasks. The concern that increasing context length degrades model capabilities, known as context rot, has become a widely recognized issue for these applications. However, in deep search scenarios, it remains unclear how models actually fail under extensive context, and to what extent existing methods can mitigate such failures. Through a systematic study of four flagship models across three benchmarks, we identify a previously overlooked phenomenon: under extensive context, models give up or provide uncertain incorrect answers long before exhausting the context window. We refer to these two failure modes as inconclusive search failures. We show that these are common failure modes even for easy and moderately difficult queries, suggesting premature termination on queries that the model is capable of solving. Based on these findings, we revisit methods to mitigate context rot, including context management and parallel sampling. For context management, we analyze seven methods across three categories and show that they are inherently test-time scaling strategies that redirect models from inconclusive search failures toward further exploration by decreasing the peak context length. We also provide model-dependent principles for method selection. For parallel sampling, we develop a behavior-aware filtering strategy and observe a performance gain of 2.6% to 4.9% across three aggregation methods.
| Subjects: | Information Retrieval (cs.IR); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2606.29718 [cs.IR] |
| (or arXiv:2606.29718v3 [cs.IR] for this version) | |
| https://doi.org/10.48550/arXiv.2606.29718 arXiv-issued DOI via DataCite |
Submission history
From: Shijie Xia [view email]
[v1]
Mon, 29 Jun 2026 02:53:28 UTC (3,601 KB)
[v2]
Tue, 4 Aug 2026 16:37:54 UTC (5,990 KB)
[v3]
Sun, 25 Oct 2026 15:23:22 UTC (5,225 KB)
来源:arXiv cs.AI · arxiv.org