NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Consistent Diffusion Models: Mitigating Sampling Drift by Learning to be Consistent

Giannis Daras, Yuval Dagan, Alex Dimakis, Constantinos Costis Daskalakis

Introduction

Diffusion models have emerged as the leading paradigm for high-fidelity image generation, powering state-of-the-art systems like DALL-E 3 and Midjourney. Despite their success, these models are plagued by a fundamental phenomenon known as sampling drift. This occurs when small errors during the iterative generation process accumulate, pushing the model into regions of the data distribution it never encountered during training.

Researchers from UT Austin, UC Berkeley, and MIT have proposed Consistent Diffusion Models (CDM) to address this. By enforcing a "consistency property" during training, CDM ensures that a model's predictions remain stable across the entire sampling trajectory, effectively keeping the generation process "on the rails."

The Problem: The Drift Dilemma

To understand sampling drift, consider the training process of a standard diffusion model. During training, the model learns to reverse a noise process using Denoising Score Matching (DSM). It is shown clean images with specific, known amounts of added noise. This is akin to a train following a perfectly laid track.

However, during generation (sampling), the model must predict the next step based on its own previous, imperfect predictions. If the model makes a minor error at step $t$, the resulting input for step $t-1$ is slightly different from any "perfect" noisy image seen during training. Because the model was never trained to handle these slightly "off-track" inputs, the error compounds. This drift leads to geometric inconsistencies and structural artifacts, such as warped facial features or asymmetrical limbs in generated subjects.

Methodology: Learning to be Consistent

The core innovation of CDM is a novel training objective that enforces a Consistency Property.

The Core Concept

In an ideal diffusion model, the prediction of the final clean image ($x_0$) made at any noisy state $x_t$ should be identical to the result obtained by actually running the full sampling process from $x_t$ down to $x_0$. CDM formalizes this requirement.

Implementation via the Martingale Property

Enforcing global consistency across an entire generation trajectory during every training step is computationally prohibitive. To solve this, the authors utilize a "local" version of consistency derived from the Martingale property. They require that the model’s prediction at time $t$ matches the expected value of its prediction at a slightly earlier time $t'$.

The resulting training objective is a weighted combination of the standard loss and the new consistency loss:

$$L_{ours} = L_{DSM} + \lambda L_{consistency}$$

By penalizing the model when its predictions change inconsistently over small windows of the sampling process, the model learns how to behave even on "drifted" data points that fall outside the original training distribution.

Theoretical Foundation

The paper provides a rigorous mathematical justification for this approach in Theorem 3.2. The authors prove that if a model learns the score function perfectly on a small "clean" subset of the distribution and enforces consistency elsewhere, it will eventually recover the correct score for the entire space. This relies on analytic continuity—the principle that score functions are sufficiently smooth that global rules (consistency) allow the model to generalize correctly from the training data to "off-track" regions.

Experimental Results

The researchers evaluated CDM across three primary benchmarks, focusing on Fréchet Inception Distance (FID) to measure image quality and diversity:

  • CIFAR-10: CDM achieved state-of-the-art (SOTA) results with an FID of 1.77 for conditional generation and 1.95 for unconditional generation, surpassing the previous benchmark set by EDM models.
  • AFHQ (Animal Faces HQ): On 64x64 images of animals, CDM improved the baseline FID from 2.26 to 2.21.
  • FFHQ (Flickr-Faces-HQ): The authors demonstrated that CDM is effective for fine-tuning. Taking a pre-trained EDM model and applying consistency loss for just 5,000 steps improved the FID from 2.68 to 2.61.

Qualitatively, CDM significantly reduces common artifacts. Visual comparisons indicate that while standard models may produce realistic textures, they often fail at global logic; CDM ensures that the overall structure and symmetry of objects remain coherent.

Limitations and Future Directions

While CDM represents a significant step forward, it introduces certain trade-offs:

  1. Computational Cost: Enforcing consistency requires additional sampling steps during training, making the process approximately 1.5x slower than standard DSM training.
  2. Theoretical Assumptions: The current mathematical proof assumes the model's vector field is "conservative" (the gradient of a scalar function). While the implementation works in practice, explicitly enforcing this property remains an area for future research.
  3. Scaling: Future work will involve applying CDM to high-resolution latent diffusion models to determine if consistency training can resolve the structural errors (like "extra limbs") frequently seen in large-scale generative AI.

Summary updated

BibTeX
@inproceedings{daras2023consistent,
  author = {Giannis Daras and Yuval Dagan and Alex Dimakis and Constantinos Costis Daskalakis},
  title = {{Consistent Diffusion Models: Mitigating Sampling Drift by Learning to be Consistent}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=GfZGdJHj27},
}
Figure