[Paper Review] MAGMA: A Multi-Graph based Agentic Memory Architecture for AI Agents
MAGMA introduces a multi-graph, relation-disentangled memory (semantic, temporal, causal, entity) for AI agents and retrieves evidence via policy-guided graph traversal, achieving better long-horizon reasoning with lower latency than prior MAG systems.
Memory-Augmented Generation (MAG) extends Large Language Models with external memory to support long-context reasoning, but existing approaches largely rely on semantic similarity over monolithic memory stores, entangling temporal, causal, and entity information. This design limits interpretability and alignment between query intent and retrieved evidence, leading to suboptimal reasoning accuracy. In this paper, we propose MAGMA, a multi-graph agentic memory architecture that represents each memory item across orthogonal semantic, temporal, causal, and entity graphs. MAGMA formulates retrieval as policy-guided traversal over these relational views, enabling query-adaptive selection and structured context construction. By decoupling memory representation from retrieval logic, MAGMA provides transparent reasoning paths and fine-grained control over retrieval. Experiments on LoCoMo and LongMemEval demonstrate that MAGMA consistently outperforms state-of-the-art agentic memory systems in long-horizon reasoning tasks.
Motivation & Objective
- Address limitations of monolithic memory in MAG systems for long-horizon reasoning.
- Propose a multi-graph memory substrate separating semantic, temporal, causal, and entity relations.
- Develop an adaptive, intent-aware retrieval policy to traverse relational views efficiently.
- Decouple memory ingestion from reasoning via a dual-stream (fast ingestion, asynchronous consolidation) workflow.
- Demonstrate improvements on LoCoMo and LongMemEval benchmarks over state-of-the-art baselines.
Proposed method
- Represent memory as a time-variant directed multigraph with four orthogonal relation graphs (semantic, temporal, causal, entity).
- Use a hierarchical, intent-aware query router to decompose queries and guide retrieval across multiple views.
- Compute a dynamic transition score S(nj|ni,q) that fuses structural alignment with semantic similarity for graph traversal.
- Serialize retrieved subgraphs into a structured, provenance-backed narrative prompt to reduce hallucinations.
- Implement a dual-stream memory evolution with fast synaptic ingestion and asynchronous structural consolidation.
Experimental results
Research questions
- RQ1Can a multi-graph memory substrate improve long-horizon reasoning compared to monolithic or semantically-driven MAG systems?
- RQ2Does an adaptive, intent-aware traversal policy improve retrieval efficiency and grounding quality for long-context tasks?
- RQ3Can decoupling memory ingestion from consolidation maintain responsiveness while deepening relational structure?
- RQ4How does MAGMA perform on long-context benchmarks (LoCoMo, LongMemEval) relative to state-of-the-art baselines?
Key findings
- MAGMA achieves the highest overall judge score on LoCoMo (0.700) among evaluated methods, outperforming Full Context, A-MEM, MemoryOS, and Nemori.
- MAGMA shows strong temporal inference and adversarial robustness, with judge scores of 0.650 and 0.742 respectively.
- On LongMemEval, MAGMA attains the highest average accuracy (61.2%), while using far fewer tokens per query (0.7k–4.2k) than Full Context.
- MAGMA exhibits lowest query latency (1.47s) and competitive token cost (3.37k) among baselines, due to adaptive traversal and dual-stream design.
- Ablation indicates the traversal policy is critical, and causal/temporal structures contribute substantial gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.