Transformers Learn the Optimal DDPM Denoiser for Multi-Token GMMs
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 53 of its 64 references that are in the map. First posted on arXiv 11 Apr 2026.
Builds on
53 of 64 references.
Closest ancestors · 22
Same direction, newest first
- 2025Memorization to Generalization: Emergence of Diffusion Models from Associative Memory27 May
- 2025Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in Training23 May
- 2025An Analytical Theory of Spectral Bias in the Learning Dynamics of Diffusion Models5 Mar
- 2025Understanding Representation Dynamics of Diffusion Models via Low-Dimensional Modeling9 Feb
- 2025Low-dimensional adaptation of diffusion models: Convergence in total variation22 Jan
- 2024On the Feature Learning in Diffusion Models2 Dec
- 2024Understanding Generalizability of Diffusion Models Requires Rethinking the Hidden Gaussian Structure31 Oct
- 2024Denoising diffusion probabilistic models are optimally adaptive to unknown low dimensionality24 Oct
- 2024Shallow diffusion networks provably learn hidden low-dimensional structure15 Oct
- 2024Convergence of Diffusion Models Under the Manifold Hypothesis in High-Dimensions27 Sep
- 2024Breaking the Curse of Dimensionality: Diffusion Models Efficiently Learn Low-Dimensional Distributions4 Sep
- 2024Evaluating the design space of diffusion-based generative models18 Jun
10 more
- 2024Adapting to Unknown Low-Dimensional Structures in Score-Based Diffusion Models23 May
- 2024A Phase Transition in Diffusion Models Reveals the Hierarchical Nature of Data26 Feb
- 2024Neural Network-Based Score Estimation in Diffusion Models: Optimization and Generalization28 Jan
- 2023On the Generalization Properties of Diffusion Models3 Nov
- 2022Scalable Diffusion Models with Transformers19 Dec
- 2022Sampling is as easy as learning the score: theory for diffusion models with minimal data assumptions22 Sep
- 2022Understanding Diffusion Models: A Unified Perspective25 Aug
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 31
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
- 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,339
- 2024Simple and Effective Masked Diffusion Language Modelscited by 800
- 2022Equivariant Diffusion for Molecule Generation in 3Dcited by 666
- 2024Lumiere: A Space-Time Diffusion Model for Video Generationcited by 450
- 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelscited by 385
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2020Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learningcited by 292
- 2022MM-Diffusion: Learning Multi-Modal Diffusion Models for Joint Audio and Video Generationcited by 225
- 2023A Survey on Video Diffusion Modelscited by 203
19 more
- 2023In-Context Convergence of Transformerscited by 112
- 2022Vision Transformers provably learn spatial structurecited by 92
- 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
- 2024DiTCtrl: Exploring Attention Control in Multi-Modal Diffusion Transformer for Tuning-Free Multi-Prompt Longer Video Generationcited by 73
- 2023A Survey on Audio Diffusion Models: Text To Speech Synthesis and Enhancement in Generative AIcited by 68
- 2023Transformers as Support Vector Machinescited by 67
- 2023Max-Margin Token Selection in Attention Mechanismcited by 57
- 2025When is Task Vector Provably Effective for Model Editing? A Generalization Analysis of Nonlinear Transformerscited by 38
- 2024How Do Nonlinear Transformers Learn and Generalize in In-Context Learning?cited by 35
- 2023Synthetic Lagrangian Turbulence by Generative Diffusion Modelscited by 31
- 2023Enhancing Graph Transformers with Hierarchical Distance Structural Encodingcited by 16
- 2024On the Training Convergence of Transformers for In-Context Classification of Gaussian Mixturescited by 15
- 2024What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encodingcited by 14
- 2024Training Nonlinear Transformers for Chain-of-Thought Inference: A Theoretical Generalization Analysiscited by 14
- 2024Learning on Transformers is Provable Low-Rank and Sparse: A One-layer Analysiscited by 8
- 2025Merging Smarter, Generalizing Better: Enhancing Model Merging on OOD Datacited by 3
- 2026A Theoretical Analysis of Mamba's Training Dynamics: Filtering Relevant Features for Generalization in State Space Modelscited by 3
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?cited by 2
- 2026Visual prompting reimagined: The power of the Activation Promptscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024On the Asymptotic Mean Square Error Optimality of Diffusion Models
- 2026Improved Distributional Diffusion Models
- 2025Optimal Convergence Analysis of DDPM for General Distributions
- 2024O(d/T) Convergence Theory for Diffusion Probabilistic Models under Minimal Assumptions
- 2024Statistical guarantees for denoising reflected diffusion models
- 2023Interpreting and Improving Diffusion Models from an Optimization Perspective
- 2023The Missing U for Efficient Diffusion Models
- 2025An explicit formulation of the learned noise predictor εθ(bf xt, t) via the forward-process noise εt in denoising diffusion probabilistic models (DDPMs)