PHATNet: A Physics-guided Haze Transfer Network for Domain-adaptive Real-world Image Dehazing

Fu-Jen Tsai, Yan-Tsung Peng, Yen-Yu Lin, Chia-Wen Lin

TL;DR

This paper introduces PHATNet, a novel framework for adapting image dehazing models to new, unseen real-world haze conditions. PHATNet achieves this by transferring haze patterns from target-domain hazy images to source-domain clean images, creating synthetic training data that significantly boosts the performance of existing dehazing models without requiring new paired data or increasing inference time.

What Problem Does This Paper Address?

Image dehazing aims to remove atmospheric haze from photographs, a crucial step for many computer vision tasks like object detection and image classification. While deep learning has significantly advanced dehazing, a major challenge remains: models trained on one set of real-world hazy images often perform poorly when applied to images from different environments or with different haze characteristics (domain shift). This is primarily due to the scarcity of paired hazy and haze-free images across diverse real-world scenarios. Existing solutions often rely on synthetic haze generation, which doesn't fully capture the complexity of real-world haze, or image-to-image translation techniques like GANs, which can suffer from instability and fail to reproduce fine-grained haze patterns. This paper tackles the problem of adapting pre-trained dehazing models to new, unseen real-world domains at test time, without needing new paired data or incurring latency penalties.

Methods

The core of PHATNet is a Physics-guided Haze Transfer Network (PHATNet) that leverages the Atmospheric Scattering Model (ASM) as an inductive bias. The key idea is that estimating haze patterns is generally easier than recovering the original scene content. PHATNet's Parametric Haze Disentanglement and Transfer (PHDT) module is a dual-branch network:

  • Top Branch: Takes a hazy image from the target domain and disentangles atmospheric light features (FAL) and transmission map features (FTM) using specialized encoders.
  • Bottom Branch: Takes a haze-free image from the source domain and extracts content features (FJ).

These disentangled features are then fused within the ASM parametric domain to generate a haze-transferred image. This process is guided by two novel loss functions:

  • Haze-Transfer-Consistency Loss (LHTC): Ensures the transferred haze patterns closely match the original target-domain haze.
  • Content-Leakage Loss (LCL): Prevents content information from the target-domain hazy image from leaking into the transferred image, ensuring the source-domain content is preserved.

PHATNet also employs a multi-scale architecture to handle haze patterns of varying scales. The generated haze-transferred images, paired with their original source-domain haze-free counterparts, form a domain-specific fine-tuning dataset. This dataset is then used to fine-tune existing dehazing models, adapting them to the target domain.

Datasets

The paper utilizes seven real-world image dehazing datasets:

  • Source Domains: NH-Haze20 [5], HD-NH-Haze [7]
  • Target Domains: NH-Haze21 [6], HD-NH-Haze [7], DenseHaze [4], I-Haze [2], O-Haze [3], and RTTS [21].

NH-Haze20, NH-Haze21, HD-NH-Haze, DenseHaze, I-Haze, and O-Haze provide paired hazy and haze-free images. RTTS is a dataset with only hazy images. The authors define two experimental settings based on different source-target domain combinations.

Key Insights and Ideas

  • Haze Pattern Estimation is Easier than Scene Recovery: This fundamental observation drives the entire approach, shifting the focus from full image restoration to transferring specific degradation patterns.
  • ASM as a Physics-Informed Inductive Bias: Leveraging the ASM not just for synthetic generation but as a guiding principle for disentangling and transferring haze features in a latent space provides a more robust and interpretable mechanism.
  • Latent Space Disentanglement for Artifact Reduction: By disentangling haze and content features in a latent space, PHATNet can mitigate ghosting artifacts that often arise from scene depth variations in traditional methods.
  • Offline Adaptation for Zero Inference Latency: The strategy of generating a fine-tuning dataset offline means that the dehazing models themselves don't incur any additional computational cost during inference after adaptation.

Key Results

PHATNet significantly improves the performance of four state-of-the-art dehazing models (FocalNet, Dehamer, MITNet, and SGDN) across multiple target domains.

  • Quantitative Gains: Average PSNR improvements ranged from 0.82 dB to 1.93 dB in Setting 1 and 0.66 dB to 3.35 dB in Setting 2, depending on the baseline model and target domain. Notably, on the RTTS dataset (which lacks ground truth), PHATNet consistently improved no-reference image quality metrics (NIQE and BRISQUE).
  • Qualitative Improvements: The paper shows impressive qualitative results, demonstrating PHATNet's ability to transfer realistic haze patterns from unseen domains to source-domain images, resulting in visually enhanced dehazed images with fewer artifacts compared to baselines.
  • Efficiency: PHATNet is efficient, generating a 1600x1200 haze-transferred image in 0.153 seconds on an Nvidia A5000 GPU, and its offline nature means no added inference latency for the dehazing models.

Limitations and Future Work

The authors acknowledge that while PHATNet can augment hazy images through gamma correction and flipping in the ASM parametric domain, achieving comprehensive hazy image augmentation is still limited by the prior knowledge of real-world haze distributions. This suggests a valuable avenue for future research: exploring more sophisticated methods for generating diverse and realistic haze augmentations within the parametric domain.

Summary updated

BibTeX
@inproceedings{tsai2025phatnet,
  author = {Fu-Jen Tsai and Yan-Tsung Peng and Yen-Yu Lin and Chia-Wen Lin},
  title = {{PHATNet: A Physics-guided Haze Transfer Network for Domain-adaptive Real-world Image Dehazing}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure