mlsanityData to 7 Oct 2026

RaMem: Contextual Reinstatement for Long-term Agentic Memory

arXiv 2606.22844 ↗First posted 22 Jun 2026cs.AI cs.MAcited by 5

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

Long-term memory has become increasingly important for LLM agents that operate across extended interactions and evolving task contexts. Recent memory systems have made past experiences more persistent, compact, and retrievable, but retrieval alone does not ensure that a memory provides valid evidence for the current query. When experiences are compressed into reusable fragments, memories from different situations may appear equally relevant if they involve recurring entities or user states. We refer to this failure as context collapse: memories lose the surrounding context needed to judge whether they provide valid evidence for the current query. To address this problem, we propose Contextual Reinstatement for Agentic Memory (RaMem), a framework that turns retrieved memory fragments into contextually verifiable evidence. RaMem operates through four coordinated stages: (i) evidence anchoring grounds each memory in its original episodic conditions, especially event time, mention time, session span, and participants; (ii) recall condition induction derives the evidence conditions implied by the query; (iii) validity-aware retrieval uses these conditions to prioritize context-compatible memories while retaining content-relevant candidates as fallback evidence; and (iv) context-preserved synthesis keeps the selected memories' structured context available to the generator. Experiments on long-term memory benchmarks show that RaMem consistently improves performance over strong memory baselines, with average F1 gains of more than 10% across several backbones.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 73 of its 85 references that are in the map. First posted on arXiv 22 Jun 2026.

Builds on

73 of 85 references.

Closest ancestors · 18

Same direction, newest first

  1. 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers8 Mar
  2. 2026Adaptive Memory Admission Control for LLM Agents4 Mar
  3. 2026SimpleMem: Efficient Lifelong Memory for LLM Agents5 Jan
  4. 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agents5 Jan
  5. 2025MemR3: Memory Retrieval via Reflective Reasoning for LLM Agents23 Dec
  6. 2025Memory in the Age of AI Agents15 Dec
  7. 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolution11 Dec
  8. 2025O-Mem: Omni Memory System for Personalized, Long Horizon, Self-Evolving Agents17 Nov
  9. 2025What Deserves Memory: Adaptive Memory Distillation for LLM Agents5 Aug
  10. 2025Memory OS of AI Agent30 May
  11. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
  12. 2025In Prospect and Retrospect: Reflective Memory Management for Long-term Personalized Dialogue Agents11 Mar
6 more
  1. 2025A-MEM: Agentic Memory for LLM Agents17 Feb
  2. 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agents10 Feb
  3. 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memory20 Jan
  4. 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
  5. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
  6. 2024A Human-Inspired Reading Agent with Gist Memory of Very Long Contexts15 Feb

Other references · 55

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  8. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  9. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  10. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  11. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  12. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
38 more
  1. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  2. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
  3. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  4. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
  5. 2023Active Retrieval Augmented Generationcited by 506
  6. 2024LightRAG: Simple and Fast Retrieval-Augmented Generationcited by 310
  7. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
  8. 2025Agentic Retrieval-Augmented Generation: A Survey on Agentic RAGcited by 242
  9. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
  10. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 163
  11. 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 117
  12. 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Frameworkcited by 98
  13. 2024TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategycited by 47
  14. 2023Panoptic Scene Graph Generation with Semantics-Prototype Learningcited by 42
  15. 2025Treble Counterfactual VLMs: A Causal Approach to Hallucinationcited by 33
  16. 2024TS-Reasoner: Domain-Oriented Time Series Inference Agents for Reasoning and Automated Analysiscited by 28
  17. 2024DPU: Dynamic Prototype Updating for Multimodal Out-of-Distribution Detectioncited by 28
  18. 2025A Survey of Reasoning and Agentic Systems in Time Series with Large Language Modelscited by 21
  19. 2026REMem: Reasoning with Episodic Memory in Language Agentcited by 20
  20. 2025Secure On-Device Video OOD Detection Without Backpropagationcited by 19
  21. 2025Learning to Deliberate: Meta-policy Collaboration for Agentic LLMs with Multi-agent Reinforcement Learningcited by 18
  22. 2025HDLCoRe: A Training-Free Framework for Mitigating Hallucinations in LLM-Generated HDLcited by 17
  23. 2025R4ec: A Reasoning, Reflection, and Refinement Framework for Recommendation Systemscited by 16
  24. 2026Auditing Multi-Agent LLM Reasoning Trees Outperforms Majority Vote and LLM-as-Judgecited by 16
  25. 2025VeriMoA: A Mixture-of-Agents Framework for Spec-to-HDL Generationcited by 15
  26. 2026TemporalBench: A Benchmark for Evaluating LLM-Based Agents on Contextual and Event-Informed Time Series Taskscited by 15
  27. 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Modelscited by 14
  28. 2025Maestro: Learning to Collaborate via Conditional Listwise Policy Optimization for Multi-Agent LLMscited by 14
  29. 2026Self-Compression of Chain-of-Thought via Multi-Agent Reinforcement Learningcited by 13
  30. 2025When LLM Meets Time Series: Can LLMs Perform Multi-Step Time Series Reasoning and Inferencecited by 12
  31. 2026POET: Power-Oriented Evolutionary Tuning for LLM-Based RTL PPA Optimizationcited by 11
  32. 2026FORTIS: Benchmarking Over-Privilege in Agent Skillscited by 11
  33. 2026Defenses Against Prompt Attacks Learn Surface Heuristicscited by 10
  34. 2025ClimateLLM: Efficient Weather Forecasting via Frequency-Aware Large Language Modelscited by 9
  35. 2026Adaptive Collaboration with Humans: Metacognitive Policy Optimization for Multi-Agent LLMs with Continual Learningcited by 9
  36. 2026The Autonomy Tax: Defense Training Breaks LLM Agentscited by 8
  37. 2025TrackRec: Iterative Alternating Feedback with Chain-of-Thought via Preference Alignment for Recommendationcited by 7
  38. 2026OASES: Outcome-Aligned Search-Evaluation Co-Training for Agentic Searchcited by 7

50 most cited of 55 All 55 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Understanding and Mitigating Inference-Time Overreliance Using Agentic Memory
  2. 2026Memory Control Signals Emerge Before Action in Long Horizon Agents
  3. 2026RippleMem: From Isolated Retrieval to Associative Recollection for Long-Term Agent Memory
  4. 2026From Recall to Forgetting: Benchmarking Long-Term Memory for Personalized Agents
  5. 2026Causal Intervention-Based Memory Selection for Long-Horizon LLM Agents
  6. 2026MemHarness: Memory Is Reconstructed, Not Replayed
  7. 2026Less Context, More Accuracy: A Bi-Temporal Memory Engine for LLM Agents Where a Lean Retrieved Context Beats the Full History
  8. 2026Learning What to Remember: A Cognitively Grounded Multi-Factor Value Model for Agentic Memory