The Context Gathering Decision Process: A POMDP Framework for Agentic Search
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Large Language Model (LLM) agents are deployed in complex environments -- such as massive codebases, enterprise databases, and conversational histories -- where the relevant state far exceeds their context windows. To navigate these spaces, an agent must iteratively explore the environment to find relevant information. However, without explicit infrastructure, an agent's working memory can degrade into lossy representations of the search state, resulting in redundant work (e.g. repetitive looping) and premature stopping. In this work, we formalize this challenge as the Context Gathering Decision Process (CGDP), a specialized Partially Observable Markov Decision Process, where an agent's objective is to adaptively refine its belief state to isolate the necessary information for a task. We model an LLM's behavior as approximate Thompson Sampling within this CGDP, and introduce a predicate-based method that decomposes an LLM's implicit search into explicit and modular operations. We then derive two plug-and-play interventions for iterative LLM agents: a persistent, predicate-based belief state that bounds context while preserving multi-hop reasoning, and a programmatic exhaustion gate that halts unproductive search without premature stopping. Across four methods and three question-answering domains, we empirically validate that replacing an LLM's implicit state with our CGDP-motivated belief state improves multi-hop reasoning by up to 11.4%; while the modular programmatic exhaustion detection saves up to 39% of tokens without any degradation in agent performance. Ultimately, we argue that framing the LLM agent loop as a CGDP can guide the design of modular, non-interfering improvements to agentic search harnesses.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 40 of its 46 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
40 of 46 references.
Closest ancestors · 2
Same direction, newest first
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 38
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
- 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
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
26 more
- 2023Active Retrieval Augmented Generationcited by 506
- 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 423
- 2017A Tutorial on Thompson Samplingcited by 420
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
- 2023Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergycited by 343
- 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 320
- 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 273
- 2025DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environmentscited by 268
- 2013(More) Efficient Reinforcement Learning via Posterior Samplingcited by 233
- 2016Optimal Best Arm Identification with Fixed Confidencecited by 233
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
- 2024Corrective Retrieval Augmented Generationcited by 187
- 2024Don't Hallucinate, Abstain: Identifying LLM Knowledge Gaps via Multi-LLM Collaborationcited by 176
- 2023Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigationcited by 123
- 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAGcited by 122
- 2016Simple Bayesian Algorithms for Best Arm Identificationcited by 116
- 2024DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Modelscited by 63
- 2022A Close Look into the Calibration of Pre-trained Language Modelscited by 57
- 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
- 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-trackingcited by 21
- 2025Solving a Million-Step LLM Task with Zero Errorscited by 18
- 2026Agentic Aggregation for Parallel Scaling of Long-Horizon Agentic Taskscited by 18
- 2025Lost in the Maze: Overcoming Context Limitations in Long-Horizon Agentic Searchcited by 11
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globallycited by 9
- 2025FAIR-RAG: Faithful Adaptive Iterative Refinement for Retrieval-Augmented Generationcited by 7
- 2024Extending Context Window of Large Language Models from a Distributional Perspectivecited by 6
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026DART-SD: Diamond-topology Aware Retrieval and Tuning for Self-Distillation of Multi-Turn Tool-Calling Agentscited by 2
- 2026From Simple QA to Deep Research: A Verifiable Benchmark Constructed through Iterative Task Evolutioncited by 0
- 2026MNIST-PRO: MNIST is Back as a Partially Observable World for AI Agentscited by 0
- 2026Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief Statescited by 0
- 2026Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief States1 Oct 2026
- 2026MNIST-PRO: MNIST is Back as a Partially Observable World for AI Agents31 Aug 2026
- 2026DART-SD: Diamond-topology Aware Retrieval and Tuning for Self-Distillation of Multi-Turn Tool-Calling Agents19 Aug 2026
- 2026From Simple QA to Deep Research: A Verifiable Benchmark Constructed through Iterative Task Evolution3 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
- 2026Search, Do not Guess: Teaching Small Language Models to Be Effective Search Agents
- 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL
- 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models
- 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agents
- 2025Laser: Governing Long-Horizon Agentic Search via Structured Protocol and Context Register
- 2026ACM: Agentic Context Management for Long Horizon Tasks