Papers
Topics
Authors
Recent
Search
2000 character limit reached

Generative Diffusion Models: Concepts & Methods

Updated 5 July 2026
  • Generative diffusion models are latent-variable generative models that iteratively reverse a Gaussian noise corruption process to generate realistic samples.
  • They utilize learned reverse dynamics implemented via U-Net architectures and timestep conditioning to ensure stable training and high-fidelity outputs.
  • Variants extend to various domains such as image, audio, and molecular data, with advanced techniques accelerating sampling and enhancing control.

A generative diffusion model is a latent-variable generative model that maps a tractable reference distribution, typically isotropic Gaussian, into a complex data distribution by inverting a gradual, noise-injecting diffusion process (Higham et al., 2023). In its canonical form, the method defines a forward process that progressively corrupts data with Gaussian noise and a learned reverse process that removes noise step by step, so that generation starts from random noise and ends at a sample resembling the training distribution (Cao et al., 2022). This framework is used in discrete-time denoising diffusion probabilistic models (DDPMs), continuous-time score-based models, deterministic probability-flow formulations, and several related variants including consistency models, rectified flow, and domain-specific adaptations (Ding et al., 2024).

1. Definition and conceptual structure

The standard generative picture is a two-stage stochastic construction. During training, a clean sample x0x_0 is transformed into a sequence x1,,xTx_1,\dots,x_T by repeated Gaussian corruption; during sampling, a neural network approximates the reverse-time transitions and transforms a fresh draw xTN(0,I)x_T \sim \mathcal{N}(0,I) back into a realistic sample x0x_0 (Higham et al., 2023). In this sense, diffusion models operationalize the reversal of a diffusion-like process, and their practical success rests on decomposing a difficult generation problem into many easier local denoising steps (Cao et al., 2022).

In discrete-time DDPM notation, the forward Markov chain is

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),

with αt=1βt\alpha_t = 1-\beta_t, and the closed-form marginal is

xt=αˉtx0+1αˉtϵ,ϵN(0,I),x_t = \sqrt{\bar{\alpha}_t}\,x_0 + \sqrt{1-\bar{\alpha}_t}\,\epsilon,\qquad \epsilon \sim \mathcal{N}(0,I),

where αˉt=s=1tαs\bar{\alpha}_t = \prod_{s=1}^t \alpha_s (Higham et al., 2023). This closed form is operationally important because it allows training by jumping directly to any timestep tt without simulating the entire forward chain (Higham et al., 2023).

A common misconception is that diffusion is defined only by image denoising. The literature surveyed here places it more broadly as a generative design pattern applicable to images, audio, video, graphs, molecules, proteins, surfaces, function spaces, federated settings, multimodal systems, and even optimization or derivative pricing, provided an appropriate forward corruption process and reverse denoiser can be specified (Cao et al., 2022). This suggests that the core abstraction is not tied to pixels but to reversible stochastic degradation of structured data.

Diffusion models are often contrasted with VAEs, GANs, and normalizing flows. The available sources characterize VAEs as likelihood-based but often blurrier, GANs as capable of sharp samples but unstable and prone to mode collapse, and flows as exact-likelihood models with invertibility constraints; diffusion models instead combine stable likelihood-based training with high visual fidelity and a direct connection to stochastic processes and PDEs (Higham et al., 2023).

2. Mathematical formulations and training objectives

The central statistical objective is variational. In DDPM form, the model defines a latent path x1:Tx_{1:T} with prior x1,,xTx_1,\dots,x_T0, and the negative variational lower bound decomposes into a prior-matching term, intermediate KL terms, and a decoder term (Higham et al., 2023). With fixed reverse variances, Ho et al. show that this objective reduces to a weighted mean-squared error on the predicted noise,

x1,,xTx_1,\dots,x_T1

with x1,,xTx_1,\dots,x_T2 (Higham et al., 2023). This is the standard “noise-prediction” objective and is the dominant training loss across practical DDPM implementations.

Several parameterizations are linearly equivalent under the forward Gaussian kernel. The canonical one is x1,,xTx_1,\dots,x_T3-prediction, but x1,,xTx_1,\dots,x_T4-prediction and x1,,xTx_1,\dots,x_T5-prediction are also used:

x1,,xTx_1,\dots,x_T6

