TL;DR
Residual Denoising Diffusion Models (RDDM) introduce a dual diffusion framework that splits the standard diffusion process into directional "residual diffusion" and random "noise diffusion." This elegant decoupling unifies image generation and restoration into a single, interpretable model, allowing a generic UNet to achieve state-of-the-art restoration performance in as few as 2 to 5 sampling steps.
What Problem Does This Paper Address?
Standard denoising diffusion models (like DDPM and DDIM) are incredibly powerful for generating images from scratch, but they struggle with image restoration tasks such as removing shadows, blur, or rain. Typically, researchers adapt them by feeding a degraded image as a conditional input while keeping the original diffusion process intact.
However, this forward process completely destroys the image structure by turning it into pure Gaussian noise, ignoring the fact that the degraded image is already known. Starting the reverse process from pure noise is both computationally inefficient and non-interpretable for restoration tasks, where the target domain is tightly bound to the input domain.
Methods
RDDM solves this by introducing a dual diffusion process that explicitly incorporates the residual ($I_{res} = I_{in} - I_{0}$), which is the difference between the degraded input image ($I_{in}$) and the target clean image ($I_{0}$).
Instead of a single coefficient schedule, RDDM employs two independent schedules:
- Residual Diffusion: Controls the directional shift from the target image to the degraded input image, prioritizing certainty.
- Noise Diffusion: Controls random perturbations in the diffusion process, emphasizing diversity.
The authors propose three sampling methods based on what the network predicts: residual prediction (SM-Res), noise prediction (SM-N), and joint residual-noise prediction (SM-Res-N). To make this practical for unknown tasks, they introduce an Automatic Objective Selection Algorithm (AOSA), which automatically learns whether a task requires predicting noise or residuals. Furthermore, they demonstrate a partially path-independent generation process, proving that the speed of removing residuals can be dynamically adjusted during inference without breaking the model.
Datasets
The authors extensively evaluate RDDM across several standard image generation and restoration benchmarks:
- Image Generation / Inpainting / Translation: CelebA (64×64 and 256×256), CelebA-HQ, and AFHQ.
- Shadow Removal: ISTD dataset.
- Low-Light Enhancement: LOL and SID-RGB datasets.
- Image Deraining: RainDrop dataset.
- Image Deblurring: GoPro dataset.
Key Insights and Ideas
- Certainty vs. Diversity: Residuals represent deterministic, directional changes (perfect for restoration tasks where certainty is high), while noise introduces stochastic diversity (essential for creative generation). Unifying them allows one framework to balance both requirements.
- Decoupled Control: Separating residuals and noise means the "deresidual pace" can be adjusted independently of denoising during the reverse process. You can even reduce the noise perturbation to zero, causing RDDM to degenerate into a deterministic image interpolation model similar to Rectified Flow.
- Seamless Compatibility: RDDM is mathematically compatible with existing pre-trained DDPM/DDIM models. Through a simple coefficient transformation, a pre-trained model can be converted into an RDDM without retraining.
Key Results
- High Efficiency: For image restoration, RDDM achieves competitive or state-of-the-art (SOTA) performance in remarkably few steps—requiring just 2 steps for low-light enhancement and 5 steps for shadow removal and deraining.
- Simplicity Beats Complexity: Using a generic UNet trained with a simple $L_1$ loss and a batch size of 1, RDDM outperforms or matches highly specialized, complex SOTA architectures (like multi-stage networks or Transformers). For example, on the LOL dataset, RDDM achieved a top-tier PSNR of 25.392 and an SSIM of 0.937.
- Resource Friendly: Training with the SM-Res method requires only 4.8G of GPU memory, making diffusion models accessible to researchers with constrained hardware.
Limitations and Future Work
Because RDDM is designed as a unified prototype framework for both generation and restoration, it may face minor performance limitations compared to highly customized, task-specific SOTA architectures.
The authors suggest several promising future directions:
- Scaling up the network parameters (e.g., larger UNet architectures) and batch sizes to further boost performance.
- Developing a single diffusion model trained to handle multiple distinct restoration tasks simultaneously.
- Implementing adaptive coefficient schedules to further reduce sampling steps while improving image quality.
- Exploring the use of residuals in consistency model distillation to accelerate convergence.
Summary updated