Papers
Topics
Authors
Recent
Search
2000 character limit reached

Mamba-UIE: Hybrid Physics-Based Underwater UIE

Updated 2 March 2026
  • Mamba-UIE is a computational framework that integrates state-space modeling with physically constrained decomposition to enhance underwater images.
  • It adopts a revised image formation model to decouple direct transmission and backscatter, ensuring reconstruction consistency and improved PSNR/SSIM metrics.
  • The architecture employs parallel modules and a novel Mamba-in-Convolution block to efficiently capture both global and local dependencies.

Mamba-UIE is a computational framework for underwater image enhancement (UIE) that fuses state-space modeling (Mamba) with a physically constrained, decompositional approach to the underwater image formation process. It addresses the deficiencies of CNNs (limited long-range modeling) and Transformers (quadratic complexity) by leveraging Mamba, a state space model with linear sequence complexity, and by incorporating a physical consistency constraint derived from a revised underwater image formation model. Mamba-UIE emphasizes both global and local information integration, achieving state-of-the-art performance on several UIE benchmarks (Zhang et al., 2024).

1. Revised Underwater Image Formation Model

At the core of Mamba-UIE is the adoption of an energy-conserving underwater image formation model, replacing the classic two-term Koschmieder formulation. The Akkaynak & Treibitz model distinguishes direct transmission from backscatter, both governed by separate attenuation coefficients (βd\beta_d and βb\beta_b):

I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))

where:

  • I(x)I(x): observed underwater image
  • J(x)J(x): latent scene radiance (“clean” image)
  • td(x)=exp(βdd(x))t_d(x) = \exp(-\beta_d d(x)): direct transmission
  • tb(x)=exp(βbd(x))t_b(x) = \exp(-\beta_b d(x)): backscatter transmission
  • BB: global background light
  • d(x)d(x): scene depth at pixel xx

This decomposition explicitly predicts four latent components: βb\beta_b0, βb\beta_b1, βb\beta_b2, βb\beta_b3. A reconstruction step synthesizes the image βb\beta_b4 from these, enforcing consistency with the input through a joint loss.

2. Physical-Consistency and Total Loss Formulation

The network is trained with a physically motivated reconstruction consistency loss:

βb\beta_b5

The total loss combines this reconstruction term with direct prediction losses on scene radiance:

βb\beta_b6

with βb\beta_b7. Ground-truth supervision ensures the enhanced image βb\beta_b8 approximates the ideal “clear” scene while maintaining image formation fidelity via the reconstructed image.

Ablation shows removing this physics-based reconstruction penalty leads to a PSNR drop from βb\beta_b9 to I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))0, matching the gain achieved by inclusion of the Mamba branch (Zhang et al., 2024).

3. Mamba-UIE Network Architecture

Mamba-UIE factorizes estimation into four parallel modules:

  • J-Net: estimates the scene radiance I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))1, structured as a hybrid CNN+Mamba SSM with no spatial downsampling.
  • TD-Net: regresses direct transmission I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))2 (6-layer CNN).
  • TB-Net: regresses backscatter transmission I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))3 (6-layer CNN).
  • GBL module: regresses global background light I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))4 using per-channel statistics and a small regression head.

a) SSM Integration via Mamba-in-Convolution

J-Net integrates Mamba blocks—linear complexity state-space layers—directly with CNN modules. Each Mamba-in-Convolution (MIC) block:

  • Applies I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))5 Conv I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))6 InstanceNorm I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))7 Mish activation to modulate channel count.
  • Uses a Channel-Spatial Siamese (CSS) structure: the feature map is reshaped both along spatial (for channel-level modeling) and channel (for spatial modeling) axes and processed by stacked Mamba layers.
  • Aggregates global (via CSS/Mamba) and local (CNN path) representations through residual summation.

By design, this hybrid modeling enables Mamba-UIE to capture both long-range and local dependencies, overcoming the CNN’s locality and Transformer’s prohibitive I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))8 complexity for high-resolution images.

b) Parallel Estimation, Supervision, and Output

TD-Net/TB-Net use shallow CNNs to estimate I(x)=J(x)td(x)+B(1tb(x))I(x) = J(x) \odot t_d(x) + B \odot (1 - t_b(x))9 and I(x)I(x)0, respectively; GBL estimates I(x)I(x)1 via statistics and regression. The four components are recombined (see Section 1), and both I(x)I(x)2 and I(x)I(x)3 are directly supervised.

4. Training Procedure and Quantitative Results

Training leverages:

  • UIEB: I(x)I(x)4 paired images (underwater/clear); also tested on Challenging60 [no-ref], EUVP (I(x)I(x)5 pairs), U45 (I(x)I(x)6 unpaired challenging images).
  • All images are resized/cropped to I(x)I(x)7.
  • Adam optimizer, learning rate I(x)I(x)8, batch size I(x)I(x)9.

Performance on UIEB:

  • MSE: J(x)J(x)0
  • PSNR: J(x)J(x)1
  • SSIM: J(x)J(x)2

EUVP: MSE J(x)J(x)3, PSNR J(x)J(x)4, SSIM J(x)J(x)5.

No-reference metrics:

  • Challenging60: UIQM J(x)J(x)6, UCIQE J(x)J(x)7
  • U45: UIQM J(x)J(x)8, UCIQE J(x)J(x)9

Comparative ranking: On UIEB, Mamba-UIE ranks first in MSE/PSNR and second in SSIM; on EUVP it is top-3 for all scores (Zhang et al., 2024).

Ablation tests confirm the necessity of both the physical reconstruction penalty and the Mamba SSM branch; removing either yields a PSNR/SSIM reduction of td(x)=exp(βdd(x))t_d(x) = \exp(-\beta_d d(x))0/td(x)=exp(βdd(x))t_d(x) = \exp(-\beta_d d(x))1.

A comparison of formation models shows the revised Akkaynak model achieves superior PSNR/SSIM/UIQM over Koschmieder, Retinex, and Jaffe–McGlamery alternatives.

5. Context and Contributions in the UIE Landscape

Mamba-UIE is positioned within a class of recent SSM-based UIE models that address the dual need for efficiency and global context modeling. While methods like O-Mamba (Dong et al., 2024), RD-UIE (Jiang et al., 2 May 2025), and MambaUIE (Chen et al., 2024) emphasize novel state-space scanning or dynamic fusion mechanisms, Mamba-UIE is unique in its explicit, physics-driven image formation decomposition, parallel estimation, and reconstruction-consistency penalty.

The MIC block architecture, which exposes feature maps to both channel-wise and spatial-wise Mamba modeling and includes a residual CNN path, is notable for efficient sequence modeling at linear cost in large images. This design allows Mamba-UIE to outperform competing Transformer/CNN hybrids on both accuracy and computational complexity, especially at high input resolutions.

6. Implications, Limitations, and Future Work

Mamba-UIE demonstrates that linear-complexity SSMs combined with physically grounded constraints yield robust UIE across diverse datasets, even in the absence of explicit adversarial loss or perceptual penalties. Both reconstruction physics and advanced global dependency modeling provide substantial and separable performance gains.

A plausible implication is that future UIE models may further leverage hybrid SSM physics-constrained designs, including end-to-end learned depth/attenuation estimation for more challenging, uncalibrated scenarios, or extend to multi-frame (video) settings with temporal SSMs. The current design, however, relies on sufficient paired data and explicit supervision for each latent component. Exploring self-supervised estimates of the scene radiance and attenuation maps is a potential future extension (Zhang et al., 2024).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Mamba-UIE.