Frequency Domain-Based Diffusion Model for Unpaired Image Dehazing

Chengxu Liu, Lu Qi, Jinshan Pan, Xueming Qian, Ming-Hsuan Yang · DOI

Abstract

Unpaired image dehazing is a challenging task due to the difficulty of obtaining real-world paired data and the risk of content distortion in unsupervised learning. This paper presents FrDiff, the first diffusion-based framework designed specifically for unpaired image dehazing by operating in the frequency domain. By reconstructing the amplitude spectrum rather than raw pixels, FrDiff effectively separates haze-related degradation from scene textures, achieving state-of-the-art results with significantly higher computational efficiency than traditional spatial-domain diffusion models.

Introduction

Image dehazing aims to recover clear scenes from blurry, low-contrast inputs. While supervised models excel with paired data, such data is expensive and difficult to collect in the real world. Unpaired methods, such as CycleGANs or contrastive learning, often suffer from content distortions and artifacts because they fail to explicitly model the physical impact of haze on image components.

A key insight of this work is that haze primarily affects the amplitude spectrum (representing brightness and contrast) of an image's Fourier transform, while the phase spectrum (representing texture and edges) remains relatively stable. Most existing models ignore this distinction, attempting to resolve all degradations in pixel space. FrDiff leverages Diffusion Models (DMs) to reconstruct these frequency components, offering a more efficient and physically grounded approach to dehazing.

Comparison of FrDiff with existing unpaired dehazing paradigms. (a) Motivation: swapping amplitude and phase spectra. (b) Contrastive learning methods. (c) The proposed FrDiff framework.

Methodology

The FrDiff framework shifts the dehazing task from the spatial domain to the frequency domain through several key components:

  • Amplitude Residual Encoder (ARE): To handle unpaired data, the ARE aligns the global statistics (mean and standard deviation) of amplitude spectra between hazy and clear domains. This generates an "amplitude residual" ($z$), representing the necessary adjustments to clear the haze.
  • DM-based Reconstruction: A Diffusion Model is trained to reconstruct this amplitude residual. Since the amplitude spectrum is less complex than raw pixel data, the DM requires only 8 iterations, compared to the hundreds typically needed for spatial-domain DMs.
  • Phase Correction Module (PCM): Although the phase spectrum is more resilient to haze, thick haze can still obscure fine textures. The PCM uses an attention mechanism to refine the phase spectrum, ensuring sharp and realistic output textures.
  • Frequency Compensation Layer (FCL): This layer integrates the DM's generative output into a deterministic dehazing backbone (based on NAFNet), guiding the final reconstruction process.

Experimental Results

FrDiff was evaluated on a comprehensive suite of synthetic (RESIDE, I-HAZE) and real-world (HSTS-Real, URHI) datasets. It consistently outperformed state-of-the-art unsupervised methods in both quality and efficiency.

  • Quantitative Performance: On the SOTS-Indoor dataset, FrDiff achieved a PSNR of 27.43 dB, surpassing the previous best unsupervised method (ODCR) by over 1 dB.
  • Efficiency: With only 8.76M parameters and 54.56G FLOPs, FrDiff maintains a competitive computational profile, making it significantly leaner than many competing GAN-based or Transformer-based models like RefineDNet.
Performance comparison of FrDiff against other state-of-the-art methods in terms of PSNR, FLOPs, and parameter count.

Conclusion

FrDiff demonstrates that operating in the frequency domain allows Diffusion Models to be both effective and efficient for unpaired image dehazing. By focusing on the amplitude spectrum, the model avoids common spatial distortions and reduces computational costs. Future work will explore scaling to higher resolutions and addressing spatially varying haze distributions where haze density differs between foreground and background.

Summary updated

BibTeX
@inproceedings{liu2025frequency,
  author = {Chengxu Liu and Lu Qi and Jinshan Pan and Xueming Qian and Ming-Hsuan Yang},
  title = {{Frequency Domain-Based Diffusion Model for Unpaired Image Dehazing}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure