Hierarchical Memory for High-Efficiency Long-Term Reasoning in LLM Agents
Haoran Sun, Shaoning Zeng

TL;DR
This paper introduces a Hierarchical Memory architecture for LLM Agents that organizes memory in multiple semantic layers, enabling efficient retrieval and improved long-term reasoning in dialogue tasks.
Contribution
The paper proposes a novel multi-level hierarchical memory system with index-based routing for LLM Agents, enhancing memory organization and retrieval efficiency.
Findings
Outperforms five baseline methods on LoCoMo dataset tasks.
Demonstrates improved reasoning in long-term dialogue scenarios.
Efficient layer-by-layer memory retrieval without exhaustive search.
Abstract
Long-term memory is one of the key factors influencing the reasoning capabilities of Large Language Model Agents (LLM Agents). Incorporating a memory mechanism that effectively integrates past interactions can significantly enhance decision-making and contextual coherence of LLM Agents. While recent works have made progress in memory storage and retrieval, such as encoding memory into dense vectors for similarity-based search or organizing knowledge in the form of graph, these approaches often fall short in structured memory organization and efficient retrieval. To address these limitations, we propose a Hierarchical Memory (H-MEM) architecture for LLM Agents that organizes and updates memory in a multi-level fashion based on the degree of semantic abstraction. Each memory vector is embedded with a positional index encoding pointing to its semantically related sub-memories in the next…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Multi-Agent Systems and Negotiation · Service-Oriented Architecture and Web Services
