TL;DR
This paper introduces a novel diffusion model-based framework for single image dehazing that significantly improves generalization to real-world hazy images. By incorporating a "Frequency Compensation Block" (FCB) and a new data augmentation technique called "HazeAug," the model effectively addresses the spectral bias of diffusion models and the limitations of synthetic haze generation, achieving state-of-the-art performance on challenging real-world datasets.
What Problem Does This Paper Address?
Single image dehazing aims to remove atmospheric haze from an image to recover a clear scene. While deep learning methods have shown great promise, they often struggle to generalize to real-world hazy images. This is primarily due to two reasons: 1) the difficulty in obtaining large-scale paired real-world hazy and clean images for supervised training, leading to reliance on synthetic data generated by the atmospheric scattering model (ASM); and 2) the ASM often fails to accurately capture the complex and diverse conditions of real haze. Consequently, models trained on synthetic data perform poorly when applied to real images. Furthermore, diffusion models, while excellent at generative tasks, exhibit a "spectral bias" that hinders their ability to learn high-frequency details crucial for image reconstruction, leading to good perceptual quality but poorer distortion metrics.
Methods
The authors propose a two-pronged approach to tackle these challenges:
- Frequency Compensation Block (FCB): To address the spectral bias of diffusion models, they introduce the FCB. This novel network unit is designed to emphasize mid-to-high frequency components of the input signal. It achieves this by using a bank of convolutional filters that mimic signal processing techniques, allowing specific frequency bands to pass through. This helps the diffusion model learn the uniform power spectrum of Gaussian noise more effectively, leading to better reconstruction of image details and improved distortion metrics.
- HazeAug Data Augmentation: To enhance generalization to real-world haze, the authors propose HazeAug. This pipeline augments synthetic hazy images in two ways:
- Hard Sample Generation: It perturbs parameters of the ASM (like scattering coefficient $\beta$ and atmospheric light $A$) to create more challenging, low signal-to-haze ratio images. This forces the model to rely more on its generative capabilities.
- Haze Migration: It swaps low-frequency components (LFC) of haze patterns between different images. This introduces diversity in haze statistics and helps the model learn invariances to changing haze patterns, making it more robust to real-world variations.
The overall framework is a conditional diffusion model, where the hazy image acts as a condition to guide the generation of a clean image.
Datasets
The authors utilize the following datasets:
- Training: Indoor Training Set (ITS) and Outdoor Training Set (OTS) from REalistic Single Image DEhazing (RESIDE) [31].
- Evaluation:
- I-Haze [1]
- O-Haze [4]
- Dense-Haze [2]
- Nh-Haze [3]
- RTTS [31] (This dataset contains only hazy images, making it particularly challenging for evaluating generalization.)
Key Insights and Ideas
- Spectral Bias in Diffusion Models: The paper highlights that the inherent spectral bias of neural networks, which prioritizes learning low-frequency signals, is detrimental to diffusion models' objective of learning uniformly distributed noise spectra. This bias impairs the reconstruction of high-frequency image details.
- FCB for High-Frequency Reconstruction: The FCB effectively mitigates this spectral bias by selectively emphasizing mid-to-high frequencies, leading to significant improvements in both perceptual quality and distortion metrics.
- HazeAug for Robust Generalization: The HazeAug pipeline is crucial for improving generalization. By creating harder synthetic samples and diversifying haze patterns, it exposes the diffusion model to a broader range of real-world conditions, enabling it to perform better on unseen hazy images.
- Diffusion Models Benefit More from Augmentation: The study suggests that diffusion models, due to their strong data modeling capabilities, benefit more from advanced augmentation techniques like HazeAug compared to other deep learning methods.
Key Results
- Quantitative Performance: The proposed model, combining FCB and HazeAug, achieves state-of-the-art results on multiple real-world datasets (I-Haze, O-Haze, Dense-Haze, Nh-Haze, RTTS) across various metrics, including PSNR, SSIM, CIEDE, MUSIQ, and NIQE. It even outperforms methods that are fine-tuned on real hazy images.
- Improved Distortion Metrics: The FCB module significantly boosts performance on distortion metrics (like PSNR and SSIM), which are typically challenging for diffusion models.
- Superior Generalization: The model demonstrates superior generalization to challenging scenarios like dense and non-homogeneous haze (Dense-Haze and Nh-Haze datasets).
- Qualitative Improvements: Visual comparisons show that the proposed method produces more natural-looking dehazed images with fewer haze residues, sharper edges, and better contrast, especially in extreme haze conditions where other methods fail.
- HazeAug Effectiveness: HazeAug consistently improves performance across metrics, particularly for MUSIQ, and is shown to be effective even when applied to other learning-based methods, though diffusion models benefit the most.
Limitations and Future Work
- Sampling Speed: While the DDIM sampler is used to accelerate sampling, further improvements in sampling speed could be beneficial for real-time applications. The paper notes that while T=20 offers a good trade-off, larger T values can yield even better results.
- Generalization to Novel Scenarios: While HazeAug significantly improves generalization, the paper implicitly suggests that continuous efforts in data augmentation and model architecture are needed to handle an even wider range of unseen scenarios.
- Future Work: The authors suggest that the FCB module could be useful for other inverse problems where learning high-frequency details is challenging. They also highlight the potential of diffusion models for handling complex issues like heterogeneous haze and color distortion when combined with more sophisticated haze augmentation strategies.
Summary updated