Transformer 学习多令牌高斯混合分布的最优 DDPM 去噪器
Transformers Learn the Optimal DDPM Denoiser for Multi-Token GMMs
AI总结:
本文研究了Transformer基于扩散模型在多令牌高斯混合分布数据去噪中的收敛性,理论分析了去噪目标的最优解与训练迭代次数的关系,揭示了自注意力机制在去噪中的作用。
摘要:
基于Transformer的扩散模型在生成高质量样本方面表现出色,但其成功原因的理论理解仍有限。本文首次对训练基于Transformer的扩散模型进行了收敛性分析,考虑了多令牌高斯混合分布数据的去噪扩散概率模型(DDPM)目标。理论量化了数据点所需令牌数和训练迭代次数以实现去噪目标的贝叶斯最优风险,从而达到期望的分数匹配误差。深入研究发现,训练的Transformer中的自注意力模块实现了均值去噪机制,使模型能够近似注入噪声的Oracle最小均方误差(MMSE)估计器。数值实验验证了这些发现。
英文摘要:
Transformer-based diffusion models have demonstrated remarkable performance at generating high-quality samples. However, our theoretical understanding of the reasons for this success remains limited. For instance, existing models are typically trained by minimizing a denoising objective, which is equivalent to fitting the score function of the training data. However, we do not know why transformer-based models can match the score function for denoising, or why gradient-based methods converge to the optimal denoising model despite the non-convex loss landscape. To the best of our knowledge, this paper provides the first convergence analysis for training transformer-based diffusion models. More specifically, we consider the population Denoising Diffusion Probabilistic Model (DDPM) objective for denoising data that follow a multi-token Gaussian mixture distribution. We theoretically quantify the required number of tokens per data point and training iterations for the global convergence towards the Bayes optimal risk of the denoising objective, thereby achieving a desired score matching error. A deeper investigation reveals that the self-attention module of the trained transformer implements a mean denoising mechanism that enables the trained model to approximate the oracle Minimum Mean Squared Error (MMSE) estimator of the injected noise in the diffusion steps. Numerical experiments validate these findings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。