paper-with-me

홈 › Papers

Hierarchical Memory for High-Efficiency Long-Term Reasoning in LLM Agents

2025-07-23 · Haoran Sun, Shaoning Zeng arxiv

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 layer. During the reasoning phase, an index-based routing mechanism enables efficient, layer-by-layer retrieval without performing exhaustive similarity computations. We evaluate our method on five task settings from the LoCoMo dataset. Experimental results show that our approach consistently outperforms five baseline methods, demonstrating its effectiveness in long-term dialogue scenarios.

📄 PDF Abstract BibTeX arXiv:2507.22925

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

HiMem: Hierarchical Long-Term Memory for LLM Long-Horizon Agents

2026-01-10 · Ningning Zhang, Xingxing Yang, Zhizhong Tan, Weiping Deng 외 arxiv

Although long-term memory systems have made substantial progress in recent years, they still exhibit clear limitations in adaptability, scalability, and self-evolution under continuous interaction settings. Inspired by c…

Information Extraction

MemVerse: Multimodal Memory for Lifelong Learning Agents

2025-12-03 · Junming Liu, Yifei Sun, Weihua Cheng, Haodong Lei 외 arxiv

Despite rapid progress in large-scale language and vision models, AI agents still suffer from a fundamental limitation: they cannot remember. Without reliable memory, agents catastrophically forget past experiences, stru…

Multimodal ReasoningContinual LearningKnowledge Graphs

GAM: Hierarchical Graph-based Agentic Memory for LLM Agents

2026-04-14 · Zhaofen Wu, Hanrong Zhang, Fulin Lin, Wujiang Xu 외 arxiv

To sustain coherent long-term interactions, Large Language Model (LLM) agents must navigate the tension between acquiring new information and retaining prior knowledge. Current unified stream-based memory systems facilit…

MKA: Memory-Keyed Attention for Efficient Long-Context Reasoning

2026-03-21 · Dong Liu, Yanxuan Yu, Ben Lengerich, Ying Nian Wu arxiv

As long-context language modeling becomes increasingly important, the cost of maintaining and attending to large Key/Value (KV) caches grows rapidly, becoming a major bottleneck in both training and inference. While prio…

TiMem: Temporal-Hierarchical Memory Consolidation for Long-Horizon Conversational Agents

2026-01-06 · Kai Li, Xuanqing Yu, Ziyi Ni, Yi Zeng 외 arxiv

Long-horizon conversational agents have to manage ever-growing interaction histories that quickly exceed the finite context windows of large language models (LLMs). Existing memory frameworks provide limited support for …