Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Expert, extended

Summary

MRAgent is a novel framework designed to enhance Large Language Model (LLM) agents' reasoning over extensive interaction histories, moving beyond static "retrieve-then-reason" paradigms. It introduces an associative Cue–Tag–Content graph where tags serve as semantic bridges connecting fine-grained cues to memory contents. An active reconstruction mechanism integrates LLM reasoning directly into memory access, allowing agents to iteratively explore and prune retrieval paths based on accumulated evidence. This dynamic adaptation avoids combinatorial explosion and significantly improves performance. Experiments on LoCoMo and LongMemEval benchmarks show MRAgent outperforms strong baselines by up to 23% and 32% respectively, while also reducing token and runtime costs.

Key takeaway

For AI Engineers developing LLM agents requiring robust long-term memory and complex reasoning, you should move beyond passive retrieval methods. MRAgent demonstrates that integrating LLM reasoning directly into a Cue–Tag–Content memory graph enables dynamic, multi-step reconstruction, significantly improving accuracy and reducing token costs. Evaluate active reconstruction frameworks to enhance your agents' ability to handle long interaction histories and multi-hop queries effectively.

Key insights

Memory retrieval for LLM agents is more effective as an active, reconstructive process over a graph.

Principles

Method

MRAgent constructs a Cue–Tag–Content graph, then uses LLM reasoning to iteratively select traversal actions and update a reconstruction state.

In practice

Topics

Code references

Best for: Research Scientist, NLP Engineer, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.