Larimar: Large Language Models with Episodic Memory Control
Not on the map. Why?
Abstract (arXiv)
Efficient and accurate updating of knowledge stored in Large Language Models (LLMs) is one of the most pressing research challenges today. This paper presents Larimar - a novel, brain-inspired architecture for enhancing LLMs with a distributed episodic memory. Larimar's memory allows for dynamic, one-shot updates of knowledge without the need for computationally expensive re-training or fine-tuning. Experimental results on multiple fact editing benchmarks demonstrate that Larimar attains accuracy comparable to most competitive baselines, even in the challenging sequential editing setup, but also excels in speed - yielding speed-ups of 8-10x depending on the base LLM - as well as flexibility due to the proposed architecture being simple, LLM-agnostic, and hence general. We further provide mechanisms for selective fact forgetting, information leakage prevention, and input context length generalization with Larimar and show their effectiveness. Our code is available at https://github.com/IBM/larimar
Key facts. Cited by 53 papers in the map (data through 7 Oct 2026). Builds on 41 of its 60 references that are in the map. First posted on arXiv 18 Mar 2024.
Builds on
41 of 60 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2022Mass-Editing Memory in a Transformercited by 976
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2014Neural Turing Machinescited by 630
29 more
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2021Fast Model Editing at Scalecited by 491
- 2022Memory-Based Model Editing at Scalecited by 443
- 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 367
- 2014Memory Networkscited by 354
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
- 2022Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptorscited by 267
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2016Key-Value Memory Networks for Directly Reading Documentscited by 223
- 2020Modifying Memories in Transformer Modelscited by 222
- 2023In-Context Unlearning: Language Models as Few Shot Unlearnerscited by 214
- 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMscited by 211
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2023Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attackscited by 156
- 2016Model-Free Episodic Controlcited by 100
- 2023EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Modelscited by 97
- 2024Model Editing at Scale leads to Gradual and Catastrophic Forgettingcited by 92
- 2023Unveiling the Pitfalls of Knowledge Editing for Large Language Modelscited by 43
- 2017Unbounded cache model for online language modeling with open vocabularycited by 37
- 2017Variational Memory Addressing in Generative Modelscited by 17
- 2018The Kanerva Machine: A Generative Distributed Memorycited by 13
- 2018Learning Attractor Dynamics for Generative Memorycited by 6
- 2021Kanerva++: extending The Kanerva Machine with differentiable, locally block allocated latent memorycited by 3
Built on by
Citing papers per year: 2024: 9; 2025: 23; 2026: 21.
53 papers.
Sort:
By area:
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 160
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2024Human-inspired Episodic Memory for Infinite Context LLMscited by 62
- 2024Machine Unlearning in Generative AI: A Surveycited by 49
- 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 49
- 2026Skill-Pro: Learning Reusable Skills from Experience via Non-Parametric PPO for LLM Agentscited by 44
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topicscited by 36
- 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agentscited by 35
- 2024Needle in the Haystack for Memory Based Large Language Modelscited by 32
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 19
- 2024Neuron-Level Sequential Editing for Large Language Modelscited by 18
38 more
- 2025Embodied Agents Meet Personalization: Investigating Challenges and Solutions Through the Lens of Memory Utilizationcited by 15
- 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Modelscited by 14
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memorycited by 12
- 2025A Simple "Try Again" Can Elicit Multi-Turn LLM Reasoningcited by 11
- 2024Assessing Episodic Memory in LLMs with Sequence Order Recall Taskscited by 9
- 2025AI Awarenesscited by 6
- 2025Beyond Fact Retrieval: Episodic Memory for RAG with Generative Semantic Workspacescited by 6
- 2024MindForge: Empowering Embodied Agents with Theory of Mind for Lifelong Cultural Learningcited by 5
- 2025ExAnte: A Benchmark for Ex-Ante Inference in Large Language Modelscited by 5
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Modelscited by 4
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agentscited by 4
- 2025Scopes of Alignmentcited by 3
- 2025Enhancing Reasoning with Collaboration and Memorycited by 3
- 2026BMAM: Brain-inspired Multi-Agent Memory Frameworkcited by 3
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agentscited by 3
- 2025Memory Helps, but Confabulation Misleads: Understanding Streaming Events in Videos with MLLMscited by 2
- 2025Can Memory-Augmented Language Models Generalize on Reasoning-in-a-Haystack Tasks?cited by 2
- 2025Memorization and Knowledge Injection in Gated LLMscited by 2
- 2025Attention is All You Need Until You Need Retentioncited by 1
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generationcited by 1
- 2025Growing Through Experience: Scaling Episodic Grounding in Language Modelscited by 1
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Modelscited by 1
- 2025COSMIR: Chain Orchestrated Structured Memory for Iterative Reasoning over Long Contextcited by 1
- 2025BudgetMem: Training-Free Selective Memory for Cost-Efficient Long-Context Processing in Language Modelscited by 1
- 2026LLM-as-RNN: A Recurrent Language Model for Memory Updates and Sequence Predictioncited by 1
- 2026LiveMem: Maintaining Memory State Continuity in Long-Running LLM Inferencecited by 1
- 2026Memory Is Not Always Needed: Characterizing Conditional Memory in Scientific Reasoningcited by 1
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformerscited by 0
- 2026The Dynamic Gist-Based Memory Model (DGMM): A Memory-Centric Architecture for Artificial Intelligencecited by 0
- 2026The Echo Amplifies the Knowledge: Somatic Marker Analogues in Language Models via Emotion Vector Re-Injectioncited by 0
- 2026LANTERN: Layered Archival and Temporal Episodic Retrieval Network for Long-Context LLM Conversationscited by 0
- 2026Position: Hippocampal Explicit Memory Is the Cornerstone for AGIcited by 0
- 2026EVAF: A Test-Retest Protocol for Selective Parametric Consolidationcited by 0
- 2026Surprise as a Signal for Plasticity and Metacognitioncited by 0
- 2026MIITA: Memory-Induced Inference-Time Adaptation for Continual Learning with Small Language Modelscited by 0
- 2026Transfiver: Human-AI Co-Inference through a Shared Editable Statecited by 0
- 2026An Interpretable Memory Decision Controller for LLM Agents Based on Three-Signal Complementarity: Decoupling Confidence and Consistencycited by 0
50 most cited of 53 All 53 (JSON)
- 2026Remember Before You're Asked: MemDream for Self-Probing Memory Evolution28 Sep 2026
- 2026Memory as a cache: Exact context reuse and deletion by construction26 Sep 2026
- 2026HasMem: Hard-Origin Adaptively Softened Memory for Long-Term LLM Agents25 Sep 2026
- 2026An Interpretable Memory Decision Controller for LLM Agents Based on Three-Signal Complementarity: Decoupling Confidence and Consistency18 Sep 2026
- 2026Transfiver: Human-AI Co-Inference through a Shared Editable State3 Sep 2026
- 2026Memory Is Not Always Needed: Characterizing Conditional Memory in Scientific Reasoning25 Aug 2026
- 2026LiveMem: Maintaining Memory State Continuity in Long-Running LLM Inference3 Aug 2026
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents9 Jul 2026
- 2026Surprise as a Signal for Plasticity and Metacognition30 Jun 2026
- 2026EVAF: A Test-Retest Protocol for Selective Parametric Consolidation29 Jun 2026
- 2026Position: Hippocampal Explicit Memory Is the Cornerstone for AGI5 Jun 2026
- 2026MIITA: Memory-Induced Inference-Time Adaptation for Continual Learning with Small Language Models20 May 2026
38 more
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agents20 May 2026
- 2026The Echo Amplifies the Knowledge: Somatic Marker Analogues in Language Models via Emotion Vector Re-Injection9 May 2026
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanisms7 May 2026
- 2026The Dynamic Gist-Based Memory Model (DGMM): A Memory-Centric Architecture for Artificial Intelligence4 May 2026
- 2026LANTERN: Layered Archival and Temporal Episodic Retrieval Network for Long-Context LLM Conversations18 Apr 2026
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers22 Mar 2026
- 2026Skill-Pro: Learning Reusable Skills from Experience via Non-Parametric PPO for LLM Agents2 Feb 2026
- 2026BMAM: Brain-inspired Multi-Agent Memory Framework28 Jan 2026
- 2026LLM-as-RNN: A Recurrent Language Model for Memory Updates and Sequence Prediction19 Jan 2026
- 2025Beyond Fact Retrieval: Episodic Memory for RAG with Generative Semantic Workspaces10 Nov 2025
- 2025BudgetMem: Training-Free Selective Memory for Cost-Efficient Long-Context Processing in Language Models7 Nov 2025
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Models8 Oct 2025
- 2025COSMIR: Chain Orchestrated Structured Memory for Iterative Reasoning over Long Context6 Oct 2025
- 2025Mem-α: Learning Memory Construction via Reinforcement Learning30 Sep 2025
- 2025A Simple "Try Again" Can Elicit Multi-Turn LLM Reasoning18 Jul 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agents10 Jul 2025
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Models23 Jun 2025
- 2025Growing Through Experience: Scaling Episodic Grounding in Language Models2 Jun 2025
- 2025ExAnte: A Benchmark for Ex-Ante Inference in Large Language Models26 May 2025
- 2025Embodied Agents Meet Personalization: Investigating Challenges and Solutions Through the Lens of Memory Utilization22 May 2025
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics1 May 2025
- 2025Memorization and Knowledge Injection in Gated LLMs30 Apr 2025
- 2025AI Awareness25 Apr 2025
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generation17 Mar 2025
- 2025Can Memory-Augmented Language Models Generalize on Reasoning-in-a-Haystack Tasks?10 Mar 2025
- 2025Enhancing Reasoning with Collaboration and Memory7 Mar 2025
- 2025Memory Helps, but Confabulation Misleads: Understanding Streaming Events in Videos with MLLMs21 Feb 2025
- 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agents10 Feb 2025
- 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Models21 Jan 2025
- 2025Scopes of Alignment15 Jan 2025
- 2025Attention is All You Need Until You Need Retention15 Jan 2025
- 2024MindForge: Empowering Embodied Agents with Theory of Mind for Lifelong Cultural Learning20 Nov 2024
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memory1 Nov 2024
- 2024Assessing Episodic Memory in LLMs with Sequence Order Recall Tasks10 Oct 2024
- 2024Neuron-Level Sequential Editing for Large Language Models5 Oct 2024
- 2024Towards LifeSpan Cognitive Systems20 Sep 2024
- 2024Machine Unlearning in Generative AI: A Survey30 Jul 2024
50 newest of 53 All 53 (JSON)
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 160
- 2026Skill-Pro: Learning Reusable Skills from Experience via Non-Parametric PPO for LLM Agentscited by 44
- 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agentscited by 35
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 19
- 2025Embodied Agents Meet Personalization: Investigating Challenges and Solutions Through the Lens of Memory Utilizationcited by 15
- 2024MindForge: Empowering Embodied Agents with Theory of Mind for Lifelong Cultural Learningcited by 5
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agentscited by 4
- 2026BMAM: Brain-inspired Multi-Agent Memory Frameworkcited by 3
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agentscited by 3
- 2026An Interpretable Memory Decision Controller for LLM Agents Based on Three-Signal Complementarity: Decoupling Confidence and Consistencycited by 0
- 2026HasMem: Hard-Origin Adaptively Softened Memory for Long-Term LLM Agentscited by 0
- 2026Remember Before You're Asked: MemDream for Self-Probing Memory Evolutioncited by 0
- 2026Remember Before You're Asked: MemDream for Self-Probing Memory Evolution28 Sep 2026
- 2026HasMem: Hard-Origin Adaptively Softened Memory for Long-Term LLM Agents25 Sep 2026
- 2026An Interpretable Memory Decision Controller for LLM Agents Based on Three-Signal Complementarity: Decoupling Confidence and Consistency18 Sep 2026
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents9 Jul 2026
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agents20 May 2026
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanisms7 May 2026
- 2026Skill-Pro: Learning Reusable Skills from Experience via Non-Parametric PPO for LLM Agents2 Feb 2026
- 2026BMAM: Brain-inspired Multi-Agent Memory Framework28 Jan 2026
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agents10 Jul 2025
- 2025Embodied Agents Meet Personalization: Investigating Challenges and Solutions Through the Lens of Memory Utilization22 May 2025
- 2025Position: Episodic Memory is the Missing Piece for Long-Term LLM Agents10 Feb 2025
- 2024MindForge: Empowering Embodied Agents with Theory of Mind for Lifelong Cultural Learning20 Nov 2024
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topicscited by 36
- 2025A Simple "Try Again" Can Elicit Multi-Turn LLM Reasoningcited by 11
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Modelscited by 4
- 2025Enhancing Reasoning with Collaboration and Memorycited by 3
- 2025Can Memory-Augmented Language Models Generalize on Reasoning-in-a-Haystack Tasks?cited by 2
- 2025COSMIR: Chain Orchestrated Structured Memory for Iterative Reasoning over Long Contextcited by 1
- 2026Memory Is Not Always Needed: Characterizing Conditional Memory in Scientific Reasoningcited by 1
- 2026Memory Is Not Always Needed: Characterizing Conditional Memory in Scientific Reasoning25 Aug 2026
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Models8 Oct 2025
- 2025COSMIR: Chain Orchestrated Structured Memory for Iterative Reasoning over Long Context6 Oct 2025
- 2025A Simple "Try Again" Can Elicit Multi-Turn LLM Reasoning18 Jul 2025
- 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics1 May 2025
- 2025Can Memory-Augmented Language Models Generalize on Reasoning-in-a-Haystack Tasks?10 Mar 2025
- 2025Enhancing Reasoning with Collaboration and Memory7 Mar 2025
- 2025Scopes of Alignmentcited by 3
- 2025Scopes of Alignment15 Jan 2025
- 2024Machine Unlearning in Generative AI: A Surveycited by 49
- 2024Machine Unlearning in Generative AI: A Survey30 Jul 2024
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2024Human-inspired Episodic Memory for Infinite Context LLMscited by 62
- 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 49
- 2024Needle in the Haystack for Memory Based Large Language Modelscited by 32
- 2024Neuron-Level Sequential Editing for Large Language Modelscited by 18
- 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Modelscited by 14
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memorycited by 12
- 2024Assessing Episodic Memory in LLMs with Sequence Order Recall Taskscited by 9
- 2025AI Awarenesscited by 6
- 2025Beyond Fact Retrieval: Episodic Memory for RAG with Generative Semantic Workspacescited by 6
12 most cited of 30 All 30 (JSON)
- 2026Transfiver: Human-AI Co-Inference through a Shared Editable State3 Sep 2026
- 2026LiveMem: Maintaining Memory State Continuity in Long-Running LLM Inference3 Aug 2026
- 2026Surprise as a Signal for Plasticity and Metacognition30 Jun 2026
- 2026EVAF: A Test-Retest Protocol for Selective Parametric Consolidation29 Jun 2026
- 2026Position: Hippocampal Explicit Memory Is the Cornerstone for AGI5 Jun 2026
- 2026MIITA: Memory-Induced Inference-Time Adaptation for Continual Learning with Small Language Models20 May 2026
- 2026The Echo Amplifies the Knowledge: Somatic Marker Analogues in Language Models via Emotion Vector Re-Injection9 May 2026
- 2026The Dynamic Gist-Based Memory Model (DGMM): A Memory-Centric Architecture for Artificial Intelligence4 May 2026
- 2026LANTERN: Layered Archival and Temporal Episodic Retrieval Network for Long-Context LLM Conversations18 Apr 2026
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers22 Mar 2026
- 2026LLM-as-RNN: A Recurrent Language Model for Memory Updates and Sequence Prediction19 Jan 2026
- 2025Beyond Fact Retrieval: Episodic Memory for RAG with Generative Semantic Workspaces10 Nov 2025
12 newest of 30 All 30 (JSON)