mlsanityData to 14 Oct 2026

SAM: State-Adaptive Memory for Long-Horizon Reasoning Agent

arXiv 2605.24468 ↗First posted 23 May 2026cs.AIcited by 10

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Long-horizon agentic reasoning requires large language models to act over long interaction histories containing thoughts, tool calls, observations, and partial conclusions. The challenge is not merely that these histories grow long, but that information needed for the current decision may be scattered across distant steps and only become relevant later. Existing approaches address this difficulty by truncating the interaction history, compressing it into shorter surrogates, or retrieving selected parts of it for reuse, but they do not explicitly model how access to past interaction should adapt to the agent's evolving state. We instead cast long-horizon reasoning as a problem of state-adaptive memory. To this end, we propose State-Adaptive Memory~(SAM), a standalone framework that consolidates ongoing interaction into compact memory cues while preserving raw trajectory pages for intent-driven recall. These cues are not treated as replacements for history; rather, they serve as lightweight handles that allow the agent to reconstruct temporally distant information according to its current needs, without retraining the underlying backbone. We further optimize the memory module through expert-guided supervision and reinforcement learning, aligning it with trajectory-level utility. Across BrowseComp, BrowseComp-ZH, WideSearch, and HLE, SAM consistently outperforms strong baselines over diverse agent backbones. Our results suggest that explicit memory modeling provides a simple and effective foundation for long-horizon agentic reasoning.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 36 of its 48 references that are in the map. First posted on arXiv 23 May 2026.

Builds on

36 of 48 references.

Closest ancestors · 8

Same direction, newest first

  1. 2026MemSifter: Offloading LLM Memory Retrieval via Outcome-Driven Proxy Reasoning3 Mar
  2. 2026MemoBrain: Executive Memory as an Agentic Brain for Reasoning12 Jan
  3. 2026Memory Matters More: Event-Centric Memory as a Logic Map for Agent Searching and Reasoning8 Jan
  4. 2025Latent Collaboration in Multi-Agent Systems25 Nov
  5. 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents27 Sep
  6. 2025WebSailor: Navigating Super-human Reasoning for Web Agent3 Jul
  7. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent3 Jul
  8. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents18 Jun

Other references · 28

  1. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  2. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
  3. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  4. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  5. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
  6. 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 647
  7. 2025Humanity's Last Examcited by 491
  8. 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 335
  9. 2025Memory in the Age of AI Agentscited by 303
  10. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 180
  11. 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 148
  12. 2025BrowseComp-ZH: Benchmarking Web Browsing Ability of Large Language Models in Chinesecited by 145
16 more
  1. 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 141
  2. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agentscited by 136
  3. 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 103
  4. 2025WideSearch: Benchmarking Agentic Broad Info-Seekingcited by 69
  5. 2025Scaling LLM Multi-turn RL with End-to-end Summarization-based Context Managementcited by 51
  6. 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 48
  7. 2025Context as a Tool: Context Management for Long-Horizon SWE-Agentscited by 43
  8. 2026OpenSeeker: Democratizing Frontier Search Agents by Fully Open-Sourcing Training Datacited by 39
  9. 2026OpenResearcher: A Fully Open Pipeline for Long-Horizon Deep Research Trajectory Synthesiscited by 37
  10. 2025IterResearch: Rethinking Long-Horizon Agents with Interaction Scalingcited by 23
  11. 2025Sculptor: Empowering LLMs with Cognitive Agency via Active Context Managementcited by 18
  12. 2026The Pensieve Paradigm: Stateful Language Models Mastering Their Own Contextcited by 9
  13. 2026AgentSwing: Adaptive Parallel Context Management Routing for Long-Horizon Web Agentscited by 9
  14. 2025Goal-Directed Search Outperforms Goal-Agnostic Memory Compression in Long-Context Memory Taskscited by 4
  15. 2026Grounding Agent Memory in Contextual Intentcited by 4
  16. 2025Sentence-Anchored Gist Compression for Long-Context LLMscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 10.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026MemWeaver: Weaving Hybrid Memories for Traceable Long-Horizon Agentic Reasoning
  2. 2026Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief States
  3. 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
  4. 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications
  5. 2025Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks
  6. 2026Beyond Semantic Organization: Memory as Execution State Management for Long-Horizon Agents
  7. 2026AMBER: Training Long-Horizon Web Agents through Append-Only Memory
  8. 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents