Y-net: Multi-scale feature aggregation network with wavelet structure similarity loss function for single image dehazing

Hao-Hsiang Yang, Chao-Han Huck Yang, Yi-Chang James Tsai

Y-net: Multi-scale feature aggregation network with wavelet structure similarity loss function for single image dehazing

Introduction

Single image dehazing is a fundamental yet challenging task in computer vision. It is inherently "ill-posed" because a hazy image is a complex combination of the clear scene, medium transmission, and global atmospheric light. Recovering the original scene from a single observation requires estimating multiple unknown variables. While deep learning models like U-Nets have advanced the field, they often struggle to maintain a balance between fine-grained local details and overall global structure. Standard loss functions, such as Mean Squared Error ($L_2$), frequently result in blurry outputs, while traditional Structure Similarity (SSIM) may fail to capture the multi-scale frequency information necessary to prevent artifacts in dense haze.

The Y-net Architecture: Multi-scale Feature Aggregation

To address these limitations, the authors introduce the Y-net architecture. Unlike standard encoder-decoder models that rely solely on the final upsampled layer for reconstruction, Y-net employs a multi-scale feature aggregation module.

The Y-net architecture featuring multi-scale feature aggregation for image dehazing.

As shown in the architecture diagram, the network extracts feature maps from various depths of the decoder. These maps are upsampled to a uniform resolution and then merged using $1 \times 1$ convolutions. This approach allows the model to integrate features from different receptive fields, ensuring that both high-level semantic information and low-level structural details contribute to the final dehazed image. Furthermore, this direct connection between intermediate layers and the output helps mitigate the vanishing gradient problem, facilitating more stable training.

Wavelet Structure Similarity (W-SSIM) Loss

The second major innovation is the Wavelet Structure Similarity (W-SSIM) loss function. This loss function extends standard SSIM by incorporating the Discrete Wavelet Transform (DWT) to penalize errors across different frequency bands.

Wavelet decomposition and weighting scheme used in the W-SSIM loss function.

The DWT decomposes an image into four distinct sub-bands: one low-frequency band (a down-sampled version of the image) and three high-frequency bands representing horizontal, vertical, and diagonal edges. The W-SSIM loss calculates similarity scores for these patches across multiple scales. By assigning specific weights (denoted by $r$ in the weighting grid) to these frequency-dependent components, the loss function compels the network to prioritize the restoration of high-frequency details that are typically obscured by haze. This frequency-aware approach effectively reduces "halo" artifacts and preserves sharp textures.

Experimental Results

The Y-net was rigorously evaluated using the RESIDE (REalistic Single Image DEhazing) dataset, a benchmark containing both synthetic and real-world hazy images.

  • Quantitative Performance: Y-net achieved a PSNR of 26.61 and an SSIM of 0.947 on the RESIDE test set. These results significantly outperform established models like AOD-Net (23.92 PSNR) and the standard Wavelet U-net (24.81 PSNR).
  • Ablation Studies: Research confirmed that the combination of $L_{W-SSIM} + L_2$ loss yields superior results compared to using either loss function in isolation.
  • Qualitative Quality: In visual tests on natural scenes, Y-net produced images with noticeably higher contrast and fewer noise artifacts in areas of dense haze compared to traditional prior-based methods.

Conclusion and Future Work

The Y-net architecture and its accompanying W-SSIM loss function represent a significant step forward in single image dehazing. By aggregating features across scales and supervising the learning process in the wavelet domain, the model achieves state-of-the-art clarity and detail preservation.

Future research may focus on reducing the computational overhead associated with iterative DWT calculations and improving the model's generalization to non-homogeneous, real-world atmospheric conditions. Additionally, exploring automated methods for tuning the frequency weighting hyperparameters could further enhance the robustness of the system across diverse environments.

Summary updated

BibTeX
@inproceedings{yang2020y,
  author = {Hao-Hsiang Yang and Chao-Han Huck Yang and Yi-Chang James Tsai},
  title = {{Y-net: Multi-scale feature aggregation network with wavelet structure similarity loss function for single image dehazing}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=qI5eA-P_2jR},
}
Figure