Papers
Topics
Authors
Recent
Search
2000 character limit reached

Conditional DDPM: Denoising Probabilistic Model

Updated 12 July 2026
  • DDPM is a latent-variable generative model that employs a fixed Gaussian forward diffusion and learns a reverse denoising chain conditioned on auxiliary inputs.
  • It supports classical sample generation and conditional density estimation, making it applicable to tasks like image translation, anomaly detection, and surrogate modeling.
  • The method combines empirical convergence guarantees with robust conditioning strategies, demonstrating practical effectiveness across domains such as medical imaging and remote sensing.

Searching arXiv for the specified and closely related DDPM papers to ground the article in current references. In the literature summarized here, DDPM denotes a Denoising Diffusion Probabilistic Model: a latent-variable generative model that defines a fixed Gaussian forward diffusion from data to near-isotropic noise and learns a reverse denoising chain that reconstructs samples from that noise. In its conditional form, the reverse kernel is conditioned on auxiliary information, so the model represents a conditional distribution such as p(x0∣c)p(x_0 \mid c) rather than only an unconditional data prior. This framework supports both classical sample generation and conditional density estimation, including a Transformer-based density emulator that conditions on arbitrary subsets of inputs and produces probabilistic, potentially non-Gaussian and multimodal outputs (Leung et al., 2024). Recent theory further gives near-optimal convergence guarantees for DDPM under general distributional assumptions and clarifies its relation to score-based sampling and DDIM (Jiao et al., 31 Oct 2025).

1. Core probabilistic formulation

A DDPM specifies a forward noising Markov chain on x0∈Rdx_0 \in \mathbb R^d by

q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),

with αt≡1−βt\alpha_t \equiv 1-\beta_t and αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s. This yields the closed-form marginal

q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),

or equivalently

xt=αˉt x0+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).

As T→∞T \to \infty and αˉT→0\bar\alpha_T \to 0, the terminal state xTx_T approaches x0∈Rdx_0 \in \mathbb R^d0 (Leung et al., 2024, Jiao et al., 31 Oct 2025).

The learned reverse process is a Markov chain with conditional Gaussian transitions

x0∈Rdx_0 \in \mathbb R^d1

where x0∈Rdx_0 \in \mathbb R^d2 denotes conditioning information. A common parameterization writes the mean through either a score estimate or a noise-prediction network. In the score-based form summarized in the convergence analysis,

x0∈Rdx_0 \in \mathbb R^d3

while in the noise-prediction form the model learns x0∈Rdx_0 \in \mathbb R^d4 and reconstructs the posterior mean from that estimate (Jiao et al., 31 Oct 2025).

Training is usually presented as variational inference on an ELBO. For the standard Gaussian choices, the objective reduces, up to constants, to the simplified DDPM loss

x0∈Rdx_0 \in \mathbb R^d5

This is the squared-error noise-matching objective implemented by the Transformer-plus-diffusion density estimator, where the diffusion head is described simply as a denoising diffusion head trained with the standard DDPM squared-error loss (Leung et al., 2024).

2. Conditionalization strategies

The most common conditional construction leaves the forward diffusion unchanged and injects the condition only into the reverse model. In image-to-image settings, the condition is typically concatenated channel-wise with the noised state x0∈Rdx_0 \in \mathbb R^d6 at the U-Net input, and time embeddings are injected into residual blocks. This pattern appears in thermal-to-visible face translation, CBCT-to-sCT synthesis, seismic ground-roll attenuation, and hyperspectral–multispectral fusion, with conditioning supplied respectively by thermal images, CBCT slices, noisy seismic gathers, and paired x0∈Rdx_0 \in \mathbb R^d7 observations (Nair et al., 2022, Peng et al., 2023, Li et al., 2024, Shi et al., 2023).

A more structured conditional mechanism appears in the Transformer-based density emulator. The input is a sequence of x0∈Rdx_0 \in \mathbb R^d8 pairs with one distinguished “request” token analogous to x0∈Rdx_0 \in \mathbb R^d9. The final hidden state of that request token, q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),0, is passed to the diffusion head, while the remaining tokens act as known or masked conditions. The denoiser embeds the time index q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),1 and injects q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),2 at every layer, for example by FiLM or by concatenation to the per-step time embedding, thereby turning an unconditional q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),3 into a conditional q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),4 (Leung et al., 2024).

