Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents
Shuo Ji, yibo li, Bryan Hooi
Abstract
Despite recent progress, LLM agents still struggle with reasoning over long interaction histories. While current memory-augmented agents rely on a static "retrieve-then-reason" paradigm, this rigid pipeline design prevents them from dynamically adapting memory access to intermediate evidence discovered during inference. To bridge this gap, we propose MRAgent, a framework that combines an associative memory graph with an active reconstruction mechanism. We represent memory as a Cue-Tag-Content graph, where associative tags serve as semantic bridges connecting fine-grained cues to memory contents. Operating on this structure, our active reconstruction mechanism integrates LLM reasoning directly into memory access, allowing the agent to iteratively explore and prune retrieval paths based on accumulated evidence. This ensures that memory retrieval is dynamically adapted to the reasoning context while avoiding combinatorial explosion caused by unconstrained expansion. Experiments on the LOCOMO benchmark and LONG-MEMEVAL benchmark demonstrate significant improvements over strong baselines (up to 23%), while substantially reducing token and runtime cost, highlighting the effectiveness of active and associative reconstruction for long-horizon memory reasoning. The code is available at: https: //github.com/Ji-shuo/MRAgent .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Evaluating Very Long-Term Conversational Memory of LLM Agents cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites Evaluating Very Long-Term Conversational Memory of LLM Agents
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- LightMem: Lightweight and Efficient Memory-Augmented Generation cites A-Mem: Agentic Memory for LLM Agents
- A-Mem: Agentic Memory for LLM Agents cites MemoryBank: Enhancing Large Language Models with Long-Term Memory
- A-Mem: Agentic Memory for LLM Agents cites Evaluating Very Long-Term Conversational Memory of LLM Agents
- A-Mem: Agentic Memory for LLM Agents cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Builds on9
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- A-Mem: Agentic Memory for LLM AgentsWujiang Xu, Zujie Liang, Kai Mei, Hang Gao et al.NeurIPS 2025 · 1,138 citations
- MemoryBank: Enhancing Large Language Models with Long-Term MemoryWanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye et al.AAAI 2024 · 394 citations
- LightMem: Lightweight and Efficient Memory-Augmented GenerationJizhan Fang, Xinle Deng, Haoming Xu, Ziyan Jiang et al.ICLR 2026 · 162 citations
- Evaluating Very Long-Term Conversational Memory of LLM AgentsAdyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal et al.ACL 2024 · 30 citations
Related papers
- MAGMA: A Multi-Graph based Agentic Memory Architecture for AI AgentsDongming Jiang, Yi Li, Guanpeng Li, Bingzhe LiACL 2026 · 32 citations
- Chain-of-Memory: Lightweight Memory Construction with Dynamic Evolution for LLM AgentsXiucheng Xu, Bingbing Xu, Tian Xueyun, Zihe Huang et al.ACL 2026 · 4 citations
- Structured Episodic Event MemoryZhengxuan Lu, Dongfang Li, Yukun Shi, Beilun Wang et al.ACL 2026 · 1 citation
- MemWeaver: Weaving Hybrid Memories for Traceable Long-Horizon Agentic ReasoningJuexiang Ye, Xue Li, Xinyu Yang, Chengkai Huang et al.ACL Findings 2026
- Dynamic Long Context Reasoning over Compressed Memory via End-to-End Reinforcement LearningZhuoen Chen, Dongfang Li, Meishan Zhang, Baotian Hu et al.ACL 2026 · 2 citations
