MemChain: Learning Interpretable Memory Traces for Memory-Augmented LLM Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Memory-augmented LLM agents typically answer queries by retrieving relevant memories and feeding them directly to an answer model. This retrieval-as-evidence paradigm assumes retrieved memories are already suitable for reasoning, leaving the answer model to resolve redundancy, conflicts, and weak relevance while incurring substantial context overhead in long-term memory tasks. We propose MemChain, a trainable post-retrieval memory policy that transforms retrieved candidates into answer-facing active memory, represented as a compact and grounded evidence context. Given a user query and retrieved candidates, MemChain first generates a question-conditioned evidence plan, then constructs an ordered grounded evidence trace that organizes retrieved memories according to their semantic roles and dependencies, and finally executes explicit memory actions to produce a concise evidence context for answer generation. To train the mediator, we introduce a two-stage learning framework. Supervised trace learning first teaches the policy to generate structurally valid plans, traces, actions, and evidence contexts. We then propose Trace-Guided Memory Policy Optimization (TMPO), a reinforcement learning objective that optimizes the memory policy using downstream answer quality while jointly encouraging trace grounding, evidence support, structural validity, and answer stability across multiple rollouts. Experiments on LoCoMo and LongMemEval-S demonstrate that MemChain consistently achieves state-of-the-art performance across both closed-source and open-weight frozen answer models while substantially reducing the memory context passed to the answer model.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 35 of its 49 references that are in the map. First posted on arXiv 27 Jul 2026.
Builds on
35 of 49 references.
Closest ancestors · 20
Same direction, newest first
- 2026EvolveMem:Self-Evolving Memory Architecture via AutoResearch for LLM Agents13 May
- 2026Tree-based Credit Assignment for Multi-Agent Memory System6 May
- 2026HiGMem: A Hierarchical and LLM-Guided Memory System for Long-Term Conversational Agents20 Apr
- 2026GAM: Hierarchical Graph-based Agentic Memory for LLM Agents14 Apr
- 2026Oblivion: Self-Adaptive Agentic Memory Control through Decay-Driven Activation31 Mar
- 2026MemoryCD: Benchmarking Long-Context User Memory of LLM Agents for Lifelong Cross-Domain Personalization26 Mar
- 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers8 Mar
- 2026Memex(RL): Scaling Long-Horizon LLM Agents via Indexed Experience Memory4 Mar
- 2026Choosing How to Remember: Adaptive Memory Structures for LLM Agents15 Feb
- 2026PlugMem: A Task-Agnostic Plugin Memory Module for LLM Agents6 Feb
- 2026FadeMem: Biologically-Inspired Forgetting for Efficient Agent Memory26 Jan
- 2026Chain-of-Memory: Lightweight Memory Construction with Dynamic Evolution for LLM Agents14 Jan
8 more
- 2026HiMem: Hierarchical Long-Term Memory for LLM Long-Horizon Agents10 Jan
- 2026Membox: Weaving Topic Continuity into Long-Range Memory for LLM Agents7 Jan
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents5 Jan
- 2025In Prospect and Retrospect: Reflective Memory Management for Long-term Personalized Dialogue Agents11 Mar
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memory20 Jan
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
- 2024A Human-Inspired Reading Agent with Gist Memory of Very Long Contexts15 Feb
Other references · 15
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2025Reinforcement Learning with Verifiable yet Noisy Rewards under Imperfect Verifierscited by 45
- 2026Dynamic Dual-Granularity Skill Bank for Agentic RLcited by 34
- 2026AMemGym: Interactive Memory Benchmarking for Assistants in Long-Horizon Conversationscited by 20
- 2026MemBuilder: Reinforcing LLMs for Long-Term Memory Construction via Attributed Dense Rewardscited by 13
3 more
- 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Frameworkcited by 12
- 2026MedSynapse-V: Bridging Visual Perception and Clinical Intuition via Latent Memory Evolutioncited by 12
- 2026UCOB: Learning to Utilize and Evolve Agentic Skills via Credit-Aware On-Policy Bidirectional Self-Distillationcited by 12
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026MemRetriever: Learning to Search, Reflect, and Retrieve from Long-Term Memory ↗
- 2025MemR3: Memory Retrieval via Reflective Reasoning for LLM Agents
- 2026MemReread: Enhancing Agentic Long-Context Reasoning via Memory-Guided Rereading
- 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents
- 2026MemoryCPT: An End-to-End Agent Memory Framework for Cost-Performance Trade-off
- 2026DeferMem: Query-Time Evidence Distillation via Reinforcement Learning for Long-Term Agent Memory
- 2026Recall What Is Missing: Composing Evidence from Long-Term Agent Memory
- 2026Learning to Remember: End-to-End Training of Memory Agents for Long-Context Reasoning