Consistent Diffusion: Denoising Diffusion Model with Data-Consistent Training for Image Restoration

Xinlong Cheng, Tiantian Cao, Guoan Cheng, Bangxuan Huang, Xinghan Tian, Ye Wang, Xiaoyu He, Weixin Li, Tianfan Xue, Xuan DongarXiv 2024 · DOI

Introduction

Denoising Diffusion Models (DDMs) have emerged as powerful tools for image generation and restoration. However, when applied to high-fidelity restoration tasks such as super-resolution or deraining, they often suffer from "hallucinations"—unwanted distortions in shape and color. This paper identifies a fundamental training-testing gap as the root cause: models are trained on "perfect" noisy data but tested on "imperfect" iterative outputs containing accumulated errors. To bridge this gap, the authors propose Consistent Diffusion, utilizing a novel Data-Consistent Training (DCT) strategy.

The Training-Testing Discrepancy

In traditional DDM training, the model learns to map a "clean" noisy image (generated via a single-step forward diffusion process) back to the ground truth. This is known as modular error minimization. However, during inference, the model processes images generated by its own previous backward steps. These inputs contain cumulative errors—small drifts and artifacts that compound over time.

Figure 1: Performance comparison across restoration tasks and the KL divergence gap between modular and cumulative errors.

As shown in Figure 1, the KL divergence between the model's input and the ideal distribution grows significantly as the diffusion process progresses (decreasing $t$). Traditional training ignores this divergence, leading to the observed performance degradation during testing.

Methodology: Data-Consistent Training (DCT)

The core innovation of Consistent Diffusion is to align the training distribution with the testing distribution. Instead of using the forward diffusion process to generate training samples, DCT feeds the model images generated by its own backward process.

Figure 3: Comparison between traditional DDM training (left) and the proposed Consistent Diffusion training (right).

By training on these "imperfect" iterative results, the model learns to actively correct cumulative errors rather than just removing Gaussian noise. To make this computationally feasible, the authors introduced an Efficient DCT variant. This version simulates cumulative error by calculating a single-step error and amplifying it by a factor $\lambda$ (proportional to the remaining steps $T-t$), avoiding the need for a full iterative chain during every training step.

Experimental Results and Analysis

Consistent Diffusion was evaluated across five restoration benchmarks, consistently achieving state-of-the-art (SOTA) results:

  • Image Denoising: On the Urban100 dataset, the model achieved a PSNR of 32.25 dB, a significant improvement of 1.44 dB over the previous SOTA, MAXIM.
  • Image Deraining: Reached 34.22 dB on Rain-100H, outperforming DA-CLIP (33.91 dB) and Restormer (31.46 dB).
  • Super-Resolution: Demonstrated superior fidelity in SISR and Dual-Camera SR tasks, maintaining sharp edges and color accuracy where other models produced blur or artifacts.

The authors utilized ResShift as the primary backbone due to its efficiency, but ablation studies confirmed that DCT also improves the performance of standard Latent Diffusion Models (LDM), proving its generalizability.

Conclusion

Consistent Diffusion addresses a critical flaw in current diffusion-based restoration: the neglect of cumulative error propagation. By forcing the model to encounter and correct its own mistakes during training, the proposed Data-Consistent Training framework significantly enhances the fidelity and reliability of image restoration across diverse degradation types. While the method introduces some training overhead, its ability to eliminate hallucinations makes it a vital step forward for high-stakes imaging applications.

Summary updated

BibTeX
@misc{cheng2024consistent,
  author = {Xinlong Cheng and Tiantian Cao and Guoan Cheng and Bangxuan Huang and Xinghan Tian and Ye Wang and Xiaoyu He and Weixin Li and Tianfan Xue and Xuan Dong},
  title = {{Consistent Diffusion: Denoising Diffusion Model with Data-Consistent Training for Image Restoration}},
  year = {2024},
  eprint = {2412.12550},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.12550},
}
Figure