AI & Computingarticle2026-10-25

Emergence of diffusion models from associative memory through memorization and generalization

Open access0 citations

Abstract

Abstract Dense Associative Memories (DenseAMs) are generalizations of Hopfield networks that store training data at local minima of the energy landscape. When the amount of training data exceeds the critical memory storage capacity, new local minima (different from the training data) emerge. These emergent local minima, known as spurious states, can hinder memory retrieval. We examine diffusion models (DMs) through the DenseAM lens, viewing their generative process as an attempt of a memory retrieval. In the small data regime, DMs create distinct attractors for each training sample, akin to DenseAMs below the critical capacity. As the training set size increases, DMs transition to generalization. We identify a critical intermediate phase, predicted by DenseAM theory, characterized by the emergence of spurious states. In generative modeling, these previously overlooked states are no longer negative artifacts but rather are the first signs of generative capabilities. Their existence is demonstrated across a wide range of architectures and datasets.

// Source

View paper (DOI)Open access versionOpenAlexNature CommunicationsPublished 2026-10-25

Authors: Bao Pham, Gabriel Raya, Matteo Negri, Mohammed Javeed Zaki, Luca Ambrogioni, Dmitry Krotov

Institutions: Radboud University Nijmegen, Rensselaer Polytechnic Institute, Tilburg University, Sapienza University of Rome, CY Cergy Paris Université, Donders Institute for Brain, Cognition and Behaviour, IBM Research - Cambridge (United States)