The handbook literature treats these as interchangeable representations of the same reverse information, with different numerical and optimization properties (Ding et al., 2024). A plausible implication is that many empirical differences among implementations reflect optimization and discretization effects rather than distinct probabilistic semantics.

The score-based continuous-time formulation replaces the discrete chain by a forward SDE

x1,,xTx_1,\dots,x_T7

whose density evolves under the Fokker–Planck equation

x1,,xTx_1,\dots,x_T8

Under mild conditions, the reverse-time dynamics are

x1,,xTx_1,\dots,x_T9

and the associated probability-flow ODE is

xTN(0,I)x_T \sim \mathcal{N}(0,I)0

(Higham et al., 2023). In this language, sampling requires the score xTN(0,I)x_T \sim \mathcal{N}(0,I)1, and DDPM noise prediction is equivalent, up to known scalings, to score estimation (Higham et al., 2023).

The action-principle formulation goes further by interpreting reverse diffusion as an optimal control problem. In the Wiener-shift parameterization, the optimal controller satisfies

xTN(0,I)x_T \sim \mathcal{N}(0,I)2

with xTN(0,I)x_T \sim \mathcal{N}(0,I)3, and the excess action reduces to a time-integrated Fisher divergence between learned and true scores (Premkumar, 2023). This establishes a variational bridge among continuous-time score-based diffusion, DDPM, DDIM, and Schrödinger bridges (Premkumar, 2023).

A distinct PDE perspective sharpens the same point from another angle. Exact reverse dynamics preserve support in a precise sense:

xTN(0,I)x_T \sim \mathcal{N}(0,I)4

so exact reverse diffusion does not inherently regularize or expand the data support (Cao et al., 28 Jan 2025). This suggests that practical generalization must arise from approximation, discretization, inductive bias, conditioning, or optimization error rather than from the exact reverse PDE itself (Cao et al., 28 Jan 2025).

3. Architectures, schedules, and sampling procedures

The standard architectural backbone is a U-Net with residual and attention blocks, conditioned on time or noise level through timestep embeddings (Higham et al., 2023). In one pedagogical implementation on MNIST, a U-Net-like model with residual and attention blocks, 205 layers, and approximately 12.9M parameters is used, with a linear xTN(0,I)x_T \sim \mathcal{N}(0,I)5 schedule from xTN(0,I)x_T \sim \mathcal{N}(0,I)6 to xTN(0,I)x_T \sim \mathcal{N}(0,I)7 over xTN(0,I)x_T \sim \mathcal{N}(0,I)8 steps (Higham et al., 2023). More general practical handbooks describe the same backbone family with multi-scale encoder–decoder structure, residual blocks, attention, and sinusoidal timestep embeddings as the dominant implementation pattern (Ding et al., 2024).

The reverse DDPM update is typically written as

xTN(0,I)x_T \sim \mathcal{N}(0,I)9

with

x0x_00

and posterior variance

x0x_01

with x0x_02 in the final step (Higham et al., 2023). Sampling then proceeds from x0x_03 down to x0x_04 by repeated denoising and Gaussian perturbation.

Deterministic DDIM-style sampling removes the stochastic term while maintaining the same forward marginals. Using a network prediction x0x_05 or x0x_06, the update has the form

x0x_07

optionally with a parameter controlling residual stochasticity (Higham et al., 2023). This is the standard route to fewer-step deterministic generation.

Guidance augments the reverse dynamics with conditioning information. In classifier-free guidance,

x0x_08

where larger x0x_09 increases fidelity to the condition at possible cost to diversity (Higham et al., 2023). In text-to-image systems, the conditioning signal is injected through cross-attention layers in the U-Net (Higham et al., 2023).

The literature also emphasizes aggressive acceleration. One image-aware construct defines a pixel-dependent forward SDE

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),0

and yields a per-pixel signal-to-noise ratio

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),1

which decays exponentially and supports reverse-time generation in 200–500 steps rather than around 1000 (Asthana et al., 2024). That model further predicts the whole reverse trajectory in a single run via a collective block-sequential architecture, eliminating the need for MCMC-based sub-sampling correction in its reported experiments (Asthana et al., 2024).

4. Major variants and domain-specific generalizations

A prominent line of work moves diffusion into alternative representations rather than modifying only the sampler. Frequency-domain diffusion performs noising and denoising in DCT space with a momentum-dependent schedule

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),2

using a dispersion relation such as

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),3

