mlsanityData to 7 Oct 2026

Learning to Remember: End-to-End Training of Memory Agents for Long-Context Reasoning

arXiv 2602.18493 ↗First posted 13 Feb 2026cs.LG cs.AIcited by 6

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

  1. 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents27 Sep
  2. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent3 Jul
  3. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agents18 Jun

Other references · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  6. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  7. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
  8. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  9. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 800
  10. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  11. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
  12. 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 622
15 more
  1. 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memorycited by 372
  2. 2025Memory in the Age of AI Agentscited by 285
  3. 2021Beyond Goldfish Memory: Long-Term Open-Domain Conversationcited by 266
  4. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 236
  5. 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 220
  6. 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 160
  7. 2024MemoRAG: Boosting Long Context Processing with Global Memory-Enhanced Retrieval Augmentationcited by 118
  8. 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 99
  9. 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Frameworkcited by 98
  10. 2020Memory Transformercited by 74
  11. 2024PerLTQA: A Personal Long-Term Memory Dataset for Memory Classification, Retrieval, and Synthesis in Question Answeringcited by 34
  12. 2025QwenLong-L1.5: Post-Training Recipe for Long-Context Reasoning and Memory Managementcited by 24
  13. 2024Self-Updatable Large Language Models by Integrating Context into Model Parameterscited by 21
  14. 2026Mem-T: Densifying Rewards for Long-Horizon Memory Agentscited by 14
  15. 2025Convomem Benchmark: Why Your First 150 Conversations Don't Need RAGcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026MemoryCPT: An End-to-End Agent Memory Framework for Cost-Performance Trade-off
  2. 2026Towards Autonomous Memory Agents
  3. 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
  4. 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents
  5. 2026MemChain: Learning Interpretable Memory Traces for Memory-Augmented LLM Agents
  6. 2026MemReread: Enhancing Agentic Long-Context Reasoning via Memory-Guided Rereading
  7. 2026Evaluating Memory Structure in LLM Agents
  8. 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects