Feature Attention Network (FA-Net): A Deep-Learning Based Approach for Underwater Single Image Enhancement

Liang Zhao, Muhammad Hamza, Ammar Hawbani, Sami Ul Rehman, Xingfu Wang, Liang Zhao 0004arXiv 2023 · DOI

Introduction

Underwater imaging is a critical component of marine biology, underwater archaeology, and autonomous underwater vehicle (AUV) navigation. However, the physical properties of water—specifically light absorption and scattering—severely degrade image quality. Light is absorbed exponentially with distance, with longer wavelengths (red) disappearing much faster than shorter wavelengths (blue and green). Simultaneously, suspended particles cause forward and backward scattering, leading to low contrast, color shifts, and a pervasive "haze" effect.

Traditional enhancement methods often rely on physical models and "priors," such as the Dark Channel Prior (DCP). While effective in some scenarios, these assumptions frequently break down in the diverse and unpredictable conditions of real-world underwater environments. Recent deep learning approaches have shown promise but often fail to account for the non-uniform nature of underwater degradation. The Feature Attention Network (FA-Net) proposed in this study addresses these limitations by adaptively prioritizing features based on their spatial and channel-wise importance.

Methodology: The FA-Net Architecture

The FA-Net is an end-to-end deep learning framework designed for single image enhancement. Its architecture is built upon a hierarchical structure of "Groups," each containing multiple Residual Feature Attention Blocks (RFAB).

Residual Feature Attention Block (RFAB)

The core innovation of FA-Net lies in the RFAB, which integrates two distinct attention mechanisms to handle the complexities of underwater degradation.

The Residual Feature Attention Block (RFAB) integrates Channel and Pixel Attention to adaptively rescale features.
  1. Channel Attention (CA): Given that different color channels are attenuated at different rates, the CA module allows the network to adaptively rescale channel-wise features. By calculating the inter-dependencies between channels, the model can focus its restorative capacity on the most degraded components (e.g., the red channel).
  2. Pixel Attention (PA): Underwater haze is rarely uniform. The PA module generates a 2D attention map that assigns higher weights to informative regions, such as those obscured by thick haze or containing high-frequency details like edges and textures. This ensures that the network prioritizes the most challenging parts of the image.

Residual Learning and Loss Functions

FA-Net employs both long and short skip connections. This residual learning strategy allows "low-frequency" information—the parts of the image that require minimal processing—to bypass deeper layers. Consequently, the network can concentrate on learning the complex "high-frequency" residuals necessary to reconstruct lost details.

The model is optimized using a joint loss function consisting of L1 Loss for pixel-wise accuracy and SSIM (Structural Similarity Index) Loss to maintain structural integrity and contrast, preventing the blurring of edges often seen in purely pixel-based optimization.

Experimental Setup and Datasets

The performance of FA-Net was evaluated on two major benchmarks:

  • UFO-120: A dataset of 1,500 pairs of hazy underwater images and their corresponding clear references.
  • EUVP: A large-scale dataset containing 12,000 training samples, used to test the model's generalization across different underwater conditions.

The model was trained on the UFO-120 dataset and benchmarked against six state-of-the-art methods, including traditional priors (DCP) and modern deep learning models (WaterNet, FUnIE-GAN).

Results and Discussion

FA-Net significantly outperformed existing methods across both quantitative and qualitative metrics.

Quantitative Performance

On the UFO-120 dataset, FA-Net achieved a Peak Signal-to-Noise Ratio (PSNR) of 26.45, a substantial improvement over FUnIE-GAN (21.44) and WaterNet (20.37). A higher PSNR indicates that the enhanced image is mathematically much closer to the clear ground truth. Furthermore, the model achieved a Structural Similarity Index (SSIM) of 0.8487, demonstrating superior preservation of textures and edges.

Qualitative Comparison

Visual inspections confirm the quantitative findings. As shown in the comparison below, FA-Net effectively removes color casts and haze while recovering fine details that other methods often obscure or over-saturate.

Qualitative comparison of FA-Net against state-of-the-art methods. FA-Net (Ours) produces results closest to the Ground Truth.

Downstream Task Performance

Beyond visual enhancement, the authors demonstrated that FA-Net improves the accuracy of secondary computer vision tasks. Images processed by FA-Net yielded more precise results in saliency object detection and depth estimation, proving the model's utility for practical AUV applications.

Conclusion

The Feature Attention Network (FA-Net) represents a significant advancement in underwater image enhancement. By combining channel-level and pixel-level attention within a residual learning framework, the model adaptively addresses the non-uniform degradation inherent in underwater environments. While future work should focus on real-time optimization for AUV deployment and testing in extreme deep-sea conditions, FA-Net currently sets a new standard for clarity and color restoration in underwater imagery.

Summary updated

BibTeX
@misc{zhao2023feature,
  author = {Liang Zhao and Muhammad Hamza and Ammar Hawbani and Sami Ul Rehman and Xingfu Wang and Liang Zhao},
  title = {{Feature Attention Network (FA-Net): A Deep-Learning Based Approach for Underwater Single Image Enhancement}},
  year = {2023},
  eprint = {2308.15868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.15868},
}
Figure