WaterFlow: Explicit Physics-Prior Rectified Flow for Underwater Saliency Mask Generation

Runting Li, Shijie Lian, Hua Li, Yutong Li, Wenhui Wu, Sam KwongarXiv 2025 · DOI

Abstract

Underwater Salient Object Detection (USOD) is often hindered by severe color distortion, backscatter, and the computational inefficiency of generative models. We present WaterFlow, a novel framework that leverages Rectified Flow to generate high-quality saliency masks in a single step. By explicitly incorporating underwater physics via a Physical Prior Module and utilizing a temporal-aware feature aggregator, WaterFlow achieves state-of-the-art accuracy while operating over 8x faster than previous diffusion-based models, reaching 20 FPS.

Introduction

Detecting salient objects in underwater environments is a significant challenge for computer vision. Unlike terrestrial scenes, underwater images suffer from light attenuation (where red light vanishes first) and backscatter, which creates a hazy, low-contrast veil. Existing methods often fail by either ignoring these unique physical properties or by employing computationally expensive generative processes, such as standard Diffusion Models, which require hundreds of sampling steps and are unsuitable for real-time robotics.

WaterFlow addresses these issues by treating underwater degradation as a source of information rather than just noise. It bridges the gap between physical grounding and computational efficiency, providing a model that is both accurate and fast enough for practical deployment.

Methodology

WaterFlow introduces three primary innovations to the generative segmentation pipeline:

1. Rectified Flow Framework

Instead of the complex, curved denoising paths typical of Diffusion Models, WaterFlow adopts a Rectified Flow approach. This learns a straight-line path between random noise and the final saliency mask. This mathematical simplification allows the model to produce high-quality results in a single inference step, drastically reducing the time required for mask generation.

2. Underwater Physical Prior Module (UPPM)

Rather than relying solely on raw RGB data, WaterFlow utilizes the Jaffe-McGlamery imaging model to extract explicit physical maps. These include backscatter maps, transmission ratios, and depth gradients. These maps provide the network with structural clues regarding the scene's 3D geometry and water clarity, acting as a critical second modality.

3. Temporal-Aware Conditional Aggregation Module (TACAM)

Generative models evolve from coarse noise to fine structures over a "time" dimension ($t$). WaterFlow recognizes that the features required at the start of generation (global shapes) differ from those needed at the end (fine boundaries). TACAM uses temporal embeddings to dynamically adjust the fusion of image features and physical priors at different stages of the process.

The WaterFlow architecture, featuring the Temporal-Aware Conditional Aggregation Module (TACAM) and the Underwater Physical Prior Module (UPPM).

Experimental Results

The model was evaluated on the USOD10K and UFO-120 benchmarks. WaterFlow sets a new standard for both accuracy and speed in the field.

  • Accuracy: On USOD10K, WaterFlow achieved a Structure-measure ($S_m$) of 0.899, a substantial improvement over the previous state-of-the-art, WaterDiffusion (0.827).
  • Speed: By utilizing the single-step Rectified Flow, the model achieves 20 FPS, compared to the 2.4 FPS of previous diffusion-based SOTA models. This 8x speedup enables real-time application on underwater platforms.
  • Qualitative Performance: WaterFlow excels at capturing thin, complex structures—such as jellyfish tentacles or camouflaged fish—that are often lost by other methods in low-contrast environments.
Performance comparison across multiple metrics and qualitative segmentation results. WaterFlow (red) consistently outperforms existing methods and produces sharper masks for complex structures.

Conclusion

WaterFlow demonstrates that generative models for underwater segmentation do not need to be slow. By combining the efficiency of Rectified Flow with explicit physical priors, the framework achieves superior performance and real-time speeds. Future work will focus on reducing the model's dependency on monocular depth estimation during training and optimizing the architecture for low-power embedded systems found in autonomous underwater vehicles (AUVs).

Summary updated

BibTeX
@misc{li2025waterflow,
  author = {Runting Li and Shijie Lian and Hua Li and Yutong Li and Wenhui Wu and Sam Kwong},
  title = {{WaterFlow: Explicit Physics-Prior Rectified Flow for Underwater Saliency Mask Generation}},
  year = {2025},
  eprint = {2510.12605},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.12605},
}
Figure