WaveDM: Wavelet-Based Diffusion Models for Image Restoration

Yi Huang, Jiancheng Huang, Jianzhuang Liu, Mingfu Yan, Yu Dong, Jiaxi Lv, Chaoqi Chen, Shifeng Chen

Introduction

Diffusion models have revolutionized computer vision by modeling complex data distributions with high fidelity. However, their application to real-time image restoration—such as dehazing, denoising, or deblurring—is hindered by a significant "speed limit." Standard diffusion processes require hundreds of sequential iterations to generate a clean image from noise. While Latent Diffusion Models (LDMs) mitigate this by working in a compressed VAE space, the lossy nature of autoencoders can compromise the subtle details essential for high-quality restoration.

WaveDM introduces a middle ground: it leverages the mathematical efficiency of the wavelet domain combined with the generative power of diffusion. By operating on wavelet coefficients and employing a novel sampling strategy, WaveDM achieves state-of-the-art results while running over 100× faster than traditional spatial-domain diffusion models.

Methodology

Wavelet-Domain Modeling

WaveDM utilizes a 2D Full Wavelet Packet Transform (FWPT) to decompose images into frequency bands. A 2-level transform reduces the spatial dimensions of the input by a factor of 16. Unlike learned latent spaces in VAEs, the wavelet transform is a fixed, mathematically transparent, and lossless operation, ensuring that no critical information is discarded before processing.

Frequency-Split Architecture

The core of WaveDM is a dual-path architecture designed to handle different image components efficiently:

  1. High-Frequency Refinement Module (HFRM): This lightweight, one-pass module estimates high-frequency details—such as edges and fine textures—directly from the degraded input.
  2. Low-Frequency Diffusion Process: A standard diffusion process is applied only to the low-frequency bands. These bands contain the global structure and color information, where the generative "hallucination" capabilities of diffusion models are most beneficial.
Overview of the WaveDM training pipeline, illustrating the frequency-split architecture and the noise estimation network.

Efficient Conditional Sampling (ECS)

The "secret sauce" for WaveDM's speed is Efficient Conditional Sampling (ECS). In unconditional generation, models must iterate from pure noise to find a coherent structure. However, in restoration, the degraded image provides a strong structural prior. The authors observed that the model can "jump" to the destination much earlier because the conditional guidance is so strong. ECS strategically interrupts the diffusion process at an intermediate step and predicts the clean image directly, reducing the required sampling steps to as few as five.

Comparison of PSNR performance between standard DDIM sampling and the proposed Efficient Conditional Sampling (ECS) across various datasets.

Experimental Results

WaveDM was evaluated across twelve benchmark datasets covering six restoration tasks, including raindrop removal, dehazing, defocus deblurring, and denoising.

  • Speed: WaveDM is comparable in speed to traditional "one-pass" CNN or Transformer methods. It is consistently 100× to 200× faster than PatchDM, a spatial-domain diffusion baseline. For instance, on the Raindrop dataset, WaveDM achieves a PSNR of 32.25dB in just 0.30s, whereas the baseline requires over 60s.
  • Performance: The model achieved State-of-the-Art (SOTA) or near-SOTA results across all benchmarks. Qualitative evaluations show that WaveDM excels at recovering sharp edges and realistic textures in heavily degraded images, such as those with thick haze or complex moire patterns.

Conclusion

WaveDM demonstrates that diffusion models can be both high-performing and computationally efficient for image restoration. By splitting the workload between a deterministic high-frequency module and a low-frequency diffusion process, and by optimizing the sampling path via ECS, the framework overcomes the traditional speed barriers of generative modeling. Future work may involve scaling the model to larger datasets and exploring the possibility of "one-step" restoration through model distillation.

Summary updated

BibTeX
@article{huang2023wavedm,
  author = {Yi Huang and Jiancheng Huang and Jianzhuang Liu and Mingfu Yan and Yu Dong and Jiaxi Lv and Chaoqi Chen and Shifeng Chen},
  title = {{WaveDM: Wavelet-Based Diffusion Models for Image Restoration}},
  journal = {IEEE Trans. Multimedia},
  year = {2023},
  url = {https://openreview.net/forum?id=T7BHwhnJ7e},
}
Figure