Several papers modify the forward process itself rather than only the reverse chain. In wireless reconstruction, the receiver-side degraded observation q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),5 is injected into a conditional forward noising law

q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),6

with a time-dependent interpolation coefficient q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),7 rising from approximately q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),8 to q(xt∣xt−1)=N(xt;1−βt xt−1,βtI),q(x_t \mid x_{t-1}) = \mathcal N\bigl(x_t;\sqrt{1-\beta_t}\,x_{t-1}, \beta_t I\bigr),9 (Letafati et al., 2023). In ShiftDDPM, each condition αt≡1−βt\alpha_t \equiv 1-\beta_t0 is assigned a time-dependent shift trajectory αt≡1−βt\alpha_t \equiv 1-\beta_t1 and the forward kernel becomes

αt≡1−βt\alpha_t \equiv 1-\beta_t2

with αt≡1−βt\alpha_t \equiv 1-\beta_t3. That construction is explicitly motivated by the claim that reverse-only conditioning limits condition modeling and generation to a small time window (Zhang et al., 2023).

A further variant is multichannel conditioning for anomaly detection. MCDDPM forms a context representation from a clean image and a bridge-network latent code, then injects that context through cross-attention in the U-Net bottleneck. The model uses two noisy views of the same healthy image, one fully noised and one patch-noised, to enrich the conditional signal while keeping computational cost and memory on par with DDPM, pDDPM, and mDDPM (Trivedi et al., 2024).

3. Transformer-based conditional density estimation

The Transformer-plus-diffusion model of “Estimating Probability Densities with Transformer and Denoising Diffusion” is motivated by a limitation of regression-trained Transformers: they do not estimate the probability density distribution, even though many scientific tasks require full probabilistic outputs whose distributions may be non-Gaussian and multimodal. The paper therefore attaches a denoising diffusion head to a Transformer encoder and uses the resulting model as a conditional density estimator for arbitrary combinations of inputs and outputs (Leung et al., 2024).

The architecture is explicitly BERT-style. The Transformer comprises two multi-head attention layers, with αt≡1−βt\alpha_t \equiv 1-\beta_t4 heads and αt≡1−βt\alpha_t \equiv 1-\beta_t5 dimensions per head, giving αt≡1−βt\alpha_t \equiv 1-\beta_t6-dimensional hidden vectors. The embedding size for each token/value pair is also αt≡1−βt\alpha_t \equiv 1-\beta_t7. The request token’s final state is routed to the diffusion head, and the target being denoised is a one-dimensional vector rather than an image; accordingly, there is no U-Net or spatial hierarchy in the denoiser. Instead, the DDPM head is an MLP conditioned on the Transformer representation. The full model has αt≡1−βt\alpha_t \equiv 1-\beta_t8 M parameters, of which αt≡1−βt\alpha_t \equiv 1-\beta_t9 M belong to the DDPM head (Leung et al., 2024).

The diffusion process uses αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s0 steps and a sigmoid noise schedule over αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s1,

αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s2

with αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s3, αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s4, and αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s5 mapping αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s6 uniformly into αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s7. The reverse variances are fixed rather than learned, a single denoising network is shared across all timesteps, and optimization uses AdamW with CosineAnnealingWarmRestarts over αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s8 epochs. Sampling starts from αˉt≡∏s=1tαs\bar\alpha_t \equiv \prod_{s=1}^t \alpha_s9 and iteratively applies

q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),0

to generate samples from q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),1 (Leung et al., 2024).

The empirical demonstration uses a large dataset of astronomical observations and measured labels of stars within the Galaxy. The model is applied to a variety of inference tasks, and the paper states that it can infer labels accurately with reasonable distributions. Taken together, the contribution is to graft an off-the-shelf DDPM onto a Transformer encoder so that any subset of known inputs can define a conditional density for a requested output (Leung et al., 2024).