so that high-frequency modes are corrupted earlier than low-frequency modes (Sheshmani et al., 2024). The resulting Frequency Domain Diffusion Model operates with JPEG-style patchification and achieves 2.7–8.5× speedups on CelebA-64 with modest FID degradation relative to an image-domain DDPM baseline (Sheshmani et al., 2024).

A related but more explicitly physical approach derives a renormalization-group-based diffusion model in wavenumber space. There the forward process obeys a colored-noise schedule

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),4

and reverse generation proceeds coarse-to-fine by inverse RG flow (Masuki et al., 15 Jan 2025). Reported results indicate better FID than DDPM at matched step counts and, with hundreds of steps, quality comparable to or better than DDPM at roughly 1000 steps, implying an order-of-magnitude acceleration in sampling with minor or no loss in quality (Masuki et al., 15 Jan 2025).

Functional diffusion extends the data domain from finite tensors to functions q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),5 in a Hilbert space. The forward process is

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),6

and sampling uses a DDIM-style deterministic update in function space (Zhang et al., 2023). This permits unified handling of irregular domains such as signed distance functions in q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),7 and deformation fields on surfaces, without assuming a fixed grid (Zhang et al., 2023).

Graph and molecule generation require hybrid discrete–continuous adaptations. Surveyed graph diffusion methods cover SMLD, DDPM, and score-based SDEs for adjacency matrices, node features, bond types, and 3D coordinates, often using equivariant GNNs for coordinates and tailored discrete kernels for categorical structure (Liu et al., 2023). Protein-specific variants push the same logic further. One fractional model replaces Brownian motion with fractional noise and trains an augmented score model under a Markov embedding, reporting a 7.19% increase in density, a 5.66% improvement in coverage, and a 1.01% reduction in FID for protein backbone generation (Liang et al., 29 Apr 2025).

Atomistic surface-structure discovery offers another specialized generalization. There diffusion acts on overlayer atomic positions while keeping substrate atoms masked and fixed, enforcing periodic boundary conditions and q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),8-direction confinement. The forward SDE is

q(xtxt1)=N(αtxt1,(1αt)I),q(x_t \mid x_{t-1}) = \mathcal{N}(\sqrt{\alpha_t}\,x_{t-1}, (1-\alpha_t)I),9

and the reverse SDE adds the learned score and an energy-guidance term from a force field (Rønne et al., 2024). In the reported systems, diffusion-generated candidates are significantly lower in energy than random structure search under equal GPU-time budgets, and the method yields a previously unknown silver-oxide domain boundary of unprecedented size (Rønne et al., 2024).

Other domain-specific adaptations include federated diffusion with data sharing and personalization layers under non-IID data (Jothiraj et al., 2023), cross-modal diffusion that unifies text-to-image generation and image–text discrimination in one architecture (Huang et al., 2023), and discrete symmetry-aware crystal generation through categorical diffusion over Wyckoff representations (Kelvinius et al., 10 Feb 2025). These variants suggest that “generative diffusion model” is best understood as a family of reverse-corruption schemes rather than a single architecture.

5. Evaluation, applications, and empirical behavior

Evaluation in the image literature is dominated by Fréchet Inception Distance (FID), which compares real and synthetic feature distributions under Gaussian assumptions, and Inception Score (IS), which remains common in the literature (Higham et al., 2023). Broader surveys add CLIP score for text–image alignment, likelihood-related objectives when available, and domain-specific measures such as RMSD, TM-score, graph validity, or chemistry metrics in scientific applications (Cao et al., 2022).

The application range is broad. The sources explicitly list unconditional image generation, text-to-image generation through guidance and conditioning, in-painting, object removal, medical imaging data augmentation, and broader roles inside larger AI systems including latent diffusion in text-to-image and diffusion-inspired components in LLM toolchains (Higham et al., 2023). Functional diffusion extends this to raw signed distance functions and deformation fields (Zhang et al., 2023). Surface diffusion targets low-energy crystalline overlayers (Rønne et al., 2024). Graph and protein diffusion target molecules, conformations, docking, folding, and design (Liu et al., 2023). Diffusion has also been repurposed as a solver for network optimization by learning high-quality solution distributions conditioned on problem inputs (Liang et al., 2024).

