Underwater Image Restoration via Polymorphic Large Kernel CNNs

Xiaojiao Guo, Yihang Dong, Xuhang Chen, Weiwen Chen, Zimeng Li, Fuchen Zheng, Chi-Man PunICASSP 2024 · DOI

Abstract

Underwater imaging suffers from severe degradation due to light absorption and scattering, resulting in color casts and loss of detail. While Transformer-based models have shown promise in capturing global context to address these issues, their high computational cost limits practical application. This paper introduces UIR-PolyKernel, a lightweight CNN-based architecture that leverages extremely large "polymorphic" kernels and a hybrid spatial-frequency attention mechanism. By achieving a global receptive field efficiently, the proposed model outperforms existing heavy-weight models, achieving state-of-the-art results with only 1.84M parameters.

Introduction

Capturing clear images in underwater environments is a significant challenge. Light interacting with water molecules and suspended particles leads to three primary degradations: heavy color distortion (typically blue or green tints), reduced visibility, and blurred structural details. Traditional CNNs often struggle with these global degradations because they lack the wide receptive field necessary to model light attenuation across the entire scene. Conversely, while Transformers offer global context, they are resource-intensive. UIR-PolyKernel bridges this gap by demonstrating that a pure CNN architecture, when designed with large polymorphic kernels, can match or exceed Transformer performance with significantly lower overhead.

Methods

The UIR-PolyKernel architecture follows an encoder-bottleneck-decoder structure, incorporating three specialized modules designed to handle different scales and domains of image degradation.

Architecture of the proposed UIR-PolyKernel model featuring HDA, LKA, and CSC modules.
  1. Composite Shape Convolution (CSC) Module: Situated at the network's bottleneck, the CSC module employs "polymorphic" kernels. It utilizes 31×1 horizontal (HS), 1×31 vertical (VS), and 31×31 square (SK) depth-wise convolutions. This configuration allows the network to capture anisotropic features—such as directional light rays—and global context without the prohibitive parameter count of standard dense large kernels.
  2. Large Kernel Attention (LKA) Module: Integrated into the encoder and decoder, LKA modules use a sequence of smaller and dilated convolutions to simulate a 19×19 receptive field, focusing on medium-range spatial relationships.
  3. Hybrid Domain Attention (HDA) Module: Operating at the highest resolution, the HDA module combines spatial-channel attention with Frequency-Domain Pixel Attention (FDPA). By utilizing Fast Fourier Transforms (FFT), the FDPA block identifies and corrects degradation patterns that are more easily isolated in the frequency domain than the spatial domain.

Key Results

The model was evaluated on benchmark datasets including UIEB, EUVP, LSUI, and RUIE. UIR-PolyKernel achieved state-of-the-art (SOTA) performance across multiple quantitative metrics. On the LSUI dataset, it reached a PSNR of 26.55 and an SSIM of 0.888.

Qualitative comparison of various underwater image restoration methods against the proposed UIR-PolyKernel (Ours).

A critical advantage of UIR-PolyKernel is its efficiency. With only 1.84M parameters and 13.67 GFLOPs, it is significantly more lightweight than competitors like Ucolor, which requires over 105M parameters. Qualitatively, as shown in the comparison above, the model effectively eliminates green/blue hazes and restores natural color balance and sharp edges, closely matching the reference ground truth.

Conclusion

UIR-PolyKernel demonstrates that large-kernel CNNs are a highly effective and efficient alternative to Transformers for underwater image restoration. By combining polymorphic spatial kernels with frequency-domain analysis, the model achieves superior restoration quality while remaining suitable for resource-constrained environments. Future research may extend this polymorphic kernel approach to video restoration or other adverse weather conditions like fog and rain.

Summary updated

BibTeX
@misc{guo2024underwater,
  author = {Xiaojiao Guo and Yihang Dong and Xuhang Chen and Weiwen Chen and Zimeng Li and Fuchen Zheng and Chi-Man Pun},
  title = {{Underwater Image Restoration via Polymorphic Large Kernel CNNs}},
  year = {2024},
  eprint = {2412.18459},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18459},
}
Figure