Abstract
Regular monitoring of marine life is essential for preserving the stability of marine ecosystems. However, underwater target detection presents several challenges, particularly in balancing accuracy with model efficiency and real-time performance. To address these issues, we propose an innovative approach that combines the Structured Space Model (SSM) with feature enhancement, specifically designed for small target detection in underwater environments. We developed a high-accuracy, lightweight detection model—UWNet. The results demonstrate that UWNet excels in detection accuracy, particularly in identifying difficult-to-detect organisms like starfish and scallops. Compared to other models, UWNet reduces the number of model parameters by 5% to 390%, substantially improving computational efficiency while maintaining top detection accuracy. Its lightweight design enhances the model's applicability for deployment on underwater robots.
Introduction
Underwater object detection is a critical component of marine ecosystem monitoring, yet it remains one of the most challenging tasks in computer vision. Images captured in aquatic environments typically suffer from severe color distortion—often appearing heavily blue or green—low contrast, and significant blurring. Furthermore, the biological targets of interest, such as starfish, scallops, and sea cucumbers, are frequently small, occluded by seafloor structures, or camouflaged against the seabed.
Existing detection frameworks often struggle to balance performance and efficiency. Convolutional Neural Networks (CNNs) are computationally efficient but lack a global receptive field, while Transformer-based models offer global context at the cost of quadratic computational complexity ($O(n^2)$). For Autonomous Underwater Vehicles (AUVs) with limited battery and processing resources, a more efficient architecture is required. This paper introduces UWNet, a lightweight framework that leverages Structured Space Models (SSMs) to achieve global modeling with linear complexity.
Methodology
UWNet is built upon the YOLOv8 framework, incorporating several key innovations to optimize it for underwater environments:
1. Mamba-based Structured Space Models
The core of UWNet is the integration of the Mamba architecture. Unlike traditional Transformers, Mamba utilizes a selective scanning mechanism that allows for global context modeling with linear complexity ($O(n)$). This enables the model to understand the entire scene—distinguishing between monotonous backgrounds and biological targets—without the heavy computational overhead.
2. MSDBlock and MSFF
The Mamba-based Structured Detection Block (MSDBlock) integrates SSMs into the network backbone, utilizing a Hybrid Feature Integration Block (HFIB) to balance local and global features. To address the "vanishing" of small objects during downsampling, the Multi-scale Implicit Feature Enhancement (MSFF) module is placed before the detection heads. MSFF uses multi-view aggregation and element-wise multiplication to sharpen the features of tiny targets like scallops and starfish.
3. SPDConv
Standard strided convolutions often discard fine-grained spatial information during downsampling. UWNet employs Space-to-Depth (SPDConv) convolutions to ensure that the spatial details of small organisms are preserved throughout the network layers, preventing small targets from being "erased" during processing.
Experimental Results
The model was validated using three major underwater benchmarks: URPC2020, URPC2021, and the DUO (Detecting Underwater Objects) dataset.
Performance Metrics
UWNet achieved a significant reduction in model size, featuring only 6.67 million parameters. This represents a reduction of 40% to 390% compared to mainstream detectors such as YOLOv7, YOLOv10s, and RT-DETR. Despite its lightweight nature, UWNet improved the mean Average Precision (mAP50) by 7.1% to 7.2% over baseline models on the URPC2020 test set.
Small Object Detection
The framework demonstrated superior performance in identifying difficult targets. By utilizing MSFF and SPDConv, the "signal" of small organisms remained robust, leading to higher detection rates for starfish and scallops, which are typically prone to being missed due to their size and shape.
Conclusion
UWNet provides a highly efficient and accurate solution for real-time marine monitoring. By combining the efficiency of Structured Space Models with targeted feature enhancement, the model overcomes the traditional trade-off between accuracy and computational cost. Future work will explore further model compression through pruning and the use of generative AI to simulate diverse underwater conditions, enhancing the model's robustness in high-turbidity environments.
Summary updated