Skip to main content
QUICK REVIEW

[Paper Review] Single Underwater Image Restoration by Contrastive Learning

Junlin Han, Mehrdad Shoeiby|arXiv (Cornell University)|Mar 17, 2021
Image Enhancement TechniquesComputer Science14 references6 citations
TL;DR

This paper proposes Contrastive Underwater Restoration (CWR), a novel unsupervised image-to-image translation method that leverages contrastive learning and generative adversarial networks to maximize mutual information between raw and restored underwater image patches, achieving state-of-the-art performance on a new large-scale real underwater dataset (HICRD). CWR outperforms existing methods in preserving image structure and color fidelity while reducing artifacts.

ABSTRACT

Underwater image restoration attracts significant attention due to its importance in unveiling the underwater world. This paper elaborates on a novel method that achieves state-of-the-art results for underwater image restoration based on the unsupervised image-to-image translation framework. We design our method by leveraging from contrastive learning and generative adversarial networks to maximize mutual information between raw and restored images. Additionally, we release a large-scale real underwater image dataset to support both paired and unpaired training modules. Extensive experiments with comparisons to recent approaches further demonstrate the superiority of our proposed method.

Motivation & Objective

  • To address the challenge of low visual quality in underwater images caused by light absorption, scattering, and wavelength-dependent attenuation.
  • To develop a robust, unsupervised image-to-image translation framework that restores real underwater images without requiring paired training data.
  • To construct a large-scale, high-resolution real underwater image dataset (HICRD) with paired and unpaired training support for improved model generalization.
  • To maximize mutual information between corresponding image patches of raw and restored images to preserve content and color correspondence.
  • To achieve state-of-the-art performance in underwater image restoration by combining contrastive learning with GAN-based generative modeling.

Proposed method

  • CWR formulates underwater image restoration as an image-to-image translation problem using a ResNet-based generator and PatchGAN discriminator.
  • The model employs a contrastive learning framework with a PatchNCE loss to maximize mutual information between local patches of raw and restored images.
  • A two-layer MLP projection head processes features extracted from a ResNet encoder to enable contrastive representation learning.
  • The objective function combines adversarial loss (L_GAN), PatchNCE contrastive loss (L_PatchNCE), and identity loss (L_IDT) to ensure realism, feature correspondence, and structural consistency.
  • The total loss is defined as: L(G,D,H) = λ_GAN·L_GAN + λ_NCE·L_PatchNCE + λ_IDT·L_IDT, with λ_GAN = λ_NCE = λ_IDT = 1.
  • The method uses spectral normalization for the discriminator and instance normalization for the generator, trained with Adam optimizer and a linearly decaying initial learning rate of 0.0002.

Experimental results

Research questions

  • RQ1Can contrastive learning effectively capture content and color correspondence between raw and restored underwater image patches without paired supervision?
  • RQ2How does the proposed CWR method compare to existing image-to-image translation and underwater restoration models in preserving image structure and color fidelity?
  • RQ3To what extent does a large-scale, real-world underwater image dataset (HICRD) improve the performance and generalization of underwater image restoration models?
  • RQ4Can a contrastive learning-based approach outperform conventional and learning-based underwater image enhancement methods in both quantitative and qualitative metrics?
  • RQ5Does the integration of contrastive learning with GANs lead to more realistic and artifact-free underwater image restoration?

Key findings

  • CWR achieves the lowest MSE (127.23) and highest PSNR (26.88) among all compared methods on the HICRD test set.
  • CWR achieves the highest SSIM (0.834), indicating superior structural preservation between raw and restored images.
  • CWR ranks second in FID (18.20), showing high realism in generated images, and performs strongly in UIQM (5.25), indicating alignment with human visual perception.
  • Qualitative results show CWR produces sharper, more natural images with minimal artifacts and accurate color restoration, outperforming both conventional and learning-based baselines.
  • The HICRD dataset, containing 6,003 low-quality, 3,673 good-quality, and 2,000 restored images at 1842×980 resolution, enables robust evaluation and training for both paired and unpaired settings.
  • CWR significantly outperforms state-of-the-art methods including CUT, CycleGAN, UWCNN, Retinex, Fusion, DCP, and IBLA across all full-reference and non-reference metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.