LM2: Large Memory Models
Not on the map. Why?
Abstract (arXiv)
This paper introduces the Large Memory Model (LM2), a decoder-only Transformer architecture enhanced with an auxiliary memory module that aims to address the limitations of standard Transformers in multi-step reasoning, relational argumentation, and synthesizing information distributed over long contexts. The proposed LM2 incorporates a memory module that acts as a contextual representation repository, interacting with input tokens via cross attention and updating through gating mechanisms. To preserve the Transformers general-purpose capabilities, LM2 maintains the original information flow while integrating a complementary memory pathway. Experimental results on the BABILong benchmark demonstrate that the LM2model outperforms both the memory-augmented RMT model by 37.1% and the baseline Llama-3.2 model by 86.3% on average across tasks. LM2 exhibits exceptional capabilities in multi-hop inference, numerical reasoning, and large-context question-answering. On the MMLU dataset, it achieves a 5.0% improvement over a pre-trained vanilla model, demonstrating that its memory module does not degrade performance on general tasks. Further, in our analysis, we explore the memory interpretability, effectiveness of memory modules, and test-time behavior. Our findings emphasize the importance of explicit memory in enhancing Transformer architectures.
Key facts. Cited by 13 papers in the map (data through 13 Oct 2026). Builds on 16 of its 24 references that are in the map. First posted on arXiv 9 Feb 2025.
Builds on
16 of 24 references.
References · 16
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
- 2024The Llama 3 Herd of Modelscited by 14,486
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,221
- 2020Measuring Massive Multitask Language Understandingcited by 7,876
- 2020Scaling Laws for Neural Language Modelscited by 6,494
- 2020Longformer: The Long-Document Transformercited by 3,393
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,835
- 2020Big Bird: Transformers for Longer Sequencescited by 1,681
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,126
- 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 310
4 more
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 212
- 2019Hierarchical Transformers for Multi-Document Summarizationcited by 132
- 2020GMAT: Global Memory Augmentation for Transformerscited by 36
- 2023LaFFi: Leveraging Hybrid Natural Language Feedback for Fine-tuning Language Modelscited by 3
Built on by
Citing papers per year: 2025: 6; 2026: 7.
13 papers.
Sort:
By area:
- 2025Memory in the Age of AI Agentscited by 291
- 2025A Survey of Context Engineering for Large Language Modelscited by 122
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
- 2025NeSyPr: Neurosymbolic Proceduralization For Efficient Embodied Reasoningcited by 5
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Contextcited by 3
- 2026Memory for Large Language Modelscited by 3
- 2025Gradual Forgetting: Logarithmic Compression for Extending Transformer Context Windowscited by 1
- 2025Echo State Transformer: Attention Over Finite Memoriescited by 0
- 2026Implicit Graph, Explicit Retrieval: Towards Efficient and Interpretable Long-horizon Memory for Large Language Modelscited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026Repeated Shared Access Enables Grokking, but Edit Propagation Depends on an Addressable Memorycited by 0
- 2026LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretrainingcited by 0
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation30 Sep 2026
- 2026LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretraining12 Aug 2026
- 2026Memory for Large Language Models28 Jul 2026
- 2026Repeated Shared Access Enables Grokking, but Edit Propagation Depends on an Addressable Memory17 Jun 2026
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context2 Apr 2026
- 2026Implicit Graph, Explicit Retrieval: Towards Efficient and Interpretable Long-horizon Memory for Large Language Models6 Jan 2026
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2025Gradual Forgetting: Logarithmic Compression for Extending Transformer Context Windows25 Oct 2025
- 2025NeSyPr: Neurosymbolic Proceduralization For Efficient Embodied Reasoning22 Oct 2025
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architectures14 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
1 more
- 2025Echo State Transformer: Attention Over Finite Memories25 Jun 2025
- 2025NeSyPr: Neurosymbolic Proceduralization For Efficient Embodied Reasoningcited by 5
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillationcited by 0
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation30 Sep 2026
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2025NeSyPr: Neurosymbolic Proceduralization For Efficient Embodied Reasoning22 Oct 2025
- 2025Memory in the Age of AI Agentscited by 291
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Contextcited by 3
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context2 Apr 2026
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2025A Survey of Context Engineering for Large Language Modelscited by 122
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
- 2026Memory for Large Language Modelscited by 3
- 2025Gradual Forgetting: Logarithmic Compression for Extending Transformer Context Windowscited by 1
- 2025Echo State Transformer: Attention Over Finite Memoriescited by 0
- 2026Implicit Graph, Explicit Retrieval: Towards Efficient and Interpretable Long-horizon Memory for Large Language Modelscited by 0
- 2026Repeated Shared Access Enables Grokking, but Edit Propagation Depends on an Addressable Memorycited by 0
- 2026Memory for Large Language Models28 Jul 2026
- 2026Repeated Shared Access Enables Grokking, but Edit Propagation Depends on an Addressable Memory17 Jun 2026
- 2026Implicit Graph, Explicit Retrieval: Towards Efficient and Interpretable Long-horizon Memory for Large Language Models6 Jan 2026
- 2025Gradual Forgetting: Logarithmic Compression for Extending Transformer Context Windows25 Oct 2025
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architectures14 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025Echo State Transformer: Attention Over Finite Memories25 Jun 2025