Several concrete empirical patterns recur across sources. First, using the closed-form αt=1βt\alpha_t = 1-\beta_t0 improves training efficiency because the full forward chain need not be simulated (Higham et al., 2023). Second, fixed posterior variance with uniform timestep sampling and a linear schedule can already yield clean convergence in small-scale pedagogical settings such as MNIST (Higham et al., 2023). Third, fewer-step samplers or alternative representations often trade small degradations in standard metrics for large speedups, as seen in frequency-space, image-aware, and RG-based variants (Sheshmani et al., 2024).

Diffusion has also been used as a practical data augmentation mechanism outside image synthesis. In one Ornstein–Uhlenbeck-based implementation on the credit-card fraud dataset, synthetic minority-class generation improved XGBoost from precision 0.8901, recall 0.8265, and αt=1βt\alpha_t = 1-\beta_t1 0.8571 to precision 0.9222, recall 0.8469, and αt=1βt\alpha_t = 1-\beta_t2 0.8830, while Random Forest saw recall improve from 0.8163 to 0.8776 with a precision trade-off (Le, 2024). This indicates that diffusion-generated samples can change the precision–recall balance in downstream classifiers, rather than uniformly improving all metrics.

A recurring empirical distinction concerns diversity versus controllability. The available sources note that classifier-free guidance improves adherence to the condition but may reduce diversity (Higham et al., 2023). In optimization settings, this trade-off can be inverted: strong guidance is desirable because low-diversity, high-accuracy outputs are preferable to semantically diverse ones (Liang et al., 2024). This suggests that the value of diffusion stochasticity depends strongly on the target domain.

6. Theoretical interpretations, limitations, and open questions

Diffusion models inherit several theoretical advantages from their likelihood-based or score-matching formulations. Training avoids adversarial min–max optimization and thereby mitigates the instability and mode-collapse issues associated with GANs (Higham et al., 2023). The reverse-time SDE, probability-flow ODE, and action-principle derivations also give the framework an unusually tight connection to stochastic analysis, optimal control, and PDE theory (Premkumar, 2023).

At the same time, the limitations are substantial. High-resolution diffusion models are expensive to train and slow to sample because of many reverse steps, and memory demands can be large (Higham et al., 2023). Earlier large-scale work is cited as requiring 150–1000 V100 GPU-days, and deployment has nontrivial energy costs (Higham et al., 2023). These costs motivate accelerated solvers, latent-space methods, distillation, RG-inspired schedules, and single-pass or few-step surrogates (Ding et al., 2024).

Interpretability and controllability remain partial. Reverse sampling is stochastic, so even identical initial noise can yield different outputs without strict guidance, complicating interpretability (Higham et al., 2023). Memorization and privacy are also concrete concerns: the literature cited in the applied-mathematics introduction reports near-identical replicas of training images and associated privacy and copyright issues (Higham et al., 2023). Broader concerns include bias, fairness, explainability, robustness, and misuse in content generation (Higham et al., 2023).

The PDE viewpoint introduces a sharper controversy. If exact reverse dynamics preserve support, then exact diffusion cannot generate outside the support of the original distribution (Cao et al., 28 Jan 2025). In the extreme finite-data case, explicit reverse dynamics converge to the original samples rather than producing genuinely new ones, so exact minimization becomes “too good for its own good” in an overfitting regime (Cao et al., 28 Jan 2025). This suggests that practical novelty emerges only because real systems use imperfect models, discretizations, latent encoders, guidance signals, architectural biases, or other approximations (Cao et al., 28 Jan 2025).

A closely related theoretical program interprets renormalization group flow as optimal-transport gradient flow minimizing a KL-like free-energy functional, then reverses that flow as generation (Sheshmani et al., 2024). Another connects reverse diffusion to minimum-action control and Schrödinger bridges (Premkumar, 2023). These lines of work indicate that generative diffusion models are increasingly understood not merely as heuristic denoisers but as instances of broader transport, control, and multiscale inference principles.

The current state of the field therefore combines strong mathematical structure with unresolved conceptual questions. Established facts include the forward Gaussian corruption process, the reverse denoising parameterization, the equivalence between noise prediction and score estimation, and the practicality of U-Net-based implementations (Higham et al., 2023). Less settled issues include the origin of generalization, the role of approximation in novelty creation, the best continuous-to-discrete discretizations, and how far symmetry, physics, or domain priors should be built into the forward process itself rather than learned implicitly.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Generative Diffusion Model.