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

*Alessandro Favero, Antonio Sclocchi, Matthieu Wyart*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/156775) · [Open on the map](../papers.html#p156775)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Generative Model Generalization and Memorization](../pgroup/598.md) · Type: new method · Keywords: diffusion models, generalization vs memorization, early stopping, overparameterization, kernel regression bound, phase diagram

## Summary
The paper shows that early stopping in overparameterized diffusion models can optimize generalization by scaling the stopping criterion with dataset size, revealing a phase diagram of generalization versus memorization.

## Explained to a 5-year-old
Diffusion models are robots that learn to draw pictures and write words. They practice by adding and removing noise while looking at many examples. When they practice a lot, they start copying the exact examples they saw. If you stop them before they practice too long, they learn the general ideas instead of copying. This helps them make better pictures and text without remembering private stuff.

## Explained to a 5-year-old, longer
Diffusion models are computer programs that learn to create new pictures and words. They do this by gradually adding and removing noise while looking at many examples. When they practice a lot, they can start copying the exact examples they saw, which is called memorization. This can be a problem because they might repeat private information. The researchers noticed that if you stop the learning process before it goes too far, the models learn the general ideas instead of copying. They discovered that the time it takes to start copying depends on how many examples the model sees. Bigger datasets need more practice before copying begins. By watching this timing, they found a simple rule to know when to stop training. This rule helps the models focus on the overall patterns rather than the specific details. The researchers also studied a simple grammar learning task to see how the models learn deeper rules over time. They created a phase diagram that shows the relationship between generalization and memorization. Overall, the work shows that stopping at the right moment can improve the quality of generated images and text while protecting privacy.

## For a technical reader
The paper analyzes how diffusion models transition from learning general patterns to memorizing training data. By measuring the timing of these phases across image and language tasks, the authors derive a bound linking memorization time to dataset size. They also illustrate the dynamics using a simplified grammar learning experiment and present a phase diagram that visualizes the trade-off. The findings suggest a practical early-stopping strategy that can be tuned based on dataset size to improve model generalization and mitigate privacy risks.

## Problem
Understanding why overparameterized diffusion models memorize rather than generalize, and how to control the trade-off between generalization and memorization during training.

## Method
The authors investigate the temporal competition between generalization and memorization in overparameterized diffusion models, empirically measuring the onset of each across image and language tasks, and theoretically linking memorization time to dataset size via a kernel-regression bound. They also examine a simplified grammar learning setting to illustrate hierarchical rule acquisition and present a phase diagram that captures the trade-off.

## Results
The study finds that memorization onset scales linearly with dataset size and that stopping training at an appropriate time yields better generalization before memorization begins.

## Contributions
It provides an empirical law linking memorization time to dataset size, a theoretical kernel-regression bound, and a phase diagram that together explain the generalization-memorization trade-off in diffusion models, including insights from a simplified grammar learning setting.

## Practical relevance
The findings enable safer deployment of diffusion models in privacy-sensitive contexts and guide hyperparameter transfer across tasks.

## Research questions this paper is counted under

- [How do diffusion models balance memorization of training data versus genuine generalization to unseen samples?](../q/71.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/156775)
