Graph-based Agent Memory: Taxonomy, Techniques, and Applications

Chang Yang, Chuang Zhou, Yilin Xiao, Su Dong, Luyao Zhuang, Yujing Zhang, Zhu Wang, Zijin Hong, Zheng Yuan, Zhishang Xiang, Shengyuan Chen, Huachi Zhou, Qinggang Zhang, Ninghao Liu, Jinsong Su, Xinrun Wang, Yi Chang, Xiao Huang

Abstract

Memory emerges as the core module in Large Language Model (LLM)-based agents for long-horizon complex tasks, enabling knowledge accumulation, iterative reasoning, and self-evolution. Among diverse paradigms, graphs stand out as a powerful structure for agent memory due to their intrinsic capabilities to model relational dependencies, organize hierarchical information, and support efficient retrieval. This paper presents a comprehensive review of agent memory from a graph-based perspective. We introduce a taxonomy of agent memory, analyze key techniques across the memory lifecycle—extraction, storage, retrieval, and evolution—and summarize open-source resources and benchmarks. Finally, we identify critical challenges and future research directions to advance more efficient and reliable graph-based agent memory systems.

Introduction: Beyond "Goldfish Memory"

While Large Language Models (LLMs) demonstrate impressive capabilities, they often suffer from "goldfish memory." They are constrained by finite context windows, fixed knowledge cutoffs, and "performance saturation"—a tendency to repeat mistakes because they cannot effectively learn from history.

Traditional memory solutions typically rely on linear buffers (saving recent messages) or vector databases (retrieving snippets based on similarity). However, these methods are inherently "flat." They struggle to capture hierarchical information, temporal dependencies, or complex relational structures (e.g., causal chains). The authors argue that a graph-based approach provides the necessary structural "scaffolding" for agents to handle long-horizon, complex tasks by modeling memory as a dynamic network of nodes and edges.

The Graph-Based Memory Framework

The proposed framework organizes graph-based agent memory within a broader system workflow involving perception, reasoning, and action modules. Memory serves as a persistent backend that interacts primarily with the reasoning module through context retrieval and knowledge updates.

Overview of the AI Agent System Workflow and the Memory Implementation View

The Memory Lifecycle

The paper categorizes the technical implementation of graph-based memory into a four-stage lifecycle:

  1. Extraction: Transforming raw, unstructured data (text, trajectories, or multimodal inputs) into structured units. This often involves "semantic gating" to filter what is worth committing to long-term storage.
  2. Storage: Organizing units into specialized structures such as Knowledge Graphs (for static facts), Hierarchical Trees (for task planning), Temporal Graphs (for tracking changes over time), and Hypergraphs (for complex n-ary relationships).
  3. Retrieval: Moving beyond simple vector similarity to structured retrieval. This includes traversing graph topologies to find connected evidence and policy-based retrieval, where the agent autonomously decides which memory segments to query.
  4. Evolution: The most novel stage, where the agent performs "internal reflection" to merge similar nodes, resolve contradictions, and prune obsolete information, effectively consolidating experiences much like biological sleep.

Key Insights and Results

Graphs as a Generalization

A central insight of the survey is that traditional memory formats are essentially "degenerate" graphs. A linear buffer is a simple chain; a vector database is a fully connected graph with similarity-weighted edges. Graph memory acts as a "superset" that can encompass all other forms while adding relational depth.

Knowledge vs. Experience

The paper distinguishes between Knowledge Memory (static, objective facts) and Experience Memory (dynamic, subjective logs of agent actions). The synergy between these two allows an agent to remain factually accurate while becoming increasingly personalized through its history.

Performance and Efficiency

Qualitative analysis suggests several advantages for graph-based systems:

  • Hypergraph Superiority: Systems like HyperGraphRAG are more information-theoretically comprehensive for complex reasoning than standard binary graphs.
  • Retrieval Precision: Graph-based retrieval significantly reduces "noise" compared to pure vector search by using topology to prune semantically similar but irrelevant distractors.
  • Hybrid Architectures: The most successful agents, such as Optimus-1, utilize hybrid systems that separate rigid world rules in a Knowledge Graph from flexible experience logs in a vector store.

Resources and Future Directions

The authors provide a meta-analysis of seven major benchmark scenarios (Interaction, Personalization, Web Navigation, etc.) and compare 11 major open-source libraries, including Mem0, Cognee, and Graphiti. All resources are curated in the Awesome-GraphMemory repository.

Despite recent progress, several frontiers remain:

  • Complexity: Graph operations can become computationally expensive as memory grows, necessitating research into graph compression and hardware acceleration.
  • Privacy: Graph memory is susceptible to "inference attacks" where private data can be deduced through relational links.
  • Dynamic Schemas: Future agents must move beyond fixed schemas (e.g., Subject-Verb-Object) to autonomously categorize new types of information encountered in unstructured environments.

Summary updated

BibTeX
@misc{yang2026graph,
  author = {Chang Yang and Chuang Zhou and Yilin Xiao and Su Dong and Luyao Zhuang and Yujing Zhang and Zhu Wang and Zijin Hong and Zheng Yuan and Zhishang Xiang and Shengyuan Chen and Huachi Zhou and Qinggang Zhang and Ninghao Liu and Jinsong Su and Xinrun Wang and Yi Chang and Xiao Huang},
  title = {{Graph-based Agent Memory: Taxonomy, Techniques, and Applications}},
  year = {2026},
  eprint = {2602.05665},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.05665},
}
Figure