A Wavelet Diffusion GAN for Image Super-Resolution

Lorenzo Aloisi, Luigi Sigillo, Aurelio Uncini, Danilo Comminiello · DOI

TL;DR

This paper introduces WaDiGAN-SR, a novel framework that accelerates diffusion-based image super-resolution by performing the diffusion process in wavelet space rather than pixel space. By combining the stability of diffusion models with the speed of Generative Adversarial Networks (GANs), the authors achieve state-of-the-art results with a massive reduction in inference time—slashing it from minutes to just 0.12 seconds.

What Problem Does This Paper Address?

Single-Image Super-Resolution (SISR) aims to reconstruct a high-resolution (HR) image from a single low-resolution (LR) input. While Diffusion Models have recently overtaken GANs in generating high-fidelity, realistic images, they suffer from a "sampling bottleneck." Standard diffusion models require thousands of iterative steps to denoise an image, making them too slow for real-time applications.

Furthermore, performing diffusion in the raw pixel space is computationally expensive because the model must process every pixel at full resolution. While "Latent Diffusion" (like Stable Diffusion) addresses this by using a compressed latent space, it requires massive datasets to train the initial autoencoder. The authors sought a way to achieve high-speed, high-quality super-resolution without the overhead of massive pre-training or thousands of inference steps.

Methods

The authors propose a hybrid approach called a Wavelet-based conditional Diffusion GAN. Their method relies on three key pillars:

  1. Discrete Wavelet Transform (DWT): Instead of diffusing pixels, the model operates on wavelet sub-bands. DWT decomposes an image into four components: one low-frequency (approximation) and three high-frequency (horizontal, vertical, and diagonal details). This naturally reduces the spatial dimensions by half, significantly lowering the computational load while preserving essential edge and texture information.
  2. Diffusion GAN Paradigm: To solve the speed issue, the authors use a GAN to model the reverse diffusion process. This allows the model to take much larger "steps" during denoising. While a standard model might need 1000 steps, this architecture achieves high quality in as few as 2 to 8 steps.
  3. Frequency-Aware Architecture: The generator is a U-Net-like structure that uses specialized frequency-aware blocks and residual connections. This ensures the model remains sensitive to the high-frequency details captured in the wavelet domain, leading to sharper outputs.
Fig. 1. Method architecture and training scheme. In green our discriminator and in blue our con- ditional generator. x0 undergoes forward diffusion in wavelet space and the resulting pure noise xt gets concatenated to the low-res input xlr to condition the generator for the backward diffusion.

Datasets

The model was trained and evaluated on two primary datasets:

  • CelebA-HQ: A standard large-scale dataset of 30,000 high-quality celebrity face images. The authors focused on an 8x magnification task (upscaling 16x16 images to 128x128).
  • Shipspotting: A real-world dataset of ship images used for an ablation study to test how well the model generalizes to non-face, maritime surveillance scenarios.

Key Insights and Ideas

  • Wavelets as Natural Compression: The "aha moment" here is that wavelets provide a mathematically grounded way to reduce dimensionality without the "black box" nature of a learned VAE (Variational Autoencoder). It highlights high-frequency features (edges) which are exactly what super-resolution models need to reconstruct.
  • Solving the Generative Trilemma: Generative models usually struggle to balance sample quality, fast sampling, and mode coverage. By using GANs to bridge the gaps in the diffusion process, the authors effectively navigate this trade-off.
  • Efficiency is King: The model uses only 57 million parameters—nearly half of the 98 million used by the popular SR3 diffusion model—yet it produces superior results.

Key Results

The quantitative results (summarized in the table below) show that WaDiGAN-SR outperforms established baselines like ESRGAN and SR3 across almost every metric.

Metric ESRGAN SR3 DiWa Ours (WaDiGAN-SR)
PSNR ↑ (Signal Quality) 21.13 14.65 13.68 23.38
SSIM ↑ (Structural Similarity) 0.59 0.42 0.13 0.68
LPIPS ↓ (Perceptual Quality) 0.082 0.365 0.336 0.061
Runtime 0.04s 60.3s 34.7s 0.12s

Qualitatively, the model avoids the "crosshatch" artifacts and color shifts often seen in traditional diffusion baselines. As seen in Figure 3, the faces generated by WaDiGAN-SR are noticeably sharper and more faithful to the original features than those from SR3 or DiWa.

Fig. 3. Qualitative comparison between our model, ESRGAN, SR3 and DiWa trained for 25k iteration steps on CelebA-HQ for the task of 16x16 →128x128.

Limitations and Future Work

Despite the impressive speedups, the authors note a few constraints:

  • Resource Limitations: Due to hardware constraints, the models were only trained for 25,000 iterations. The authors believe longer training could yield even better results.
  • Resolution Scaling: The current experiments were limited to 128x128 outputs. Future work will need to explore how this wavelet-based approach scales to 4K resolutions and beyond.
  • Dataset Diversity: While the ship dataset showed promise for generalization, more testing on diverse natural scenes (landscapes, text, etc.) is required to prove the method's universal applicability.

Summary updated

BibTeX
@misc{aloisi2024wavelet,
  author = {Lorenzo Aloisi and Luigi Sigillo and Aurelio Uncini and Danilo Comminiello},
  title = {{A Wavelet Diffusion GAN for Image Super-Resolution}},
  year = {2024},
  eprint = {2410.17966},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.17966},
}
Figure