SAGE: A Self-Evolving Agentic Graph-Memory Engine for Structure-Aware Associative Memory

Juntong Wang, Haoyue Zhao, guanghui Pan, Xiyuan Wang, Yanbo Wang, Qiyan Deng, Muhan ZhangarXiv 2026

TL;DR

SAGE (Self-evolving Agentic Graph-memory Engine) introduces a dynamic framework for long-term AI agent memory by coupling an LLM-driven memory writer with a Graph Foundation Model-based reader. By optimizing both components in a closed loop via reinforcement learning, SAGE overcomes the limitations of static retrieval indexes, achieving state-of-the-art multi-hop reasoning performance and exceptional zero-shot transfer capabilities.

What Problem Does This Paper Address?

As large language models (LLMs) transition into autonomous agents tasked with multi-turn dialogues and long-term planning, memory has become a critical bottleneck. Standard Retrieval-Augmented Generation (RAG) systems retrieve isolated text chunks based on semantic similarity, often missing the broader context. While GraphRAG systems improve on this by organizing data into structured graphs, they treat these graphs as static retrieval middleware—built once and queried repeatedly.

The authors argue that a true agent memory system must treat graph memory as a dynamic, evolving substrate. They identify three core challenges:

  1. Associative & Selective Reading: Reconstructing complete reasoning chains from fragmented, indirect cues without getting distracted by noise.
  2. Learned Structural Use: Dynamically exploiting topological roles (like hubs, bridges, and communities) rather than relying on fixed, heuristic expansion rules.
  3. Self-Evolving Memory: Creating a closed loop where retrieval failures provide feedback to improve how memory is written, and better writing makes future reading more accurate.
Figure 1: Overview of the three core challenges in agent graph memory, illustrated with a concrete example. Given the query, “Alice mentioned a work in last week’s lab meeting that seemed to be inspired by the Cornu Ammonis. Among works in the same field as that work, are there any that can also help with agent memory? Give one example,” the memory reader must address associative and selective reading by expanding sparse partial cues into the correct evidence chain while avoiding noisy distractors. It must then exploit structural information in the memory graph, such as aliases, bridges, and hubs, to traverse from Cornu Ammonis to SAGE. Self-evolving memory highlights the closed loop between writing and reading.

Methods

SAGE addresses these challenges by splitting the memory architecture into two mutually reinforcing roles:

  • Memory Writer ($W_\theta$): Modeled as a sequential decision-making policy trained via Group Relative Policy Optimization (GRPO). The writer incrementally constructs and updates a heterogeneous graph from interaction histories. Crucially, it is optimized using a reader-aware reward that evaluates the written graph's utility based on downstream task performance (e.g., answer deducibility and evidence recall).
  • Memory Reader ($R_\phi$): Built on a Graph Foundation Model (GFM) to ensure robust cross-domain transferability. The reader employs several cognitive-inspired mechanisms:
  • Structured Query Planning: Decomposes vague natural language queries into multi-dimensional associative probes.
  • Soft Addressing: Pre-activates memory fragments using semantic priming to ensure distant bridge nodes are captured.
  • Structurally Conditioned Associative Propagation: Uses edge-level vector structural gating to selectively amplify critical bridge paths while suppressing noisy, over-connected hub nodes.
  • Context-Schema Decomposition: Separates stable, cross-graph structural reading habits (schema) from target-graph specific adaptations (context).
Figure 2: Overall pipeline of the proposed SAGE. The memory writer incrementally constructs and updates graph memory from observations through state-conditioned writing actions, and receives rewards from downstream memory use. The resulting retrieval feedback closes the loop between writing and reading, enabling graph memory to improve over time.

Datasets

SAGE was evaluated across a comprehensive suite of eight benchmarks:

  • General & Multi-hop QA: Natural Questions (NQ), PopQA, HotpotQA, 2WikiMultiHopQA, and MuSiQue. These test the engine's ability to recover bridge entities and stitch together multi-hop reasoning paths.
  • Domain-Specific Review QA: AmazonQA, which introduces real-world, noisy user reviews.
  • Long-Term Agent Memory: LongMemEval and HaluMem, used to diagnose long-horizon consistency, knowledge updating, and operation-level hallucinations.

Key Insights and Ideas

  • Memory as a Two-Way Street: Memory shouldn't just be a passive database. By framing graph memory as a coupled write-read-update problem, retrieval failures directly instruct the writer on how to build a better graph next time.
  • GFMs Beat Traditional GNNs for RAG: Traditional GNN retrievers are brittle and tied to fixed graph distributions. By using a Graph Foundation Model with context-schema decomposition, SAGE retains transferable structural priors while quickly calibrating to the unique noise and topology of a newly written graph.
  • The Signal-to-Noise Budget Trade-off: More retrieval context isn't always better. The paper mathematically proves (Proposition 1) that soft addressing and structural gating maximize the query-relevant signal mass while minimizing the top-$k$ document budget, preventing the LLM from being overwhelmed by distractor noise.

Key Results

  • Zero-Shot Open-Domain Transfer: When trained on multi-hop QA and tested zero-shot on NQ, SAGE achieved a staggering 82.5% Recall@2 and 91.6% Recall@5, obliterating traditional dense retrievers (like Contriever and GTR) and graph baselines (like HippoRAG).
  • Multi-Hop QA Dominance: After two rounds of self-evolution, SAGE achieved the best average rank across HotpotQA, MuSiQue, and 2WikiMultiHopQA.
  • Blazing Fast Efficiency: In single-step retrieval, SAGE demonstrated a massive speed advantage, clocking in at 0.032s on HotpotQA and 0.019s on 2Wiki, outperforming other graph-RAG methods (like LightRAG and GraphRAG) by orders of magnitude.

Limitations and Future Work

  • Dependency on Extraction Quality: SAGE's performance is heavily bottlenecked by the initial quality of entity extraction and relation writing.
  • Memory Updating & Hallucination: While it shows strong improvements, there is still significant room for growth in handling complex temporal updates and fine-grained hallucination control in real-world deployments.
  • Theoretical Assumptions: The mathematical proofs rely on idealized assumptions (e.g., bounded graph drift, local Lipschitz stability) which might not fully capture the chaotic nature of massive, continuously evolving web-scale graphs.

Summary updated

BibTeX
@misc{wang2026sage,
  author = {Juntong Wang and Haoyue Zhao and guanghui Pan and Xiyuan Wang and Yanbo Wang and Qiyan Deng and Muhan Zhang},
  title = {{SAGE: A Self-Evolving Agentic Graph-Memory Engine for Structure-Aware Associative Memory}},
  year = {2026},
  eprint = {2605.12061},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.12061},
}
Figure