IRAICLJun 29

Diagnosing and Mitigating Context Rot in Long-horizon Search

arXiv:2606.2971824.8Has Code
Predicted impact top 1% in IR · last 90 daysOriginality Incremental advance
AI Analysis

For practitioners deploying LLMs in long-horizon tasks, this work provides actionable insights and strategies to mitigate context rot, a previously understudied problem.

The paper identifies 'context rot' in LLMs for long-horizon search, where extensive context degrades model performance, and evaluates mitigation strategies including context management and rejection sampling, achieving up to 10% improvement in accuracy.

Extensive context has become the norm as Large Language Models (LLMs) are increasingly deployed in long-horizon tasks. The concern that increasing context length degrades model capabilities, known as context rot, has become a central issue for these applications. In this paper, we focus on deep search scenarios, aiming to investigate the rot phenomenon and its mitigation strategies. By evaluating four flagship open-source models across three benchmarks, we reveal a prevalent but unnoticed rot phenomenon: extensive context causes models to directly give up or prematurely provide uncertain answers, and this issue is exacerbated as the context grows. Through pruning experiments, we demonstrate the relationship between the accumulated context and the rot phenomenon. Furthermore, we investigate mitigating this issue through context management and post-hoc rejection sampling. For context management, we systematically evaluate seven different methods across three categories, based on performance, cost, and impact on context rot, providing clear guidance for strategy selection and usage. For rejection sampling, we develop a rot-aware filtering strategy and demonstrate its effectiveness across three aggregation methods. Finally, we show that these two approaches can be combined for further performance improvements.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes