mlsanityData to 7 Oct 2026

The Context Gathering Decision Process: A POMDP Framework for Agentic Search

arXiv 2605.07042 ↗First posted 7 May 2026cs.AI cs.LGcited by 4

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

  1. 2025A-MEM: Agentic Memory for LLM Agents17 Feb
  2. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb

Other references · 38

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  7. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  8. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
  9. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  10. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  11. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
  12. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
26 more
  1. 2023Active Retrieval Augmented Generationcited by 506
  2. 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 423
  3. 2017A Tutorial on Thompson Samplingcited by 420
  4. 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
  5. 2023Enhancing Retrieval-Augmented Large Language Models with Iterative Retrieval-Generation Synergycited by 343
  6. 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 320
  7. 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 273
  8. 2025DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environmentscited by 268
  9. 2013(More) Efficient Reinforcement Learning via Posterior Samplingcited by 233
  10. 2016Optimal Best Arm Identification with Fixed Confidencecited by 233
  11. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
  12. 2024Corrective Retrieval Augmented Generationcited by 187
  13. 2024Don't Hallucinate, Abstain: Identifying LLM Knowledge Gaps via Multi-LLM Collaborationcited by 176
  14. 2023Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigationcited by 123
  15. 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAGcited by 122
  16. 2016Simple Bayesian Algorithms for Best Arm Identificationcited by 116
  17. 2024DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Modelscited by 63
  18. 2022A Close Look into the Calibration of Pre-trained Language Modelscited by 57
  19. 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
  20. 2024StateAct: Enhancing LLM Base Agents via Self-prompting and State-trackingcited by 21
  21. 2025Solving a Million-Step LLM Task with Zero Errorscited by 18
  22. 2026Agentic Aggregation for Parallel Scaling of Long-Horizon Agentic Taskscited by 18
  23. 2025Lost in the Maze: Overcoming Context Limitations in Long-Horizon Agentic Searchcited by 11
  24. 2025Lost in Transmission: When and Why LLMs Fail to Reason Globallycited by 9
  25. 2025FAIR-RAG: Faithful Adaptive Iterative Refinement for Retrieval-Augmented Generationcited by 7
  26. 2024Extending Context Window of Large Language Models from a Distributional Perspectivecited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
  2. 2026Search, Do not Guess: Teaching Small Language Models to Be Effective Search Agents
  3. 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL
  4. 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
  5. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models
  6. 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agents
  7. 2025Laser: Governing Long-Horizon Agentic Search via Structured Protocol and Context Register
  8. 2026ACM: Agentic Context Management for Long Horizon Tasks