arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.13419cs.LG
收藏

扩散模型在训练中记忆,而在推理中泛化

Beyond Sample Copying: Structural Memorization in Diffusion Models

Heinrich-Heine-University Düsseldorf(杜伊斯堡-埃森大学)

Tim Kaiser, Markus Kollmann

AI总结:

本文研究了扩散模型在训练中过度拟合去噪目标,导致训练样本与验证样本性能差距,但通过模型误差使采样轨迹远离训练样本分布,从而在推理中实现泛化。

摘要:

扩散模型在实践中泛化效果良好。然而,一个最优的扩散模型完全记忆训练数据,因此无法泛化,引发了一个问题:是什么因素使真实的扩散模型能够泛化?我们发现,尽管在样本层面泛化,扩散模型逐渐过度拟合去噪训练目标,从而在验证样本和训练样本的性能之间产生泛化差距。这种差距在中间噪声水平最明显。使用一个完全分析性的误差易犯玩具模型,我们追踪了影响泛化差距的因素。我们发现,最优去噪流场在训练点周围局部化,但模型误差抑制了对训练点的精确回忆,从而产生一个平滑、泛化的流场。最后,我们发现训练中观察到的泛化差距不会转移到推理中,这会导致生成样本与训练样本有很强的相似性。这是因为采样轨迹的中间状态足够远离模型训练所用的噪声训练样本分布。这些发现揭示了扩散模型泛化的全新图景:流场通过模型误差泛化,使采样轨迹远离噪声训练样本的领域,从而自然地防止过拟合。

英文摘要:

Diffusion models generalize well in practice. Paradoxically, an optimal diffusion model fully memorizes the training data and therefore fails to generalize, raising the question of what induces generalization in a real diffusion model. We show that diffusion models progressively overfit the denoising training objective, creating a generalization gap between validation and training performance at intermediate noise levels. In a fully analytic 2D toy model with a controlled denoising error, we trace this gap to the interaction between model error and the density of the data distribution's support. The optimal denoising flow field localizes sharply around individual training points, whereas model error suppresses exact recall of training points, yielding a smooth, generalizing flow field. Finally, we examine how training-time overfitting manifests along inference trajectories. We find that predictions made from intermediate trajectory states occupy a distinct feature-space regime from predictions made from noised training and validation images. As training progresses and model size increases, these predictions develop greater relative affinity to the training data, despite the absolute similarity to the validation data not decreasing. Together, these findings show that the denoising objective and inference trajectories express structural memorization differently.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