GAN-Diff : Coupling Pretrained WGAN-GP Features with Conditional Diffusion U-Nets
Organizations: Department of Electrical and Computer Engineering North South University,Dhaka, Bangladesh
Abstract
Generative adversarial networks (GANs) can provide efficient image generation, while diffusion models offer high-quality image restoration but require iterative sampling. This paper presents a hybrid GAN-guided diffusion framework that uses a pretrained Wasserstein GAN with gradient penalty (WGAN-GP) as a feature prior for conditional diffusion-based image restoration. Intermediate features from the frozen WGAN-GP generator are incorporated into a diffusion U-Net through cross-attention and remain fixed during the DDIM sampling process. The framework is evaluated on two restoration tasks, Gaussian denoising and 2Xsuper-resolution, using CelebA face images. During development, several sources of instability were identified and addressed, including adversarial learning-rate imbalance, inappropriate diffusion initialization, excessive corruption, and insufficient parameter averaging. The resulting framework consistently improves the quality of both degraded and low-resolution images. In particular, it improves denoising performance by 4.40 dB in PSNR and super-resolution performance by 3.70 dB over their respective input baselines. These results demonstrate the potential of a frozen GAN feature prior to guide diffusion models toward stable and effective image restoration.
Figures & tables
| Parameter | Value |
|---|---|
| Image resolution | |
| Training subset size | 50,000 images |
| Batch size (WGAN-GP / Diffusion) | 64 / 32 |
| WGAN-GP Prior | |
| Latent dimension | 128 |
| Generator / critic width | 96 |
| Task | Stage | PSNR (dB) | SSIM |
|---|---|---|---|
| Denoising ( ) | Corrupted input | 22.76 | 0.6755 |
| Restored | 27.17 | 0.8429 | |
| (input restored) | +4.40 dB / +0.167 | ||
| Super-res. ( ) | Bicubic baseline | 27.24 | 0.9122 |
| Restored | 30.94 | 0.9566 | |
| (baseline restored) | +3.70 dB / +0.044 | ||
| Sample | Noisy | Denoised | Bicubic | SR out |
|---|---|---|---|---|
| S1 | 23.0 | 26.2 | 24.8 | 27.5 |
| S2 | 22.8 | 26.8 | 28.8 | 31.2 |
| S3 | 22.6 | 27.6 | 27.9 | 33.4 |
| S4 | 22.6 | 27.2 | 29.0 | 30.6 |
| S5 | 22.7 | 28.0 | 25.7 | 32.0 |
| Mean | 22.76 | 27.17 | 27.24 | 30.94 |
Diffusion Models for Image Restoration
Diffusion models for image restoration use generative priors to denoise, deblur, upscale, and reconstruct images from incomplete or corrupted measurements.
See all 189 papers