Scaling Laws for Associative Memories
Not on the map. Why?
Abstract (arXiv)
Learning arguably involves the discovery and memorization of abstract rules. The aim of this paper is to study associative memory mechanisms. Our model is based on high-dimensional matrices consisting of outer products of embeddings, which relates to the inner layers of transformer language models. We derive precise scaling laws with respect to sample size and parameter size, and discuss the statistical efficiency of different estimators, including optimization-based algorithms. We provide extensive numerical experiments to validate and interpret theoretical results, including fine-grained visualizations of the stored memory associations.
Key facts. Cited by 35 papers in the map (data through 14 Oct 2026). Builds on 25 of its 43 references that are in the map. First posted on arXiv 4 Oct 2023.
Builds on
25 of 43 references.
References · 25
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2022Toy Models of Superpositioncited by 971
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 497
- 2020Hopfield Networks is All You Needcited by 475
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
- 2021Explaining Neural Scaling Lawscited by 363
13 more
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 320
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 288
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2022Memorizing Transformerscited by 226
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2017Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradientscited by 139
- 2023The Quantization Model of Neural Scalingcited by 138
- 2022A Solvable Model of Neural Scaling Lawscited by 116
- 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
- 2019Augmenting Self-attention with Persistent Memorycited by 93
- 2021Learning Curve Theorycited by 85
- 2023Tensor Programs IVb: Adaptive Optimization in the Infinite-Width Limitcited by 38
- 2023Multiperiodic Processes: Ergodic Sources with a Sublinear Entropycited by 9
Built on by
Citing papers per year: 2024: 14; 2025: 10; 2026: 11.
35 papers.
Sort:
By area:
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2025How Do Large Language Monkeys Get Their Power (Laws)?cited by 43
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
- 2024A Simple Model of Inference Scaling Lawscited by 36
- 2024Large Language Models as Markov Chainscited by 35
- 2025Taming Knowledge Conflicts in Language Modelscited by 30
- 2026Deriving Neural Scaling Laws from the statistics of natural languagecited by 23
- 2024BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield Modelcited by 21
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
- 2024Learning Associative Memories with Gradient Descentcited by 16
- 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 15
23 more
- 2024Neural Scaling Laws Rooted in the Data Distributioncited by 15
- 2025When Models Don't Collapse: On the Consistency of Iterative MLEcited by 13
- 2025Emergence of Linear Truth Encodings in Language Modelscited by 12
- 2025Position: Solve Layerwise Linear Models First to Understand Neural Dynamical Phenomena (Neural Collapse, Emergence, Lazy/Rich Regime, and Grokking)cited by 9
- 2024AlphaZero Neural Scaling and Zipf's Law: a Tale of Board Games and Power Lawscited by 7
- 2024Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Featurescited by 5
- 2025Provable Benefits of In-Tool Learning for Large Language Modelscited by 4
- 2025From Zipf's Law to Neural Scaling through Heaps' Law and Hilberg's Hypothesiscited by 3
- 2026Sharp Capacity Thresholds in Linear Associative Memory: From Top-1 Retrieval to Tail-Average Learningcited by 3
- 2024Semantically-correlated memories in a dense associative modelcited by 2
- 2024Memorization in Attention-only Transformerscited by 2
- 2025The Features at Convergence Theorem: a first-principles alternative to the Neural Feature Ansatz for how networks learn representationscited by 2
- 2025Attention with Trained Embeddings Provably Selects Important Tokenscited by 1
- 2026Factual recall in linear associative memories: sharp asymptotics and mechanistic insightscited by 1
- 2026Geometric Factual Recall in Transformerscited by 1
- 2026Fine-Tuning Dynamics of In-Context Factual Recall in Transformerscited by 1
- 2026MLPs are Hebbians: Constructing Efficient Fact-Storing MLPs for Transformerscited by 1
- 2024Rethinking Associative Memory Mechanism in Induction Headcited by 0
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamicscited by 0
- 2026Single-Layer MeMo as a Randomized Hamming-Kernel Classifiercited by 0
- 2026Muon Learns Facts Better: Understanding the Role of Spectral Orthogonalizationcited by 0
- 2026Divergence controls entropy in distillationcited by 0
- 2026Exact Scaling Laws for a Random-Features Bigram Modelcited by 0
- 2026Exact Scaling Laws for a Random-Features Bigram Model13 Oct 2026
- 2026Divergence controls entropy in distillation2 Oct 2026
- 2026Muon Learns Facts Better: Understanding the Role of Spectral Orthogonalization2 Oct 2026
- 2026Single-Layer MeMo as a Randomized Hamming-Kernel Classifier28 Sep 2026
- 2026MLPs are Hebbians: Constructing Efficient Fact-Storing MLPs for Transformers10 Jul 2026
- 2026Fine-Tuning Dynamics of In-Context Factual Recall in Transformers26 May 2026
- 2026Geometric Factual Recall in Transformers12 May 2026
- 2026Factual recall in linear associative memories: sharp asymptotics and mechanistic insights11 May 2026
- 2026Sharp Capacity Thresholds in Linear Associative Memory: From Top-1 Retrieval to Tail-Average Learning6 May 2026
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics21 Mar 2026
- 2026Deriving Neural Scaling Laws from the statistics of natural language7 Feb 2026
- 2025From Zipf's Law to Neural Scaling through Heaps' Law and Hilberg's Hypothesis15 Dec 2025
23 more
- 2025Emergence of Linear Truth Encodings in Language Models17 Oct 2025
- 2025Provable Benefits of In-Tool Learning for Large Language Models28 Aug 2025
- 2025The Features at Convergence Theorem: a first-principles alternative to the Neural Feature Ansatz for how networks learn representations8 Jul 2025
- 2025When Models Don't Collapse: On the Consistency of Iterative MLE25 May 2025
- 2025Attention with Trained Embeddings Provably Selects Important Tokens22 May 2025
- 2025Taming Knowledge Conflicts in Language Models14 Mar 2025
- 2025Position: Solve Layerwise Linear Models First to Understand Neural Dynamical Phenomena (Neural Collapse, Emergence, Lazy/Rich Regime, and Grokking)28 Feb 2025
- 2025How Do Large Language Monkeys Get Their Power (Laws)?24 Feb 2025
- 2025Test-time regression: a unifying framework for designing sequence models with associative memory21 Jan 2025
- 2024AlphaZero Neural Scaling and Zipf's Law: a Tale of Board Games and Power Laws16 Dec 2024
- 2024Rethinking Associative Memory Mechanism in Induction Head16 Dec 2024
- 2024Neural Scaling Laws Rooted in the Data Distribution10 Dec 2024
- 2024Memorization in Attention-only Transformers15 Nov 2024
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes30 Oct 2024
- 2024A Simple Model of Inference Scaling Laws21 Oct 2024
- 2024Large Language Models as Markov Chains3 Oct 2024
- 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers26 Jun 2024
- 2024Semantically-correlated memories in a dense associative model10 Apr 2024
- 2024BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield Model4 Apr 2024
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Models4 Apr 2024
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models4 Apr 2024
- 2024Learning Associative Memories with Gradient Descent28 Feb 2024
- 2024Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Features5 Feb 2024
- 2026Divergence controls entropy in distillationcited by 0
- 2026Divergence controls entropy in distillation2 Oct 2026
- 2024Rethinking Associative Memory Mechanism in Induction Head16 Dec 2024
- 2025How Do Large Language Monkeys Get Their Power (Laws)?cited by 43
- 2025How Do Large Language Monkeys Get Their Power (Laws)?24 Feb 2025
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
- 2024A Simple Model of Inference Scaling Lawscited by 36
- 2024Large Language Models as Markov Chainscited by 35
- 2025Taming Knowledge Conflicts in Language Modelscited by 30
- 2026Deriving Neural Scaling Laws from the statistics of natural languagecited by 23
- 2024BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield Modelcited by 21
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
- 2024Learning Associative Memories with Gradient Descentcited by 16
- 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 15
- 2024Neural Scaling Laws Rooted in the Data Distributioncited by 15
12 most cited of 30 All 30 (JSON)
- 2026Exact Scaling Laws for a Random-Features Bigram Model13 Oct 2026
- 2026Muon Learns Facts Better: Understanding the Role of Spectral Orthogonalization2 Oct 2026
- 2026Single-Layer MeMo as a Randomized Hamming-Kernel Classifier28 Sep 2026
- 2026MLPs are Hebbians: Constructing Efficient Fact-Storing MLPs for Transformers10 Jul 2026
- 2026Fine-Tuning Dynamics of In-Context Factual Recall in Transformers26 May 2026
- 2026Geometric Factual Recall in Transformers12 May 2026
- 2026Factual recall in linear associative memories: sharp asymptotics and mechanistic insights11 May 2026
- 2026Sharp Capacity Thresholds in Linear Associative Memory: From Top-1 Retrieval to Tail-Average Learning6 May 2026
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics21 Mar 2026
- 2026Deriving Neural Scaling Laws from the statistics of natural language7 Feb 2026
- 2025From Zipf's Law to Neural Scaling through Heaps' Law and Hilberg's Hypothesis15 Dec 2025
- 2025Emergence of Linear Truth Encodings in Language Models17 Oct 2025
12 newest of 30 All 30 (JSON)