Learning A Physical-aware Diffusion Model Based on Transformer for Underwater Image Enhancement

Chen Zhao, Chenyu Dong, Weiling CaiarXiv 2024 · DOI

Introduction

Underwater image enhancement (UIE) is a critical task for marine exploration and robotics, yet it remains challenging due to the complex optical properties of subaquatic environments. This paper introduces PA-Diff, a novel framework that integrates physical imaging principles directly into a generative Diffusion Transformer to restore clarity and color accuracy in degraded underwater scenes.

The Challenge of Underwater Imaging

Underwater photography is primarily hindered by two physical phenomena: light scattering, which results in blur and haze, and wavelength-dependent absorption, which causes significant blue or green color casts. Existing solutions often struggle to balance physical accuracy with representational power. Physics-based methods frequently fail in diverse real-world scenarios, while deep learning approaches often ignore underlying optics, leading to poor generalization or the generation of non-physical artifacts.

Proposed Methodology: PA-Diff

PA-Diff addresses these gaps through a tripartite architecture that combines generative diffusion with physical constraints and implicit representations.

Overview of the PA-Diff architecture featuring the PPG, INR, and PDT branches.

1. Physics Prior Generation (PPG) Branch

This module estimates the transmission map ($T^c$) and global background light ($B^c$) based on the Koschmieder light scanning model. These parameters act as "confidence guidance," ensuring the restoration process remains grounded in physical reality.

2. Implicit Neural Reconstruction (INR) Branch

By encoding the image as a continuous coordinate-based function, the INR branch learns robust structural features. This representation is less sensitive to specific degradation types, providing a stable foundation for the diffusion process.

3. Physics-aware Diffusion Transformer (PDT) Branch

The core of the system is a U-shaped Transformer that performs denoising. It includes two specialized components:

  • Physics Perception Unit (PPU): Embeds the atmospheric scattering model into the feature space, allowing the model to "reason" about scene physics during denoising.
  • Gated Multi-scale Feed-forward Network (GM-FFN): Captures local details across multiple scales to enhance texture restoration.

Experimental Results

PA-Diff was evaluated on standard benchmarks including UIEB and LSUI. Quantitatively, it achieved state-of-the-art performance on the LSUI dataset with a PSNR of 27.25 and an SSIM of 0.889. Perceptually, it significantly outperformed existing methods, recording lower FID (20.46) and LPIPS (0.103) scores.

Qualitative comparison showing PA-Diff's superior color restoration and edge maintenance compared to other methods.

Qualitative results demonstrate that PA-Diff is exceptionally effective at restoring the red channel—the first wavelength lost underwater—and maintaining sharp edges even in high-turbidity conditions where competing models often produce "muddy" outputs.

Conclusion and Future Work

PA-Diff successfully bridges the gap between physical modeling and generative power. While it sets a new standard for UIE, future work will focus on refining the physics estimation to close the "reconstruction gap," improving performance in extreme low-light conditions, and optimizing the model's 41.76M parameters for real-time deployment on underwater drones.

Summary updated

BibTeX
@misc{zhao2024learning,
  author = {Chen Zhao and Chenyu Dong and Weiling Cai},
  title = {{Learning A Physical-aware Diffusion Model Based on Transformer for Underwater Image Enhancement}},
  year = {2024},
  eprint = {2403.01497},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.01497},
}
Figure