HyMem: Hierarchical Context Management for Long-Horizon Agents via Information Isolation
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Large language model (LLM) agents often perform poorly on complex, long-horizon tasks because their context becomes increasingly cluttered over time. As interactions accumulate, detailed execution traces and intermediate outputs dominate the context, making it difficult for the model to retain and use high-level planning information. Most existing methods address this issue through compression or retrieval applied to a single, flat context, which does not clearly separate different types of context information and often leads to degraded reasoning. To address this challenge, we propose HyMem, a hierarchical framework that explicitly separates the agent's context into distinct functional layers. HyMem organizes context by function to separate high-level planning from execution and complex analysis. Its isolated reasoning module handles complex subtasks without adding intermediate reasoning traces to the persistent planning context, while its memory management module preserves task progress across context refreshes through structured summaries. These components reduce redundant context accumulation, retain task-critical information, and support coherent long-horizon reasoning within a limited context window. Experiments on GAIA and Browsecomp-plus show that, with DeepSeek-V4, HyMem achieves average Pass@1 scores of 66.7% and 61.3%, outperforming the strongest baseline by 6.1 and 4.7 percentage points, respectively. Further analysis indicates that HyMem effectively controls the growth of the reasoning context, allowing the model to maintain focus and accuracy across complex, long-horizon tasks.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 23 of its 41 references that are in the map. First posted on arXiv 16 Aug 2026.
Builds on
23 of 41 references.
Closest ancestors · 6
Same direction, newest first
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Management28 Oct
- 2025Scaling Long-Horizon LLM Agent via Context-Folding13 Oct
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agents29 Sep
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarization16 Sep
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving8 Jul
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
Other references · 17
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2023GAIA: a benchmark for General AI Assistantscited by 1,128
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 647
- 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 335
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
- 2025WebDancer: Towards Autonomous Information Seeking Agencycited by 188
- 2025DeepAgent: A General Reasoning Agent with Scalable Toolsetscited by 71
- 2025WebResearcher: Unleashing unbounded reasoning capability in Long-Horizon Agentscited by 68
- 2025WebSailor-V2: Bridging the Chasm to Proprietary Agents via Synthetic Data and Scalable Reinforcement Learningcited by 61
5 more
- 2025Scaling LLM Multi-turn RL with End-to-end Summarization-based Context Managementcited by 51
- 2024THREAD: Thinking Deeper with Recursive Spawningcited by 25
- 2025Learning on the Job: An Experience-Driven Self-Evolving Agent for Long-Horizon Taskscited by 22
- 2025Self-Guided Function Calling in Large Language Models via Stepwise Experience Recallcited by 7
- 2022Build generally reusable agent-environment interaction modelscited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
- 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
- 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL
- 2026Beyond Memory: Harnessing Long-Horizon Agents with Explicit Belief States
- 2026Beyond Semantic Organization: Memory as Execution State Management for Long-Horizon Agents
- 2026ACM: Agentic Context Management for Long Horizon Tasks
- 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agents
- 2026Weighted Memory Tree: Remembering What Matters for Long-Horizon LLM Agents