Diagnosing and Mitigating Context Rot in Long-horizon Search
Not on the map. Why?
Abstract (arXiv)
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, which we term premature termination: under extensive context, models give up or provide uncertain incorrect answers long before exhausting the context window. By controlling for query difficulty, we show that the premature termination rate is positively correlated with context length. Based on the 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 reduce the premature termination rate to enable more exploration, and we further 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.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 23 of its 31 references that are in the map. First posted on arXiv 29 Jun 2026.
Builds on
23 of 31 references.
References · 23
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 647
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 429
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
- 2025MultiChallenge: A Realistic Multi-Turn Conversation Evaluation Benchmark Challenging to Frontier LLMscited by 180
- 2025Beyond Ten Turns: Unlocking Long-Horizon Agentic Search with Large-Scale Asynchronous RLcited by 150
- 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 148
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 141
- 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 127
- 2025NoLiMa: Long-Context Evaluation Beyond Literal Matchingcited by 126
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 103
11 more
- 2025Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Taskscited by 66
- 2025The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMscited by 64
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 48
- 2025How Is LLM Reasoning Distracted by Irrelevant Context? An Analysis Using a Controlled Benchmarkcited by 28
- 2026The Long-Horizon Task Mirage? Diagnosing Where and Why Agentic Systems Breakcited by 25
- 2025Drift No More? Context Equilibria in Multi-Turn LLM Interactionscited by 22
- 2025FocusAgent: Simple Yet Effective Ways of Trimming the Large Context of Web Agentscited by 16
- 2025Evaluating Long-Context Reasoning in LLM-Based WebAgentscited by 15
- 2025Pushing Test-Time Scaling Limits of Deep Search with Asymmetric Verificationcited by 12
- 2025Lost in the Maze: Overcoming Context Limitations in Long-Horizon Agentic Searchcited by 12
- 2025PAACE: A Plan-Aware Automated Agent Context Engineering Frameworkcited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026ARC: Active and Reflection-driven Context Management for Long-Horizon Information Seeking Agents
- 2025Systematic Evaluation of Optimization Techniques for Long-Context Language Models
- 2024An Effective Framework to Help Large Language Models Handle Numeric-involved Long-context Tasks
- 2026Mitigating Context Interference for Reliable and Efficient Search Agents
- 2024ACER: Automatic Language Model Context Extension via Retrieval
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference
- 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scaling
- 2026Understanding Axes of Difficulty For Long Context Tasks Via PredicateLongBench