Abstract
Vision-based underwater object detection technology is a hot topic of current research. In order to address the issues of low accuracy and high missed rate of marine life detection, an object detection algorithm called MDM-YOLO (Marine Detection Model with YOLO) for marine organisms based on improved YOLOv4 is proposed. To improve the network's capacity for feature extraction, a multi-branch architecture CSBM is integrated into the backbone. Based on this, the feature fusion structure introduces shuffle attention to reinforce the focus on important information. The experimental results demonstrate that the MDM-YOLO algorithm increases the mean average precision (mAP) by 2.31 % compared to the YOLOv4 algorithm on the Underwater Robot Picking Contest (URPC) dataset. Moreover, on the RSOD dataset and PASCAL VOC dataset, MDM-YOLO obtained an mAP of 87.54 % and 86.87 %, respectively. According to these advancements, the MDM-YOLO model is more suitable for the identification of items on the seafloor.
Introduction
Underwater environments present significant challenges for computer vision. Images are frequently blurred, distorted by water waves, and affected by uneven lighting or low visibility. Furthermore, marine organisms such as sea urchins and scallops often appear in dense, small clusters, leading to high "missed detection" rates. Standard models like YOLOv4 often struggle to extract sufficiently rich features from these low-quality inputs to distinguish targets from noisy backgrounds. MDM-YOLO was developed to bridge this gap, creating a model robust to poor image quality and sensitive enough to detect small, obscured organisms on the seafloor.
Methods
MDM-YOLO introduces three major upgrades to the standard YOLOv4 pipeline to enhance detection performance in marine environments.
Image Pre-processing (MSRCR)
Before entering the neural network, images are processed using Multi-Scale Retinex with Color Restoration (MSRCR). This step "de-hazes" the water, corrects color shifts, and improves local contrast, making targets like starfish significantly easier to discern.
Backbone Upgrade: CSBM Multi-Branch Block
The standard $3 \times 3$ convolutions in the CSPDarknet53 backbone are replaced with a novel Cross-Stage Multiple-Branching block (CSBM). Inspired by structural re-parameterization techniques, this block utilizes parallel $1 \times 1$ and $3 \times 3$ paths during training to capture diverse spatial information. These branches are fused back into a single $3 \times 3$ convolution during the inference stage to maintain high processing speeds without sacrificing representational power. Notably, the block incorporates Group Normalization (GN), which is more effective than standard Batch Normalization for the small-batch training common in specialized underwater datasets.
Neck Enhancement: Shuffle Attention
To prevent information loss during feature fusion in the PANet (the "neck" of the model), a Shuffle Attention (SA) mechanism is integrated. This lightweight module employs channel and spatial attention to help the model ignore background noise and focus specifically on the organisms of interest. Research indicated that placing the SA module after feature fusion is most effective for "cleaning up" features before they reach the detection head.
Experimental Results
The researchers evaluated MDM-YOLO across three distinct benchmarks: the URPC 2020 dataset (real-world underwater images), the RSOD dataset (remote sensing), and PASCAL VOC 2007.
On the URPC dataset, MDM-YOLO achieved a 77.94% mAP, outperforming standard YOLOv4 (75.63%) and YOLOv5 (77.57%). The model showed particular strength in detecting sea cucumbers and sea urchins, which are notoriously difficult due to their texture and tendency to cluster. Furthermore, the model achieved 87.54% mAP on RSOD and 86.87% on PASCAL VOC, demonstrating that the architectural improvements benefit small-target detection across various domains.
Despite these upgrades, the model's parameter count only increased slightly (from 69.13M to 71.24M), ensuring it remains viable for real-time use on autonomous underwater vehicles (AUVs).
Conclusion
MDM-YOLO significantly improves marine organism detection by combining MSRCR image enhancement with a redesigned YOLOv4 architecture featuring a multi-branch backbone and shuffle attention. While the increased complexity is a trade-off for resource-constrained robots, the gains in accuracy and robustness make it a powerful tool for seafloor exploration. Future work will focus on further refining the balance between accuracy and inference speed for deployment on edge devices.
Summary updated