Skip to main content
QUICK REVIEW

[Paper Review] Reflected Diffusion Models

Aaron Lou, Stefano Ermon|arXiv (Cornell University)|Apr 10, 2023
Generative Adversarial Networks and Image SynthesisComputer Science3 citations
TL;DR

This paper introduces Reflected Diffusion Models, a principled approach to score-based generative modeling that uses reflected stochastic differential equations (SDEs) to enforce data domain constraints, avoiding the distributional mismatch of thresholding. The method achieves state-of-the-art or competitive results on CIFAR-10 and ImageNet32 benchmarks with improved sample fidelity and exact ODE sampling under high classifier-free guidance, while maintaining training and inference efficiency.

ABSTRACT

Score-based diffusion models learn to reverse a stochastic differential equation that maps data to noise. However, for complex tasks, numerical error can compound and result in highly unnatural samples. Previous work mitigates this drift with thresholding, which projects to the natural data domain (such as pixel space for images) after each diffusion step, but this leads to a mismatch between the training and generative processes. To incorporate data constraints in a principled manner, we present Reflected Diffusion Models, which instead reverse a reflected stochastic differential equation evolving on the support of the data. Our approach learns the perturbed score function through a generalized score matching loss and extends key components of standard diffusion models including diffusion guidance, likelihood-based training, and ODE sampling. We also bridge the theoretical gap with thresholding: such schemes are just discretizations of reflected SDEs. On standard image benchmarks, our method is competitive with or surpasses the state of the art without architectural modifications and, for classifier-free guidance, our approach enables fast exact sampling with ODEs and produces more faithful samples under high guidance weight.

Motivation & Objective

  • To address the instability and distributional mismatch in standard diffusion models caused by numerical error and thresholding during sampling.
  • To develop a theoretically principled method that incorporates data domain constraints (e.g., pixel bounds, simplex supports) directly into the generative process.
  • To extend core diffusion model components—like ODE sampling, diffusion guidance, and likelihood training—to the reflected SDE framework.
  • To justify and correct existing thresholding-based methods by showing they are discretizations of reflected SDEs.
  • To demonstrate scalability and performance on high-dimensional bounded domains, including images and class probability simplices.

Proposed method

  • The method employs a reflected SDE that evolves the data distribution within the support of the data (e.g., [0,255] for images), ensuring trajectories never escape the domain.
  • It introduces Constrained Denoising Score Matching (CDSM), a generalized score matching loss that enables high-dimensional score learning on bounded domains.
  • The reversed diffusion process uses the learned Stein score function to generate samples via an SDE or ODE, ensuring all generated samples remain within the data domain.
  • The framework naturally supports ODE sampling, diffusion guidance, and likelihood-based training, preserving key advantages of standard diffusion models.
  • The method implicitly trains with maximum likelihood by minimizing a weighted score matching loss that corresponds to an upper bound on negative log-likelihood.
  • It establishes a theoretical link between thresholding and reflected SDEs, showing that thresholding is a discretization of reflected dynamics.
Figure 1 : Overview of Reflected Diffusion Models. We map a data distribution $p_{0}$ supported on $\Omega$ to the prior distribution $p_{T}$ through a reflected stochastic differential equation (Section 3.1 ). Whenever a Brownian trajectory hits $\partial\Omega$ , it is reflected back in instead of
Figure 1 : Overview of Reflected Diffusion Models. We map a data distribution $p_{0}$ supported on $\Omega$ to the prior distribution $p_{T}$ through a reflected stochastic differential equation (Section 3.1 ). Whenever a Brownian trajectory hits $\partial\Omega$ , it is reflected back in instead of

Experimental results

Research questions

  • RQ1Can a diffusion model be designed to respect data domain constraints in a theoretically principled way, avoiding the mismatch between training and sampling seen in thresholding?
  • RQ2How can score matching be generalized to learn scores on arbitrary bounded domains, such as hypercubes or simplices, in high dimensions?
  • RQ3Does using reflected SDEs enable better sample quality and stability compared to thresholding, especially under high classifier-free guidance?
  • RQ4Can core components of standard diffusion models—like ODE sampling and likelihood estimation—be successfully extended to the reflected SDE framework?
  • RQ5Is the performance of thresholding-based models explained by their underlying reflected SDE dynamics, and can correct training with CDSM eliminate artifacts like oversaturation?

Key findings

  • On unconditional CIFAR-10 generation, the method achieves an Inception Score of 10.46 and a Fréchet Inception Distance (FID) of 2.72, matching or surpassing state-of-the-art results.
  • For likelihood estimation on CIFAR-10 and ImageNet32, the method achieves 2.68 and 3.74 bits per dimension, respectively, ranking second best without importance sampling or learned noise schedules.
  • The method enables fast, exact ODE sampling under high classifier-free guidance, producing more faithful and less saturated samples than thresholding-based approaches.
  • Training on 1000-dimensional class probability simplices shows stable optimization of the ELBO, demonstrating scalability to high-dimensional bounded domains.
  • The theoretical analysis confirms that thresholding is a discretization of reflected SDEs, and that CDSM training avoids the pathological behavior seen in thresholded sampling.
  • The method maintains training and inference times comparable to standard diffusion models, as reflection operations are negligible compared to neural network computation.
(i)
(i)

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.