MemMachine: A Ground-Truth-Preserving Memory System for Personalized AI Agents
On the map: Retrieval-augmented generation → Agentic RAG, agents and memory
also in 1 more
Abstract (arXiv)
Large Language Model (LLM) agents require persistent memory to maintain personalization, factual continuity, and long-horizon reasoning, yet standard context-window and retrieval-augmented generation (RAG) pipelines degrade over multi-session interactions. We present MemMachine, an open-source memory system that integrates short-term, long-term episodic, and profile memory within a ground-truth-preserving architecture that stores entire conversational episodes and reduces lossy LLM-based extraction. MemMachine uses contextualized retrieval that expands nucleus matches with surrounding context, improving recall when relevant evidence spans multiple dialogue turns. Across benchmarks, MemMachine achieves strong accuracy-efficiency tradeoffs: on LoCoMo it reaches 0.9169 using gpt4.1-mini; on LongMemEvalS (ICLR 2025), a six-dimension ablation yields 93.0 percent accuracy, with retrieval-stage optimizations -- retrieval depth tuning (+4.2 percent), context formatting (+2.0 percent), search prompt design (+1.8 percent), and query bias correction (+1.4 percent) -- outperforming ingestion-stage gains such as sentence chunking (+0.8 percent). GPT-5-mini exceeds GPT-5 by 2.6 percent when paired with optimized prompts, making it the most cost-efficient setup. Compared to Mem0, MemMachine uses roughly 80 percent fewer input tokens under matched conditions. A companion Retrieval Agent adaptively routes queries among direct retrieval, parallel decomposition, or iterative chain-of-query strategies, achieving 93.2 percent on HotpotQA-hard and 92.6 percent on WikiMultiHop under randomized-noise conditions. These results show that preserving episodic ground truth while layering adaptive retrieval yields robust, efficient long-term memory for personalized LLM agents.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation. Builds on 14 of its 26 references that are in the map. First posted on arXiv 6 Apr 2026.
Builds on
14 of 26 references.
References · 14
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 800
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memorycited by 372
- 2025Memory in the Age of AI Agentscited by 285
- 2025MemOS: A Memory OS for AI Systemcited by 129
- 2025Agent Lightning: Train ANY AI Agents with Reinforcement Learningcited by 94
2 more
Built on by
Citing papers per year: 2026: 14.
14 papers.
Sort:
By area:
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 14
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systemscited by 12
- 2026User as Code: Executable Memory for Personalized Agentscited by 7
- 2026PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agentscited by 3
- 2026User as Engram: Internalizing Per-User Memory as Local Parametric Editscited by 2
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agentscited by 1
- 2026Synthius-Mem: Brain-Inspired Hallucination-Resistant Persona Memory Achieving 94.4% Memory Accuracy and 99.6% Adversarial Robustness on LoCoMocited by 0
- 2026Memory as Metabolism: A Design for Companion Knowledge Systemscited by 0
- 2026Beyond Memory Leaderboards: Evaluating Scientific Memory as Budgeted Context Restorationcited by 0
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Datacited by 0
- 2026Blast Radiuscited by 0
- 2026The Sleeping Agent: What Gist-Based Context Compression Loses and Whycited by 0
2 more
- 2026Mnemon: Raw Records, Fast Judgments, Slow Thoughts28 Sep 2026
- 2026D2ACCI: A Dual-Loop Diagnostic Protocol for Evidence-Preserving Agent Memory18 Aug 2026
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents15 Aug 2026
- 2026The Sleeping Agent: What Gist-Based Context Compression Loses and Why12 Aug 2026
- 2026Blast Radius7 Aug 2026
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Data29 Jul 2026
- 2026Beyond Memory Leaderboards: Evaluating Scientific Memory as Budgeted Context Restoration18 Jul 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun 2026
- 2026User as Engram: Internalizing Per-User Memory as Local Parametric Edits17 Jun 2026
- 2026User as Code: Executable Memory for Personalized Agents15 Jun 2026
- 2026PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agents10 Jun 2026
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systems24 May 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 14
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systemscited by 12
- 2026PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agentscited by 3
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agentscited by 1
- 2026Beyond Memory Leaderboards: Evaluating Scientific Memory as Budgeted Context Restorationcited by 0
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Datacited by 0
- 2026Blast Radiuscited by 0
- 2026The Sleeping Agent: What Gist-Based Context Compression Loses and Whycited by 0
- 2026D2ACCI: A Dual-Loop Diagnostic Protocol for Evidence-Preserving Agent Memorycited by 0
- 2026D2ACCI: A Dual-Loop Diagnostic Protocol for Evidence-Preserving Agent Memory18 Aug 2026
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents15 Aug 2026
- 2026The Sleeping Agent: What Gist-Based Context Compression Loses and Why12 Aug 2026
- 2026Blast Radius7 Aug 2026
- 2026Setoka: A Benchmark for Hierarchical User Understanding in Personalized Agents over Heterogeneous Data29 Jul 2026
- 2026Beyond Memory Leaderboards: Evaluating Scientific Memory as Budgeted Context Restoration18 Jul 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun 2026
- 2026PROJECTMEM: A Local-First, Event-Sourced Memory and Judgment Layer for AI Coding Agents10 Jun 2026
- 2026MemMark: State-Evolution Attribution Watermarking for Agent Long-Term Memory Systems24 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026AgentMemBench: A Systematic Benchmark for Evaluating Long-Term Memory Management Strategies in Conversational AI Agents
- 2026APEX-MEM: Agentic Semi-Structured Memory with Temporal Reasoning for Long-Term Conversational AI
- 2026Cognis: Context-Aware Memory for Conversational AI Agents
- 2026Beyond the Context Window: A Cost-Performance Analysis of Fact-Based Memory vs. Long-Context LLMs for Persistent Agents
- 2026MemFit: Efficient Long-Term Agentic Memory
- 2026MemRefine: LLM-Guided Compression for Long-Term Agent Memory
- 2025Memoria: A Scalable Agentic Memory Framework for Personalized Conversational AI
- 2025MemR3: Memory Retrieval via Reflective Reasoning for LLM Agents