Meta-memorization and memorization scaling laws in transformers
New in LLM pre-training data and scaling laws; no direction yet. LLM pre-training data and scaling laws
Abstract (arXiv)
Larger transformers can memorize more data, with a capacity (in bits) that scales roughly linearly with the number of parameters. Counterintuitively, larger models also memorize faster, requiring fewer repetitions of a sequence during training before it is memorized. We reproduce both memorization scaling laws in transformers trained on random binary sequences, showing that rapid memorization can arise even when data contain no semantic or compositional structure. Rapid memorization is due to a meta-memorization effect, where models trained to memorize a large set of random sequences learn to memorize novel sequences more quickly. The rate r(t) at which models memorize grows with training time t as a power-law r(t) ~ tβ with a fixed exponent β but an increasing upper cutoff across model scales. Meta-memorization enables even one-layer transformers to few-shot memorize a 100-bit sequence. This effect is partly explained by the formation of structured attention heads that convey position-invariant sequence information to MLPs where memorized sequences are stored. Meta-memorization is recapitulated in a simplified model of a dense associative memory where retrieval is constrained by an attentional bottleneck. Our results suggest transformers, through pre-training, acquire reusable mechanisms that enable highly efficient storage and retrieval of memories.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 26 of its 31 references that are in the map. Submitted 1 Nov 2026.
Builds on
26 of 31 references.
References · 26
- 2017Attention Is All You Needcited by 62,125
- 2018Representation Learning with Contrastive Predictive Codingcited by 8,178
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,424
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 887
- 2022Quantifying Memorization Across Neural Language Modelscited by 810
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 578
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 564
- 2020Hopfield Networks is All You Needcited by 517
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 463
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 327
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 326
14 more
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 228
- 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 167
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 150
- 2025How much do language models memorize?cited by 70
- 2024Understanding Factual Recall in Transformers via Associative Memoriescited by 65
- 2024Demystifying Verbatim Memorization in Large Language Modelscited by 60
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 46
- 2024Measuring memorization in language models via probabilistic extractioncited by 45
- 2024The broader spectrum of in-context learningcited by 39
- 2025Extracting memorized pieces of (copyrighted) books from open-weight language modelscited by 36
- 2025The emergence of sparse attention: impact of data distribution and benefits of repetitioncited by 27
- 2026Incompressible Knowledge Probes: Estimating Black-Box LLM Parameter Counts via Factual Capacitycited by 20
- 2026Extracting books from production language modelscited by 19
- 2026A Comparative Analysis of LLM Memorization at Statistical and Internal Levels: Cross-Model Commonalities and Model-Specific Signaturescited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2021How BPE Affects Memorization in Transformers
- 2025Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers
- 2023AttMEMO : Accelerating Transformers with Memoization on Big Memory Systems
- 2025Analyzing Memorization in Large Language Models through the Lens of Model Attribution
- 2025How Transformers Learn In-Context Recall Tasks? Optimality, Training Dynamics and Generalization
- 2025Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in Training
- 2026Diffusion Models Preferentially Memorize Prototypical Examples or: Why Does My Diffusion Model Love Slop?