RD-UIE: Relation-Driven State Space Modeling for Underwater Image Enhancement

Kui Jiang, Yan Luo, Junjun Jiang, Xin Xu, Fei Ma, Fei YuarXiv 2025 · DOI

Abstract

Underwater Image Enhancement (UIE) is challenged by light absorption and scattering, which cause low contrast and heavy color casts. While Mamba-based State Space Models (SSMs) provide global receptive fields with linear complexity, their standard fixed scanning patterns struggle with underwater scenes where informative targets are sparse against vast, homogeneous backgrounds. We present VRS-UIE, a framework that introduces a "value-driven" reordering mechanism for SSMs. By dynamically prioritizing informative regions (e.g., marine life) over oceanic backgrounds, the model prevents feature dilution and achieves state-of-the-art restoration quality efficiently.

The Challenge of Underwater Backgrounds

Underwater photos are often dominated by "empty" water—up to 80% of pixels may be homogeneous background. Standard SSMs scan images in a fixed, sequential order (e.g., top-to-bottom). This vast amount of redundant data "dilutes" the model’s internal state, making it difficult to maintain and propagate features of small, sparse, but valuable targets like fish or coral. Essentially, the critical signal is lost in the background noise.

Underwater characteristics and the proposed value-driven scanning mechanism.

Methodology: VRS-UIE

The proposed VRS-UIE architecture moves away from fixed scanning to a priority-based approach through several key innovations:

  1. Multi-Granularity Value Guidance Learning (MVGL): This module generates a pixel-aligned Value Map. It combines an explicit prior from a pre-trained DINOv2 model to identify valuable regions with an implicit branch that calculates sampling frequencies based on local semantics.
  2. Value-Driven Reordering Scanning: The image is flattened into a sequence based on the Value Map. High-value pixels are visited first and clustered together, ensuring the SSM's state is "activated" by important features before encountering the background.
  3. Mamba-Conv Mixer (MCM): A dual-path block balances global and local modeling. One path handles reordered global scanning (Mamba), while the other uses Dynamic Convolutions to refine local structural details and edges.
  4. Cross-Feature Bridge (CFB): This skip-connection module uses hybrid attention to fuse encoder and decoder features, stabilizing color correction and preserving fine details.

For real-time applications, a lightweight version, VRS-UIE-S, was developed using wavelet transforms and reduced channel counts.

Key Insights

  • The "Dilution" Insight: For SSMs, the order of data is critical. In domains with low signal-to-background ratios, fixed scanning is a significant bottleneck.
  • Prefix Prioritization: Placing high-value pixels at the start of the 1D sequence builds a "purer" state representation that resists being washed out by background pixels.
  • Hybrid Guidance: Combining explicit foundation model knowledge (DINOv2) with implicit semantic learning creates a robust value map adaptable to various water types.

Experimental Results

VRS-UIE was evaluated on comprehensive datasets including UIEB, LSUI, and EUVP (Full-Reference), as well as U45 and SQUID-16 (Non-Reference).

  • Quantitative Performance: VRS-UIE outperformed eleven state-of-the-art methods, surpassing the previous leader, WMamba, by an average of 0.89 dB in PSNR.
  • Visual Quality: Qualitative results show superior suppression of "water bias," producing warmer, more natural tones and crisper textures compared to models that leave color hazes.
  • Efficiency: The lightweight VRS-UIE-S variant uses only 2.06M parameters and achieves an inference speed of 0.058 seconds per image on an RTX 3090, making it highly suitable for deployment on autonomous underwater vehicles (AUVs).

Conclusion and Future Work

VRS-UIE demonstrates that value-driven reordering significantly enhances SSM performance in sparse-target environments. While currently reliant on DINOv2 priors during training, future work could explore reducing this dependency. The concept of prioritized scanning holds promise for other fields with sparse targets, such as satellite imagery or medical pathology.

Summary updated

BibTeX
@misc{jiang2025rd,
  author = {Kui Jiang and Yan Luo and Junjun Jiang and Xin Xu and Fei Ma and Fei Yu},
  title = {{RD-UIE: Relation-Driven State Space Modeling for Underwater Image Enhancement}},
  year = {2025},
  eprint = {2505.01224},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.01224},
}
Figure