GAN-Diff : Coupling Pretrained WGAN-GP Features with Conditional Diffusion U-Nets

TL;DR

GAN-Diff combines pretrained WGAN-GP features with conditional diffusion U-Nets, achieving PSNR gains of 4.40dB for denoising and 3.70dB for super-resolution.

cs.CV 🔴 Advanced 2026-08-23 38 views
Saif Ahmed Asadullah Hil Galib S. M. Riaz Rahman Antu Ahmed Faizul Haque Dhrubo Souvik Pramanik Mohammad Abdul Qayum Mohsin Sajjad Mohammad Ashrafuzzaman Khan
GANs diffusion models image restoration denoising super-resolution

Key Findings

Methodology

A hybrid framework integrates frozen WGAN-GP generator features into diffusion U-Nets via cross-attention, keeping features fixed during DDIM sampling.

Key Results

  • Denoising task: PSNR improved from 22.76dB to 27.17dB, SSIM increased from 0.6755 to 0.8429, showing significant restoration quality.
  • Super-resolution task: PSNR improved from 27.24dB to 30.94dB, SSIM increased from 0.9122 to 0.9566.
  • Pipeline instabilities like learning-rate imbalance and poor initialization were resolved, ensuring stable training.

Significance

This study bridges GANs and diffusion models, addressing GAN mode collapse and diffusion computational inefficiency, offering a new solution for image restoration.

Technical Contribution

Introduced frozen WGAN-GP features as conditional inputs to diffusion models, leveraging cross-attention to enhance restoration stability and performance.

Novelty

Innovatively uses GAN features as conditional guidance for diffusion models, avoiding direct replacement of diffusion steps while retaining iterative restoration capabilities.

Limitations

  • Tested only on CelebA dataset, lacking generalization validation.
  • Denoising task limited to fixed Gaussian noise level, robustness to varying noise untested.
  • No perceptual metrics (e.g., LPIPS or FID) provided to evaluate visual quality.

Future Work

Future research could expand to larger datasets, test robustness under varying noise levels, and evaluate perceptual quality metrics.

AI Executive Summary

Generative adversarial networks (GANs) and diffusion models are powerful tools for image generation and restoration, yet each has limitations. GANs are efficient but prone to mode collapse, while diffusion models produce high-quality results but require iterative sampling.

This paper introduces GAN-Diff, a hybrid framework that integrates pretrained WGAN-GP generator features into conditional diffusion U-Nets via cross-attention. Evaluated on CelebA dataset, it achieves PSNR gains of 4.40dB for denoising and 3.70dB for super-resolution, addressing pipeline instabilities like learning-rate imbalance and initialization issues.

The study highlights the potential of combining GANs and diffusion models for robust image restoration, with future directions including generalization testing, perceptual metric evaluation, and application to diverse datasets and scenarios.

Deep Analysis

Background

GANs like WGAN-GP stabilize training using Wasserstein distance and gradient penalty but suffer from mode collapse. Diffusion models like DDPM offer high-quality restoration but are computationally expensive due to iterative sampling.

Core Problem

Existing methods struggle to balance restoration quality with computational efficiency. GAN mode collapse and diffusion model inefficiency limit practical applications.

Innovation

GAN-Diff introduces frozen WGAN-GP features as conditional inputs to diffusion U-Nets via cross-attention, avoiding direct replacement of diffusion steps and enhancing iterative restoration.

Methodology

  • �� Extract intermediate features from pretrained WGAN-GP generator.
  • �� Embed features into diffusion U-Net via cross-attention.
  • �� Fix features during DDIM sampling to stabilize the restoration process.

Experiments

Evaluated on CelebA dataset for denoising and super-resolution tasks using PSNR and SSIM metrics. Addressed instabilities like learning-rate imbalance and EMA smoothing during training.

Results

Denoising task achieved PSNR gain of 4.40dB and SSIM improvement of 0.167; super-resolution task achieved PSNR gain of 3.70dB and SSIM improvement of 0.044.

Applications

Applicable to facial image restoration and super-resolution enhancement, with potential use in video calls and image editing.

Limitations & Outlook

Tested only on CelebA dataset, lacking generalization validation; robustness to varying noise levels untested; perceptual metrics not provided.

Plain Language Accessible to non-experts

Imagine GAN-Diff as a kitchen. The GAN acts as a chef, preparing the basic ingredients (features), while the diffusion model is a slow cooker, refining the dish through multiple stirring steps (iterations). The GAN provides structural guidance, and the diffusion model adds fine details, resulting in a high-quality image.

ELI14 Explained like you're 14

Think of it like fixing a broken photo in a game! The GAN is your smart assistant, giving you hints about the photo's structure, while the diffusion model is like a patient artist, carefully filling in the details. Together, they make the photo look perfect again—cool, right?

Glossary

WGAN-GP (Wasserstein GAN)

A GAN model stabilized by Wasserstein distance and gradient penalty.

Used to extract structural features for restoration.

DDIM (Denoising Diffusion Implicit Model)

An efficient sampling method for diffusion models, reducing computational cost.

Used in the sampling process of the diffusion model.

PSNR (Peak Signal-to-Noise Ratio)

A metric for image restoration quality; higher values indicate better restoration.

Evaluates denoising and super-resolution tasks.

SSIM (Structural Similarity Index)

A metric assessing structural fidelity in restored images.

Measures quality of restored images.

Cross-Attention

A mechanism guiding the model to focus on specific features.

Integrates GAN features with diffusion models.

Open Questions Unanswered questions from this research

  • 1 How can this method generalize to more complex scenarios?
  • 2 Can it be extended to video restoration tasks?
  • 3 How can perceptual quality metrics be optimized?

Applications

Immediate Applications

Facial Image Restoration

Used to repair low-quality or damaged facial images, enhancing visual appeal.

Real-Time Video Enhancement

Improves video quality during calls by enhancing resolution.

Long-term Vision

Universal Image Restoration

Expands to medical imaging, satellite imagery, and other domains for high-quality restoration.

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.

cs.CV cs.AI cs.LG