A Dynamic Interference Detection Method of Underwater Scenes Based on Deep Learning and Attention Mechanism

Shuo Shang, Jianrong Cao, Yuanchang Wang, Ming Wang, Qianchuan Zhao, Yuanyuan Song, He GaoBiomimetics 2024 · DOI

TL;DR

This paper tackles the challenge of accurately detecting dynamic objects in underwater scenes, which is crucial for 3D reconstruction and robot navigation. They propose an improved YOLOv8 model incorporating a modified Bottleneck structure, an enhanced SE attention mechanism, and a novel MPDIoU loss function, achieving a remarkable 95.1% mAP on their custom dataset.

What Problem Does This Paper Address?

Underwater robot vision systems are vital for exploration and resource exploitation, but achieving accurate 3D reconstruction is hampered by "dynamic interference." This interference stems from moving objects (fish, submersibles, marine life) and natural phenomena (currents, waves) that cause blurriness, ghosting, and noise in images. Existing target detection algorithms struggle in these complex, low-light environments due to factors like poor lighting, similar target-background appearances, and water turbidity. Accurately identifying and excluding these dynamic disturbances is key to improving the quality of underwater 3D reconstructions and enabling reliable autonomous navigation.

Methods

The researchers build upon the state-of-the-art YOLOv8 object detection framework. Their improvements focus on three key areas:

  • Enhanced Feature Extraction: They modify the Bottleneck convolutional network structure to reduce computational load while improving detection accuracy. This involves replacing standard convolutional layers with a partial convolution (PConv) approach, which processes only a subset of channels to minimize redundant computations and memory access.
  • Improved Attention Mechanism: To better capture subtle features in challenging underwater conditions, they integrate an enhanced SE (Squeeze-and-Excitation) attention mechanism. This mechanism helps the network focus on relevant feature channels, particularly for small or camouflaged dynamic objects. They also replace the standard ReLU activation with PReLU in the SE module for better handling of negative inputs.
  • Novel Loss Function: The default CIoU loss function in YOLOv8 is replaced with MPDIoU (Maximal Probability Distribution Intersection over Union). This new loss function is designed to address limitations of CIoU, especially when bounding boxes have similar aspect ratios but different sizes, aiming to improve model convergence speed and accuracy.

Datasets

The paper introduces a newly created custom dataset specifically for underwater dynamic target detection. This dataset was manually curated by distinguishing between static and dynamic entities. Dynamic objects (humans, fish, turtles, jellyfish) were labeled as "dynamic," while static objects (boulders, coral, vegetation) were not. The dataset is supplemented with data from the Pexel platform and the RUOD dataset, aiming to capture diverse underwater scenarios, including low-light conditions, camouflage, and small dynamic targets.

Key Insights and Ideas

  • Attention is Crucial for Underwater: The SE attention mechanism, especially with the PReLU activation, significantly boosts the network's ability to discern small, dynamic objects in visually challenging underwater environments.
  • Efficiency Through Partial Convolutions: Replacing standard convolutions with PConv in the Bottleneck layers not only reduces computational cost but also improves detection accuracy, demonstrating that efficiency gains can lead to better performance.
  • Loss Function Matters for Convergence: The MPDIoU loss function proves more effective than CIoU for underwater dynamic object detection, leading to faster convergence and higher overall precision.
  • Custom Datasets Drive Performance: The creation of a specialized dataset, focusing on the distinction between static and dynamic elements, is critical for training models that excel in the specific challenges of underwater scenes.

Key Results

  • The proposed enhanced YOLOv8 model achieved a mean average precision (mAP) of 95.1% on their custom underwater dynamic target detection dataset.
  • This performance surpasses established two-stage detectors like Faster RCNN and other single-stage detectors (YOLOv5, SSD, YOLOv4) in terms of mAP, while maintaining a competitive inference time.
  • Ablation studies showed that each component (PConv, SE attention, MPDIoU loss) contributed positively to the overall performance.
  • Qualitative results demonstrated superior precision in detecting occluded divers and better performance in low-light, camouflaged scenarios compared to the original YOLOv8.

Limitations and Future Work

  • Dataset Size: The authors acknowledge that their self-constructed dataset is relatively small. They suggest that expanding the dataset's diversity in scenarios and categories, and potentially exploring automated annotation methods, would be valuable future work.
  • Annotation Subjectivity: Manual annotation, while effective, is inherently subjective and can lead to inconsistencies. This is a general limitation of human-annotated datasets.
  • Future Directions: The authors plan to continue optimizing the object detection algorithm and further enhance the dataset to achieve even more accurate detection outcomes for underwater dynamic objects.

Summary updated

Abstract

Improving the three-dimensional reconstruction of underwater scenes is a challenging and hot topic in the field of underwater robot vision system research. High dynamic interference underwater has always been one of the key issues affecting the 3D reconstruction of underwater scenes. However, due to the complex underwater environment and insufficient light, existing target detection algorithms cannot meet the requirements. This paper uses the YOLOv8 network as the basis of the algorithm and proposes an underwater dynamic target detection algorithm based on improved YOLOv8. This algorithm first improves the feature extraction layer of the YOLOv8 network, improves the convolutional network structure of Bottleneck, reduces the amount of calculation and improves detection accuracy. Secondly, it adds an improved SE attention mechanism to make the network have a better feature extraction effect; in addition, the confidence box loss function of the network is improved, and the CIoU loss function is replaced by the MPDIoU loss function, which effectively improves the model convergence speed. Experimental results show that the mAP value of the improved YOLOv8 underwater dynamic target detection algorithm proposed in this article can reach 95.1%, and it can detect underwater dynamic targets more accurately, especially small dynamic targets in complex underwater scenes.
BibTeX
@inproceedings{shang2024dynamic,
  author = {Shuo Shang and Jianrong Cao and Yuanchang Wang and Ming Wang and Qianchuan Zhao and Yuanyuan Song and He Gao},
  title = {{A Dynamic Interference Detection Method of Underwater Scenes Based on Deep Learning and Attention Mechanism}},
  booktitle = {Biomimetics},
  year = {2024},
  doi = {10.3390/biomimetics9110697},
}
Figure