过参数化扩散模型研究:早停可优化泛化并避免记忆化
Bigger Isn't Always Memorizing: Early Stopping Overparameterized Diffusion Models
针对高度过参数化的扩散模型,研究发现自然数据域中的泛化会在记忆化开始前随训练逐步达成,记忆化时间与数据集规模成正比,与低噪声下拟合经验分数的核回归界一致。在图像与语言扩散模型以及随机规则的概率上下文无关文法实验中,泛化表现为随训练时间获取更深层文法规则,泛化与记忆化可视为时间尺度之间的竞争。研究据此提出随数据集规模缩放的早停准则,可优化泛化并避免记忆化,对超参数迁移和隐私敏感应用有直接意义。
arXiv:2505.16959v3 Announce Type: replace Abstract: Diffusion probabilistic models have become a cornerstone of modern generative AI, yet the mechanisms underlying their generalization remain poorly understood. In fact, if these models were perfectly minimizing their training loss, they would just generate data belonging to their training set, i.e., memorize, as empirically found in the overparameterized regime. We revisit this view by showing that, in highly overparameterized diffusion models, generalization in natural data domains is progressively achieved during training before the onset of memorization. Our results, ranging from image to language diffusion models, systematically support the empirical law that memorization time is proportional to the dataset size, consistent with a kernel-regression bound on the time required to fit the empirical score at low noise. Generalization vs. memorization is then best understood as a competition between time scales. We show that this phenomenology is recovered in diffusion models learning a simple probabilistic context-free grammar with random rules, where generalization corresponds to the hierarchical acquisition of deeper grammar rules as training time grows, and the generalization cost of early stopping can be characterized. We summarize these results in a phase diagram. Overall, our results support that a principled early-stopping criterion - scaling with dataset size - can effectively optimize generalization while avoiding memorization, with direct implications for hyperparameter transfer and privacy-sensitive applications.
来源:arXiv (AI + Vision + Imaging) · arxiv.org