Memory Mosaics at scale
Not on the map. Why?
Abstract (arXiv)
Memory Mosaics [Zhang et al., 2025], networks of associative memories, have demonstrated appealing compositional and in-context learning capabilities on medium-scale networks (GPT-2 scale) and synthetic small datasets. This work shows that these favorable properties remain when we scale memory mosaics to large language model sizes (llama-8B scale) and real-world datasets. To this end, we scale memory mosaics to 10B size, we train them on one trillion tokens, we introduce a couple architectural modifications ("Memory Mosaics v2"), we assess their capabilities across three evaluation dimensions: training-knowledge storage, new-knowledge storage, and in-context learning. Throughout the evaluation, memory mosaics v2 match transformers on the learning of training knowledge (first dimension) and significantly outperforms transformers on carrying out new tasks at inference time (second and third dimensions). These improvements cannot be easily replicated by simply increasing the training data for transformers. A memory mosaics v2 trained on one trillion tokens still perform better on these tasks than a transformer trained on eight trillion tokens.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 26 of its 36 references that are in the map. First posted on arXiv 4 Jul 2025.
Builds on
26 of 36 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019Invariant Risk Minimizationcited by 1,854
- 2020GLU Variants Improve Transformercited by 1,804
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
14 more
- 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 486
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2019A Meta-Transfer Objective for Learning to Disentangle Causal Mechanismscited by 158
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
- 2019Augmenting Self-attention with Persistent Memorycited by 93
- 2024Changing Answer Order Can Decrease MMLU Accuracycited by 42
- 2022Disentanglement of Correlated Factors via Hausdorff Factorized Supportcited by 37
- 2024Memory Mosaicscited by 16
- 2025AI for the Open-World: the Learning Principlescited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2026Fast-weight Product Key Memorycited by 13
- 2025Short window attention enables long-term memorizationcited by 11
- 2025A Single Character can Make or Break Your LLM Evalscited by 5
- 2026Sparse Attention as Compact Kernel Regressioncited by 2
- 2026Post-training is (Massive) Supervised Learningcited by 0
- 2026Post-training is (Massive) Supervised Learning20 Apr 2026
- 2026Sparse Attention as Compact Kernel Regression30 Jan 2026
- 2026Fast-weight Product Key Memory2 Jan 2026
- 2025A Single Character can Make or Break Your LLM Evals2 Oct 2025
- 2025Short window attention enables long-term memorization29 Sep 2025