4. Architectural patterns and objective design

For spatial data, the dominant denoiser remains the time-embedded U-Net. In T2V-DDPM, the denoiser follows the same U-Net backbone as “Improved DDPM,” with four levels of downsampling and upsampling, self-attention at q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),2 resolution, sinusoidal time embeddings, and thermal conditioning projected by a q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),3 convolution and concatenated to feature maps (Nair et al., 2022). In CBCT-based synthetic CT generation, the noise predictor is a 2D U-Net with residual blocks, group normalization, SiLU activation, multi-head self-attention at intermediate resolution, and sinusoidal timestep embeddings mapped to a q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),4-dimensional vector and then to scale-shift parameters for normalization layers (Peng et al., 2023). In DDPM-Fus, the U-Net includes several down-sampling and up-sampling stages, residual convolutional blocks, self-attention modules at intermediate scales, skip connections, and a final q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),5 convolution to predict noise with the same shape as the high-resolution HSI (Shi et al., 2023).

For non-image or non-grid targets, conditional DDPMs are adapted to the geometry of the target space. The Transformer density emulator uses an MLP denoiser because the target is a one-dimensional vector rather than a spatial field (Leung et al., 2024). The transonic wing-pressure surrogate works in PCA-modal space, using a full-rank PCA basis as a non-truncated, reversible linear reparameterization of the pressure field and an “MLP-U-Net” with residual fully connected layers, LayerNorm, ELU, self-attention blocks, and FiLM-style injection of time and label embeddings (Francés-Belda et al., 13 Apr 2026).

Although the canonical training criterion is the simplified noise-prediction loss, several papers alter it in problem-specific ways. DDPM-Fus derives the ELBO reduction to a weighted noise-prediction loss but reports that its experiments use the q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),6 norm rather than q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),7 (Shi et al., 2023). The wing-pressure surrogate introduces a signal-aware weighting

q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),8

and trains with

q(xt∣x0)=N(xt;αˉt x0,(1−αˉt)I),q(x_t \mid x_0)=\mathcal N\bigl(x_t;\sqrt{\bar\alpha_t}\,x_0,(1-\bar\alpha_t)I\bigr),9

to improve fidelity in regions with strong pressure gradients (Francés-Belda et al., 13 Apr 2026). The wireless reconstruction model uses a conditional loss in which the target combines a residual term proportional to xt=αˉt x0+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).0 and a Gaussian-noise term, reflecting the fact that the denoiser must jointly explain measurement degradation and diffusion noise (Letafati et al., 2023). MCDDPM augments the reconstruction objective with a bridge-network term xt=αˉt x0+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).1 and uses a single-timestep inference mode for anomaly reconstruction, reducing inference from xt=αˉt x0+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).2 to xt=αˉt x0+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).3 U-Net forwards per slice (Trivedi et al., 2024).

5. Representative application domains

Conditional DDPMs are used across density estimation, inverse problems, image translation, physical surrogates, and unsupervised detection. The reported tasks differ markedly in conditioning modality, architecture, and interpretation of stochastic outputs.

Domain Conditioning signal Stated outcome
Astronomical conditional density estimation (Leung et al., 2024) Arbitrary combinations of tokenized inputs; request token hidden state Infers labels accurately with reasonable distributions
Wireless image reconstruction (Letafati et al., 2023) Degraded receiver-side image xt=αˉt x0+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).4 At xt=αˉt x0+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).5 with xt=αˉt x0+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).6, PSNR xt=αˉt x0+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).7
Thermal-to-visible face translation (Nair et al., 2022) Thermal image xt=αˉt x0+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).8 VIS-TH Rank-1 xt=αˉt x0+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).9; standard DDPM T→∞T \to \infty0/image vs coarse-init T→∞T \to \infty1/image
CBCT-to-sCT generation (Peng et al., 2023) CBCT slice T→∞T \to \infty2 Brain test MAE T→∞T \to \infty3 HU vs raw CBCT T→∞T \to \infty4 HU
HSI–MSI fusion (Shi et al., 2023) LrHSI T→∞T \to \infty5 and HrMSI T→∞T \to \infty6 Reverse process generates fused HrHSI from test HrMSI and LrHSI
Ground-roll attenuation (Li et al., 2024) Noisy seismic gather T→∞T \to \infty7 DDPM-2c clean prediction: MAE T→∞T \to \infty8, SSIM T→∞T \to \infty9, PSNR αˉT→0\bar\alpha_T \to 00
Wing pressure surrogate (Francés-Belda et al., 13 Apr 2026) Mach number, angle of attack, four control-surface deflections Reduces mean absolute error; GRI has αˉT→0\bar\alpha_T \to 01 with full-field MAE
Brain MRI anomaly detection (Trivedi et al., 2024) Healthy-image context via multichannel latent code and cross-attention Promising performance on BraTS20 and BraTS21

