Learning to Remember: End-to-End Training of Memory Agents for Long-Context Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
Long-context LLMs and Retrieval-Augmented Generation defer state tracking and evidence consolidation to query time, which is brittle when facts evolve and answers depend on latent states. We introduce Unified Memory Agent (UMA) for a one-to-many setting: query-agnostic external memory is constructed once from a stream and reused across multiple future QA sessions. A single policy maintains a structured Memory Bank through CRUD operations and answers using both the Memory Bank and raw context. Task-Stratified GRPO uses the mean reward of QA trajectories branching from each sampled memory state to supervise memory maintenance, while normalizing memory and per-question QA groups separately. We also introduce Ledger-QA, a diagnostic benchmark for long-horizon state tracking over accumulated updates. At the 16k budget, UMA-Generalist achieves the highest average score among compared methods across the test-time-learning and accurate-retrieval benchmarks and transfers to Ledger-QA without task-specific training; UMA-Specialist further improves long-horizon tracking after task adaptation. These results support learned proactive memory management for long-context reasoning.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 30 of its 54 references that are in the map. First posted on arXiv 13 Feb 2026.
Builds on
30 of 54 references.
Closest ancestors · 3
Same direction, newest first
- 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents27 Sep
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent3 Jul
- 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents18 Jun
Other references · 27
- 2017Attention Is All You Needcited by 59,932
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 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
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
15 more
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memorycited by 372
- 2025Memory in the Age of AI Agentscited by 285
- 2021Beyond Goldfish Memory: Long-Term Open-Domain Conversationcited by 266
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 236
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 220
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 160
- 2024MemoRAG: Boosting Long Context Processing with Global Memory-Enhanced Retrieval Augmentationcited by 118
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 99
- 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Frameworkcited by 98
- 2020Memory Transformercited by 74
- 2024PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Synthesis in Question Answeringcited by 34
- 2025QwenLong-L1.5: Post-Training Recipe for Long-Context Reasoning and Memory Managementcited by 24
- 2024Self-Updatable Large Language Models by Integrating Context into Model Parameterscited by 21
- 2026Mem-T: Densifying Rewards for Long-Horizon Memory Agentscited by 14
- 2025Convomem Benchmark: Why Your First 150 Conversations Don't Need RAGcited by 10
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026TOKI: A Bitemporal Operator Algebra for Contradiction Resolution in LLM-Agent Persistent Memorycited by 7
- 2026PM-Bench: Evaluating Prospective Memory in LLM Agentscited by 6
- 2026Mem-π: Adaptive Memory through Learning When and What to Generatecited by 3
- 2026DimMem: Dimensional Structuring for Efficient Long-Term Agent Memorycited by 2
- 2026D2ACCI: A Dual-Loop Diagnostic Protocol for Evidence-Preserving Agent Memorycited by 0
- 2026MoM: Memory of Memorycited by 0
- 2026MoM: Memory of Memory7 Sep 2026
- 2026D2ACCI: A Dual-Loop Diagnostic Protocol for Evidence-Preserving Agent Memory18 Aug 2026
- 2026PM-Bench: Evaluating Prospective Memory in LLM Agents14 Jul 2026
- 2026TOKI: A Bitemporal Operator Algebra for Contradiction Resolution in LLM-Agent Persistent Memory4 Jun 2026
- 2026Mem-π: Adaptive Memory through Learning When and What to Generate20 May 2026
- 2026DimMem: Dimensional Structuring for Efficient Long-Term Agent Memory15 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026MemoryCPT: An End-to-End Agent Memory Framework for Cost-Performance Trade-off
- 2026Towards Autonomous Memory Agents
- 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents
- 2026MemChain: Learning Interpretable Memory Traces for Memory-Augmented LLM Agents
- 2026MemReread: Enhancing Agentic Long-Context Reasoning via Memory-Guided Rereading
- 2026Evaluating Memory Structure in LLM Agents
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects