跳到正文
arXiv cs.AI· Bao Pham·· 57 分钟前AI 评分45

从能量模型与联想记忆看生成模型的记忆与泛化

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

AI 导读

Bao Pham 在 arXiv 论文中论证生成模型的记忆与泛化可以共存于同一检索过程。研究显示扩散模型表现为联想记忆:数据少时每个训练样本形成独立的吸引盆,数据增多后吸引盆收缩并出现混合样本的伪态;均匀态离散扩散模型则能仅靠条件似然最大化检索未见数据,条件熵可诊断模型所处转变阶段。

正文 · 原文

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)

来源:arXiv cs.AI · arxiv.org