These examples show that the conditional DDPM formalism is not confined to unconditional image synthesis. It has been used for reliability-aware surrogate modeling on unstructured aerodynamic surfaces, restoration under channel impairments, multimodal remote-sensing fusion, and medical-image reconstruction where the generated sample is explicitly compared with an input to localize anomalies or improve quantitative image quality (Francés-Belda et al., 13 Apr 2026, Letafati et al., 2023, Shi et al., 2023, Peng et al., 2023, Trivedi et al., 2024).

6. Theory, interpretation, and recurrent misconceptions

A theoretical account of DDPM convergence under general distributional assumptions is given in “Optimal Convergence Analysis of DDPM for General Distributions.” The analysis assumes bounded second moment, a non-uniform high-probability Lipschitz condition on forward scores, and a weighted αˉT→0\bar\alpha_T \to 02 score-estimation error

αˉT→0\bar\alpha_T \to 03

Under these assumptions, the authors state the informal upper bound

αˉT→0\bar\alpha_T \to 04

With perfect scores, this yields

αˉT→0\bar\alpha_T \to 05

and the paper gives a matching lower bound αˉT→0\bar\alpha_T \to 06 for Gaussian data under a standard schedule, showing the rate is tight up to logarithmic factors for a wide class of targets (Jiao et al., 31 Oct 2025).

This theory directly addresses a recurrent misconception that DDPM is inherently slower than DDIM in dimensional scaling. The convergence paper states that DDPM and DDIM share the same dependence on αˉT→0\bar\alpha_T \to 07, and that the new DDPM analysis matches the αˉT→0\bar\alpha_T \to 08 dependence in total variation while improving the smoothness dependence from a global Lipschitz constant αˉT→0\bar\alpha_T \to 09 to the non-uniform quantity xTx_T0 (Jiao et al., 31 Oct 2025). A distinct misconception concerns conditioning: conventional conditional DDPMs often place all condition information in the reverse network, but ShiftDDPM argues that this concentrates condition modeling in a narrow timestep window and therefore introduces condition-dependent forward shifts so that trajectories are separated throughout diffusion time (Zhang et al., 2023).

Interpretation of stochastic outputs is another point of caution. In the wing-pressure surrogate, repeated conditional generations are used to define a Local Reliability Index and a Global Reliability Index. The reported correspondence between sampling-induced spread and reconstruction error supports its use as a qualitative reliability indicator rather than calibrated uncertainty quantification (Francés-Belda et al., 13 Apr 2026). This distinction is significant for scientific applications: conditional DDPM samples can reveal ambiguity structure and failure modes without automatically providing statistically calibrated posterior uncertainty.

A plausible implication of the combined empirical and theoretical record is that conditional DDPMs are best understood as a broad family of conditional distribution learners whose practical behavior depends as much on conditioning design and geometry of the target space as on the underlying diffusion formalism. The surveyed papers support three stable conclusions: the Gaussian forward/reverse machinery is shared across highly heterogeneous tasks, conditioning can be attached at the reverse process or baked into the forward trajectory itself, and diffusion outputs are most valuable when the task genuinely requires distributions rather than only point predictions (Leung et al., 2024, Zhang et al., 2023, Jiao et al., 31 Oct 2025).

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 Diffusion-Conditional Probability Model (DDPM).