arXiv Machine Learning

Bigger Isn't Always Memorizing: Early Stopping Overparameterized Diffusion Models

The paper investigates how overparameterized diffusion models generalize before they begin to memorize training data. Experiments across image and language diffusion models show that memorization time scales with dataset size, aligning with a kernel‑regression bound. The authors illustrate this trade‑off with a simple probabilistic context‑free grammar, producing a phase diagram that guides principled early‑stopping to optimize generalization while preventing memorization.

arXiv AI
Sep 3

Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data

The paper investigates when language diffusion models, specifically Uniform-based Discrete Diffusion Models (UDDMs), shift from memorizing training data to generalizing to new data. It shows that UDDMs act as associative memories, forming basins of attraction around stored examples without requiring an explicit energy function. By measuring token recovery and conditional entropy, the authors identify a sharp transition governed by training set size, where memorization (vanishing entropy) gives way to generalization (finite entropy).

By Bao Pham, Mohammed J. Zaki, Luca Ambrogioni, Dmitry Krotov, Matteo Negri
arXiv Machine Learning
Oct 28

Information-Theoretic Scaling Laws for Generative Diffusion Training

The paper introduces an information-theoretic measure called model information to quantify how much a diffusion model’s outputs depend on its specific training dataset. By analyzing how this measure scales with model size and dataset size, the authors identify two distinct regimes: a nonlinear regime where memorization transitions to imperfect generalization, and a linear regime where generalization improves and sample quality rises. They propose a scaling law that captures these regimes and demonstrate that it can predict memorization and sample quality beyond the fitted data range.

By Druv Pai, Dejan Stancevic, Yi Ma, Luca Ambrogioni
arXiv AI
1d ago

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

The paper investigates how generative models, particularly diffusion models, can be understood as associative memory systems where patterns are stored as energy minima and retrieved via attractor dynamics. It shows that with limited data, diffusion models create distinct basins of attraction around each training sample, but as data increases these basins shrink and spurious states—new minima that blend stored samples—emerge, signaling the onset of generative capability. The study extends this view to language models, demonstrating that uniform-state discrete diffusion models also act as associative memories, with basins around unseen data expanding as training data grows, allowing corrupted test sentences to be recovered reliably. The authors argue that memorization and generalization coexist within a single retrieval process, offering a framework to determine when a generative model recalls versus creates.

By Bao Pham
arXiv Machine Learning
Jun 10

The Emergence of Reproducibility and Generalizability in Diffusion Models

arXiv:2310. 05264v5 Announce Type: replace Abstract: In this work, we investigate an intriguing and prevalent phenomenon of diffusion models which we term as "consistent model reproducibility": given the same starting noise input and a deterministic sampler, different diffusion models often yield remarkably similar outputs.

By Huijie Zhang, Jinfan Zhou, Yifu Lu, Minzhe Guo, Peng Wang, Liyue Shen, Qing Qu
arXiv Machine Learning
Oct 9

Memorization and Malign Generalization in Conditional Diffusion Models with Random Features

The paper studies memorization and generalization in conditional diffusion models using a random-feature conditional score model in a high-dimensional setting. It derives asymptotic expressions for training and test losses, showing that in overparameterized regimes wider models better predict the condition-dependent mean but also exhibit reduced within-condition variance, a behavior termed "malign generalization." The analysis also reveals that more informative conditions cause training samples to be memorized at smaller widths, with experimental validation on U‑Net architectures.

By Gwangho Kim, Sungyoon Lee
arXiv Machine Learning
5d ago

Extracting Training Data from Diffusion Language Models via Infilling

The paper introduces infilling extraction, a new protocol for probing memorization in diffusion language models (DLMs) that uses arbitrary binary masks to exploit their bidirectional denoising capability. Experiments on LLaDA‑8B and Dream‑7B across multiple extraction modes, training pipelines, and corpora show that mask geometry significantly affects extractability, with edge‑conditioned masks retrieving up to three times more verbatim sequences than prefix‑only probes. Targeted infilling also boosts PII recall on fine‑tuned DLMs by 2.5–4.5× over prefix‑only methods, narrowing the gap to autoregressive models and sometimes surpassing them for specific data types.

By Yihan Wang, N. Asokan
Hugging Face Trending Papers
Jun 10

Teaching Diffusion to Speculate Left-to-Right

Large language models (LLMs) achieve remarkable performance across a wide range of tasks, but their autoregressive decoding process incurs substantial inference costs due to inherently sequential token generation. Speculative decoding addresses this bottleneck by employing a lightweight draft model to propose multiple future tokens that are subsequently verified in parallel by a larger target model.

arXiv Machine Learning
Oct 9

Beyond Sample Copying: Structural Memorization in Diffusion Models

The paper investigates why diffusion models, despite their practical success, can fully memorize training data when optimal. It shows that as training proceeds, the denoising objective causes overfitting at intermediate noise levels, creating a gap between validation and training performance. In a 2D toy model, this gap arises from the interplay between model error and the data distribution’s support density, leading to a smooth, generalizing flow field rather than exact recall of training points. The study also reveals that predictions from intermediate inference states become increasingly similar to training data in feature space, even as overall similarity to validation data remains unchanged.

By Tim Kaiser, Markus Kollmann