arXiv:2601.19285cs.LG2026-01中稿 · CVPR被引 4

解释扩散模型过拟合现象并提出两种改进方法。

Smoothing the Score Function for Generalization in Diffusion Models: An Optimization-based Explanation Framework

  • 从优化角度分析得分函数结构,揭示过拟合根源。
  • 新方法可降低单一样本主导性,提升生成泛化能力。
  • 适合关注生成模型稳定性与质量的研究者。

扩散模型虽生成质量优异,却存在记忆化问题——生成样本可能完全复现训练样本。本文提出理论框架,证明经验得分函数是高斯分布得分函数的加权和,权重为尖锐Softmax函数,导致个别训练样本主导得分函数,引发采样坍缩。实践中,用神经网络近似经验得分函数可部分缓解此问题。我们的理论解释其原因:神经网络学习到更平滑的加权和近似,使采样受局部流形影响而非单点。基于此,提出两种新方法:(1) 噪声去条件化,使每个样本自适应调整权重,增强多样本影响,避免单点主导;(2) 温度平滑,通过调节Softmax温度显式控制平滑度,降低单一样本的主导性,缓解记忆化。多数据集实验验证理论分析,并证明所提方法在保持高质量生成的同时显著提升泛化性能。

原文摘要 · Abstract (English)

Diffusion models achieve remarkable generation quality, yet face a fundamental challenge known as memorization, where generated samples can replicate training samples exactly. We develop a theoretical framework to explain this phenomenon by showing that the empirical score function (the score function corresponding to the empirical distribution) is a weighted sum of the score functions of Gaussian distributions, in which the weights are sharp softmax functions. This structure causes individual training samples to dominate the score function, resulting in sampling collapse. In practice, approximating the empirical score function with a neural network can partially alleviate this issue and improve generalization. Our theoretical framework explains why: In training, the neural network learns a smoother approximation of the weighted sum, allowing the sampling process to be influenced by local manifolds rather than single points. Leveraging this insight, we propose two novel methods to further enhance generalization: (1) Noise Unconditioning enables each training sample to adaptively determine its score function weight to increase the effect of more training samples, thereby preventing single-point dominance and mitigating collapse. (2) Temperature Smoothing introduces an explicit parameter to control the smoothness. By increasing the temperature in the softmax weights, we naturally reduce the dominance of any single training sample and mitigate memorization. Experiments across multiple datasets validate our theoretical analysis and demonstrate the effectiveness of the proposed methods in improving generalization while maintaining high generation quality.

扩散模型生成模型泛化能力得分函数

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。