Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory
On the map: Diffusion models → Discrete and text diffusion also fits: Diffusion foundations and sampling
Abstract (arXiv)
Generative models now write working code, produce realistic images, and hold long conversations, yet the mechanisms behind their intelligence still evade our understanding. This thesis explores that puzzle through Associative Memory (AM), in which patterns are stored as energy minima and retrieved through attractor dynamics. Beyond their capacity, AMs form new minima known as spurious states, long regarded as a failure of memory. We argue that this failure is where creativity begins, and that memorization and generalization can coexist as outcomes of one retrieval process. First, we show that diffusion models behave as AMs. With little data, a diffusion model forms a distinct basin of attraction around each training sample. As the data grows, these basins shrink, and spurious states emerge as attractors that blend stored samples yet match none of them. They are the first signs of generative capability. We characterize this transition by measuring the volume, energy, and curvature of these basins across datasets and architectures, including Stable Diffusion. We then turn to language and move beyond the energy-based view of AM. We show that uniform-state discrete diffusion models are AMs capable of retrieving unseen data, with basins of attraction that arise from conditional likelihood maximization alone. As the training set grows, basins around training examples contract while basins around unseen examples expand, until corrupted test sentences are recovered as reliably as training ones. Conditional entropy exposes this coexistence within a single sequence and cheaply diagnoses where a model lies along the transition. Together, these results suggest that AM is a general principle defined by basins of attraction, and that memorization and generalization can coexist within one model. AM thus offers a framework for asking when a generative model recalls and when it creates.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 21 of its 174 references that are in the map. Submitted 19 Nov 2026, announced 23 Nov 2026.
Builds on
21 of 174 references.
References · 21
- 2014Adam: A Method for Stochastic Optimizationcited by 38,596
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,673
- 2020Scaling Laws for Neural Language Modelscited by 7,118
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,543
- 2013Auto-Encoding Variational Bayescited by 4,449
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 2,138
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,378
- 2014NICE: Non-linear Independent Components Estimationcited by 1,100
- 2013Generating Sequences With Recurrent Neural Networkscited by 578
- 2021How to Train Your Energy-Based Modelscited by 293
- 2025Hierarchical Reasoning Modelcited by 216
- 2017Searching for Activation Functionscited by 212
9 more
- 2021GraphEBM: Molecular Graph Generation with Energy-Based Modelscited by 89
- 2023A Reproducible Extraction of Training Images from Diffusion Modelscited by 67
- 2025Less is More: Recursive Reasoning with Tiny Networkscited by 52
- 2023On the De-duplication of LAION-2Bcited by 51
- 2024Losing dimensions: Geometric memorization in generative diffusioncited by 38
- 2021Hierarchical Associative Memorycited by 37
- 2023Memory in Plain Sight: Surveying the Uncanny Resemblances of Associative Memories and Diffusion Modelscited by 18
- 2024Beyond Scaling Laws: Understanding Transformer Performance with Associative Memorycited by 16
- 2026The Rules-and-Facts Model for Simultaneous Generalization and Memorization in Neural Networkscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Memorization to Generalization: Emergence of Diffusion Models from Associative Memory
- 2026Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data
- 2023In search of dispersed memories: Generative diffusion models are associative memory networks
- 2025Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in Training
- 2026From Gist to Verbatim: The Controllable Path of One Image Through a Diffusion Prior
- 2026Diffusion Models Preferentially Memorize Prototypical Examples or: Why Does My Diffusion Model Love Slop?
- 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task
- 2025A Closer Look at Model Collapse: From a Generalization-to-Memorization Perspective