Masking Stale Observations Helps Search Agents -- Until It Doesn't: A Regime Map and Its Mechanism
Not on the map. Why?
Abstract (arXiv)
Long-horizon search agents accumulate large amounts of retrieved content across many tool calls, making context-budget efficiency increasingly important. A minimal intervention is to mask stale observations from the context as the trajectory progresses, but it remains unclear when this form of context management helps and why. We study observation masking through a systematic sweep over various agent backbones (4B to 284B parameters) and three retrievers on offline and live-web agentic search benchmarks. We find that the accuracy gain from masking follows an asymmetric inverted-U shape when plotted against the model's accuracy without context management: a plateau under weak retrievers, a peak when a strong retriever meets a mid-capacity model, and a sharp collapse when the model is saturated. This pattern reflects the interaction between retriever recall and the model's implicit filtering capacity, rather than either factor in isolation. Mechanistically, masking implements a token-for-turn trade-off: it removes observations the model has largely stopped attending to and pages the agent rarely re-opens. The added turns help when they convert failures into successes, but they fail when masking removes evidence the model would otherwise have used. We therefore reframe context management as a regime-dependent intervention and provide a holistic perspective for analyzing context use in agentic deep search. We release our scaffold and trajectories here (https://github.com/i-DeepSearch/observation-masking) to support future research.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 42 of its 69 references that are in the map. First posted on arXiv 29 May 2026.
Builds on
42 of 69 references.
References · 42
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
- 2023GAIA: a benchmark for General AI Assistantscited by 1,084
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
30 more
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 616
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 502
- 2025Humanity's Last Examcited by 467
- 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 423
- 2025DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environmentscited by 268
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
- 2025DeepResearch Bench: A Comprehensive Benchmark for Deep Research Agentscited by 236
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 183
- 2025BrowseComp-ZH: Benchmarking Web Browsing Ability of Large Language Models in Chinesecited by 139
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 132
- 2025xbench: Tracking Agents Productivity Scaling with Profession-Aligned Real-World Evaluationscited by 118
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 95
- 2025Recursive Language Modelscited by 94
- 2025Nemotron 3 Nano: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoningcited by 85
- 2025MiroThinker: Pushing the Performance Boundaries of Open-Source Research Agents via Model, Context, and Interactive Scalingcited by 72
- 2025In-the-Flow Agentic System Optimization for Effective Planning and Tool Usecited by 67
- 2026Qwen3-Coder-Next Technical Reportcited by 60
- 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 40
- 2026Beyond Semantic Similarity: Rethinking Retrieval for Agentic Search via Direct Corpus Interactioncited by 33
- 2026OpenResearcher: A Fully Open Pipeline for Long-Horizon Deep Research Trajectory Synthesiscited by 32
- 2026Agentic Aggregation for Parallel Scaling of Long-Horizon Agentic Taskscited by 18
- 2026AgentIR: Reasoning-Aware Retrieval for Deep Research Agentscited by 13
- 2025Large Reasoning Embedding Models: Towards Next-Generation Dense Retrieval Paradigmcited by 9
- 2026AgentSwing: Adaptive Parallel Context Management Routing for Long-Horizon Web Agentscited by 9
- 2026Think in Strokes, Not Pixels: Process-Driven Image Generation via Interleaved Reasoningcited by 6
- 2026CocoaBench: Evaluating Unified Digital Agents in the Wildcited by 6
- 2026vLLM Hook v0: A Plug-in for Programming Model Internals on vLLMcited by 4
- 2026Learning to Retrieve from Agent Trajectoriescited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Dr-DCI: Scaling Direct Corpus Interaction via Dynamic Workspace Expansioncited by 3
- 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioceptioncited by 3
- 2026Self-Correcting Long-Horizon Search Agents via Tree-Structured Memorycited by 0
- 2026ContextRender: From Execution Dependencies to Agent Contextcited by 0
- 2026ContextRender: From Execution Dependencies to Agent Context29 Sep 2026
- 2026Self-Correcting Long-Horizon Search Agents via Tree-Structured Memory11 Aug 2026
- 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioception29 Jun 2026
- 2026Dr-DCI: Scaling Direct Corpus Interaction via Dynamic Workspace Expansion12 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agents
- 2026Toward Reliable Context Compression for Long-Horizon Agents: An Empirical Study of Execution Instability
- 2026ACM: Agentic Context Management for Long Horizon Tasks
- 2025Lost in the Maze: Overcoming Context Limitations in Long-Horizon Agentic Search
- 2026When Memory Lies: An Empirical Study of Spatial Memory Staleness in VLM Agents
- 2026Plans Don't Persist: Why Context Management Is Load Bearing for LLM Agents
- 2026ARC: Active and Reflection-driven Context Management for Long-Horizon Information Seeking Agents
- 2026Memory Control Signals Emerge Before Action in Long Horizon Agents