NonLocal Channel Attention for NonHomogeneous Image Dehazing

Kareem M. Metwaly, Xuelu Li, Tiantong Guo, Vishal MongaWorkshops @ CVPR 2020

Abstract

Image dehazing remains a critical challenge in computer vision, particularly when dealing with non-homogeneous haze where density varies spatially. Traditional methods often struggle to balance detail preservation in light haze with structural reconstruction in dense haze. This paper presents the AtJwD network, a multi-decoder architecture that adaptively fuses direct image estimation and physical model inversion. By employing a novel Dilation Inception module for non-local context and Squeeze-and-Excitation layers for channel-wise attention, AtJwD achieves superior performance on the NTIRE’20 non-homogeneous dehazing benchmark, ranking top in perceptual and structural similarity metrics.

Introduction

The standard atmospheric scattering model, $I(x) = J(x)t(x) + A(1 - t(x))$, has long served as the foundation for image dehazing. While effective for uniform haze, it often fails in non-homogeneous scenarios where thick, localized clouds obscure scene details. Existing deep learning solutions typically follow one of two paths: direct estimation of the clear image $J$ or parameter estimation of transmission $t$ and ambient light $A$.

Direct estimation is robust for hallucinating features in dense haze, whereas model inversion excels at preserving sharp details in lighter regions. The proposed AtJwD framework bridges these approaches by learning to intelligently weight their contributions across the image.

The AtJwD Architecture

The core of the AtJwD network is a U-Net-style framework utilizing a shared DenseNet-121 encoder. This shared backbone extracts high-level features that are then processed by four specialized decoders:

  1. Ambient Light Decoder ($\hat{A}$): Estimates global atmospheric light.
  2. Transmission Decoder ($\hat{t}$): Predicts the scene's transmission map.
  3. Direct Decoder ($\hat{J}_{direct}$): Directly estimates the haze-free image.
  4. Weight Decoder ($w$): Generates a spatially varying map to fuse the two strategies.
The AtJwD architecture featuring a shared encoder and four specialized decoders for ambient light (A), transmission (t), direct estimation (J), and weight map (w).

The final output is computed as a pixel-wise ensemble: $J_{final} = w \cdot J_{direct} + (1 - w) \cdot J_{AT}$ where $J_{AT}$ is the result derived from the physical model using the estimated $\hat{A}$ and $\hat{t}$.

Non-Local Context and Attention Mechanisms

In non-homogeneous haze, local information can be entirely lost. To combat this, the authors introduced the Dilation Inception (DI) module. By using parallel dilated convolutions with varying rates, the network can aggregate "non-local" context from clearer parts of the image to reconstruct obscured regions.

Furthermore, Squeeze-and-Excitation (SE) layers are integrated into the decoders. These layers provide channel-wise attention, allowing the network to emphasize feature channels most relevant to specific tasks—such as distinguishing between structural features for transmission maps versus color features for ambient light.

Experimental Results

The AtJwD model was evaluated on the NTIRE 2020 Dehazing Challenge dataset, which focuses specifically on non-homogeneous haze. The model achieved a PSNR of 19.38 dB and an SSIM of 0.65, significantly outperforming baseline models like DehazeNet and AOD-Net.

Qualitative comparison of AtJwD against state-of-the-art dehazing methods on non-homogeneous outdoor hazy images.

In the NTIRE’20 competition, the method demonstrated exceptional perceptual quality, ranking 1st in the LPIPS metric and 2nd in SSIM. Ablation studies confirmed that the Dilation Inception module is crucial; its removal led to a measurable drop in PSNR, highlighting the necessity of non-local feature utilization in complex dehazing tasks.

Conclusion

The AtJwD network represents a significant step forward in non-homogeneous image dehazing. By adaptively combining direct estimation and physical model inversion, and leveraging non-local context through dilated convolutions, the model effectively handles the spatial variability of real-world haze. Future work will focus on further refining the balance between local detail and global context to enhance performance in even more extreme atmospheric conditions.

Summary updated

BibTeX
@inproceedings{metwaly2020nonlocal,
  author = {Kareem M. Metwaly and Xuelu Li and Tiantong Guo and Vishal Monga},
  title = {{NonLocal Channel Attention for NonHomogeneous Image Dehazing}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00234},
}
Figure