Skip to content
AI News HubLIVE
Original source3 min read

Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory

Summary

This thesis frames generative models through associative memory (AM): patterns are stored as energy minima and retrieved via attractor dynamics. Diffusion models form sample-specific basins with little data; as data grows, basins shrink and spurious states—blends of stored samples—emerge as the first sign of generation. Uniform-state discrete diffusion models can retrieve unseen data purely via conditional likelihood maximization, and conditional entropy diagnoses where a model lies along the memorization-to-generalization transition.

SourcearXiv AIAuthor: Bao Pham
Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 19 Nov 2026]

Title:Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory

View a PDF of the paper titled Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory, by Bao Pham

View PDF HTML (experimental)

Abstract: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.

Comments: A thesis that discusses the coexistence of memorization and generalization in generative models

Subjects:

Artificial Intelligence (cs.AI); Computer Vision and Pattern Recognition (cs.CV); Machine Learning (cs.LG); Machine Learning (stat.ML)

Cite as: arXiv:2611.26797 [cs.AI]

(or arXiv:2611.26797v1 [cs.AI] for this version)

https://doi.org/10.48550/arXiv.2611.26797

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Bao Pham [view email] [v1] Thu, 19 Nov 2026 20:40:38 UTC (40,290 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory, by Bao Pham

View PDF

HTML (experimental)

TeX Source

view license

Additional Features

Audio Summary

Current browse context:

cs.AI

new | recent | 2026-11

Change to browse by:

cs cs.CV cs.LG stat stat.ML

References & Citations

SciX

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Diffusion models behave as associative memories, with basins of attraction around training samples and spurious states appearing as generative capability emerges.
  • Spurious states, long seen as memory failure, are reframed as the beginning of creative blending.
  • Uniform-state discrete diffusion models retrieve unseen corrupted sentences through attractor dynamics arising from conditional likelihood maximization alone.
  • Conditional entropy cheaply exposes whether a model is memorizing or generalizing within a single sequence.

Highlights and analysis are generated automatically and may contain errors. Check the original source.