Parallel Cross Strip Attention Network for Single Image Dehazing

Lihan Tong, Yun Liu, Tian Ye, Weijia Li, Liyuan Chen, Erkang Chen · DOI

Abstract

Single image dehazing is a critical task in computer vision, aimed at recovering clear scenes from images degraded by atmospheric scattering. Traditional approaches often struggle with the trade-off between capturing global context and maintaining computational efficiency. This paper introduces the Parallel Cross Strip Attention Network (PCSA-Net), which utilizes a novel attention mechanism to model long-range spatial dependencies with significantly lower complexity than standard Transformers. By combining this with a multi-scale channel-wise strategy and contrastive regularization, PCSA-Net achieves state-of-the-art performance on both synthetic and real-world benchmarks.

1. Introduction

Single image dehazing is an ill-posed problem where the goal is to estimate the scene radiance from a hazy input. The primary challenges in current research are twofold: the Receptive Field Dilemma and Static Scales. Convolutional Neural Networks (CNNs) typically possess limited receptive fields, making it difficult to maintain global consistency in restored images. While Vision Transformers address this through self-attention, their computational cost grows quadratically ($O(N^2)$) with image resolution, hindering their use in high-resolution dense prediction tasks.

Furthermore, haze density and shape vary across an image, meaning fixed-scale kernels often fail to capture the diverse patterns of degradation. PCSA-Net addresses these issues through a geometrically efficient attention mechanism and an adaptive multi-scale architecture.

2. Proposed Methodology

PCSA-Net is built upon an encoder-decoder U-Net architecture, featuring the Parallel Cross Strip Attention (PCSA) module as its core innovation.

2.1 Parallel Cross Strip Attention (PCSA)

To achieve global-like awareness without the $O(N^2)$ cost, the PCSA module decomposes standard self-attention into horizontal and vertical "strip" operations performed in parallel. Each pixel aggregates contextual information from its entire row and column simultaneously. This approach captures long-range relationships across the image dimensions while maintaining a much lower computational footprint than full spatial self-attention.

2.2 Multi-scale Channel-wise Strategy (PCSAM)

To handle the non-uniform nature of haze, the model employs a multi-scale strategy within the attention module. Feature maps are divided into groups along the channel dimension, with each group utilizing different strip lengths and convolutional kernel sizes (e.g., 3x3 vs. 5x5). This allows the network to specialize different channels for different haze densities and blur sizes, effectively acting as a "Swiss Army knife" for feature extraction.

2.3 Adaptive Weighting and Loss Functions

The model incorporates a softmax-based mechanism to dynamically weight features, learning which directional cues and scales are most critical for specific regions of the image. For training, the authors utilize a combination of standard L1 loss and Contrastive Regularization (CR). CR treats the hazy image as a negative sample and the clear image as a positive sample, forcing the network to push its output closer to the clear version in the latent space.

3. Experimental Results

The researchers evaluated PCSA-Net on three primary benchmarks: RESIDE-Indoor (SOTS), Haze4K, and the real-world RTTS dataset.

3.1 Quantitative Evaluation

PCSA-Net established new state-of-the-art (SOTA) benchmarks across multiple metrics:

  • RESIDE-Indoor: The model achieved a PSNR of 39.40 dB, outperforming the previous leading model (PMNet) by nearly 1 dB.
  • Haze4K: The model reached a PSNR of 33.76 dB, demonstrating robust performance on diverse haze patterns.

3.2 Qualitative Analysis

Compared to popular models like FFA-Net or Dehamer, PCSA-Net produces images with fewer artifacts and superior color fidelity. A notable strength is its ability to restore sky regions, which often suffer from "halo" artifacts or color distortion in other models. In real-world tests on the RTTS dataset, the model demonstrated sharper textures and more natural reconstruction in outdoor surveillance and traffic scenes.

4. Discussion and Conclusion

PCSA-Net demonstrates that global context can be captured efficiently through geometric decomposition. By using parallel strips and multi-scale channel grouping, the model achieves SOTA results while keeping computational overhead manageable compared to full Vision Transformers.

However, limitations remain. With 20.4 million parameters, the model is relatively heavy for low-power edge devices. Additionally, while efficient, it has not yet reached the "real-time" processing speeds required for high-resolution video in autonomous driving applications. Future work will focus on optimizing the architecture for speed and exploring further refinements to the attention mechanism.

Summary updated

BibTeX
@inproceedings{tong2024parallel,
  author = {Lihan Tong and Yun Liu and Tian Ye and Weijia Li and Liyuan Chen and Erkang Chen},
  title = {{Parallel Cross Strip Attention Network for Single Image Dehazing}},
  booktitle = {CNIOT},
  year = {2024},
  doi = {10.1145/3670105.3670130},
}
Figure