Toward a Theory of Hierarchical Memory for Language Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Many recent long-context and agentic systems address context-length limitations by adding hierarchical memory: they extract atomic units from raw data, build multi-level representatives by grouping and compression, and traverse this structure to retrieve content under a token budget. Despite recurring implementations, there is no shared formalism for comparing design choices. We propose a unifying theory in terms of three operators. Extraction (α) maps raw data to atomic information units; coarsening (C = (π, ρ)) partitions units and assigns a representative to each group; and traversal (τ) selects which units to include in context given a query and budget. We identify a self-sufficiency spectrum for the representative function ρ and show how it constrains viable retrieval strategies (a coarsening-traversal coupling). Finally, we instantiate the decomposition on eleven existing systems spanning document hierarchies, conversational memory, and agent execution traces, showcasing its generality.
Key facts. Cited by 5 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 15 of its 21 references that are in the map. First posted on arXiv 23 Mar 2026.
Builds on
15 of 21 references.
Closest ancestors · 8
Same direction, newest first
- 2026Beyond RAG for Agent Memory: Retrieval by Decoupling and Aggregation2 Feb
- 2026MemoBrain: Executive Memory as an Agentic Brain for Reasoning12 Jan
- 2026StackPlanner: A Centralized Hierarchical Multi-Agent System with Task-Experience Memory Management9 Jan
- 2026InfiAgent: An Infinite-Horizon Framework for General-Purpose Autonomous Agents6 Jan
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents5 Jan
- 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agents5 Jan
- 2025Hierarchical Memory for High-Efficiency Long-Term Reasoning in LLM Agents23 Jul
- 2025MemEngine: A Unified and Modular Library for Developing Advanced Memory of LLM-based Agents4 May
Other references · 7
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
- 2023Cognitive Architectures for Language Agentscited by 422
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
- 2024From Isolated Conversations to Hierarchical Schemas: Dynamic Tree Memory Representation for LLMscited by 77
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026From Signals to Structure: How Memory Architecture Drives Language Emergence in LLM Agentscited by 4
- 2026Why Solve It Twice? Hierarchical Accumulation of Skills for Transfer-Efficient ML Engineeringcited by 3
- 2026Memory Is Communication: The Frontier Between Remembering and Signalingcited by 0
- 2026Toward Personal Intelligence Through Cooperative Observationcited by 0
- 2026Dude, Where's My State? Execution Information Requirements for Stateful Agentscited by 0
- 2026Dude, Where's My State? Execution Information Requirements for Stateful Agents26 Sep 2026
- 2026Toward Personal Intelligence Through Cooperative Observation17 Aug 2026
- 2026Memory Is Communication: The Frontier Between Remembering and Signaling17 Aug 2026
- 2026From Signals to Structure: How Memory Architecture Drives Language Emergence in LLM Agents30 Jun 2026
- 2026Why Solve It Twice? Hierarchical Accumulation of Skills for Transfer-Efficient ML Engineering29 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Organize then Retrieve: Hierarchical Memory Navigation for Efficient Agents
- 2026Heavy-Tailed Memory Traces in Long-Horizon Language Agents
- 2026AMA: Adaptive Memory via Multi-Agent Collaboration
- 2026Mandol: An Agglomerative Agent Memory System for Long-Term Conversations
- 2024On the Structural Memory of LLM Agents
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context
- 2026Membox: Weaving Topic Continuity into Long-Range Memory for LLM Agents