解析扩散模型生成过程中的记忆现象与新样本生成机制
When Diffusion Models Memorize: Inductive Biases in Probability Flow of Minimum-Norm Shallow Neural Nets
- 用最小范数浅层ReLU网络分析概率流轨迹
- 训练样本多时记忆减少,更易生成数据流形上新点
- 适合研究扩散模型原理或生成机制的学者
尽管扩散模型通过概率流生成高质量图像,但其理论理解仍不完整。核心问题是概率流何时收敛至训练样本或数据流形上的更一般点。本文研究最小ℓ²范数训练的浅层ReLU神经网络去噪器的概率流。为直观理解,引入简化得分流,发现在正交数据集下,两类流轨迹相似,均收敛至训练点或训练点之和。然而,扩散时间调度器的早期停止使概率流可抵达更一般的流形点。这反映出扩散模型既会记忆训练样本,也能生成融合多个样本特征的新点。研究扩展至钝角单纯形数据,并在正交情形模拟中验证:概率流收敛于训练点、训练点之和或流形点。此外,随着训练样本增多,记忆现象减弱,因更少样本聚集于训练点附近。
原文摘要 · Abstract (English)
While diffusion models generate high-quality images via probability flow, the theoretical understanding of this process remains incomplete. A key question is when probability flow converges to training samples or more general points on the data manifold. We analyze this by studying the probability flow of shallow ReLU neural network denoisers trained with minimal $\ell^2$ norm. For intuition, we introduce a simpler score flow and show that for orthogonal datasets, both flows follow similar trajectories, converging to a training point or a sum of training points. However, early stopping by the diffusion time scheduler allows probability flow to reach more general manifold points. This reflects the tendency of diffusion models to both memorize training samples and generate novel points that combine aspects of multiple samples, motivating our study of such behavior in simplified settings. We extend these results to obtuse simplex data and, through simulations in the orthogonal case, confirm that probability flow converges to a training point, a sum of training points, or a manifold point. Moreover, memorization decreases when the number of training samples grows, as fewer samples accumulate near training points.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。