Introduction
Large language models can recite long passages of their training data, yet diffusion models—also massively overparameterized—manage to learn concepts without reproducing any specific training image. A NeurIPS 2025 Oral paper from Marc Mezard's group (statistical physics) offers an elegant answer: the secret lies in two distinct timescales in the training dynamics.
Key Points
- Two timescales govern training:
- τ_gen — the time when the model begins producing high-quality samples. Remarkably, τ_gen is constant: it barely changes whether you train on 1,000 or 100,000 images.
- τ_mem — the time when the model starts copying individual training examples. τ_mem grows linearly with dataset size: more data pushes memorization further into the future.
- The 'safe window': Combining these gives a window that widens with more data:
- 1,000 images: τ_gen ≈ 50 epochs, τ_mem ≈ 150 epochs → a 100-epoch window.
- 10,000 images: τ_mem ≈ 1,050 epochs → a 1,000-epoch window.
- 100,000 images: τ_mem ≈ 10,050 epochs → normal training essentially never reaches it.
- Why generalization is fast: shared statistical features (e.g., 'cats have pointed ears') recur in every sample and are reinforced every epoch.
- Why memorization is slow: each image is unique; its details require dedicated parameter capacity, and the per-image signal appears only once per epoch. Training dynamics thus give generalization a natural priority—an *implicit dynamical regularization*.
- Resolving an apparent contradiction: overparameterized models *can* memorize (even random labels), but 'having the capacity' is different from 'having the time.' Standard training stops before τ_mem arrives.
- Beyond a critical threshold: when dataset size exceeds a model-size-dependent threshold n*, τ_mem is pushed to infinity—the model never overfits, because the generalization signal completely dominates.
- Validation: experiments with U-Nets on real and synthetic data, plus theoretical analysis via a solvable random-feature model in the high-dimensional limit.
- Title: Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in Training
- Authors: Tony Bonnaire, Raphaël Urfin, Giulio Biroli, Marc Mezard
- Venue: NeurIPS 2025 (Oral)
- Link: OpenReview
Takeaway
No explicit regularization tricks are needed: generalization is simply the fast process, memorization the slow one. With enough data, the memorization 'train' never arrives—an emergent property of the training dynamics themselves.