TL;DR
This paper introduces HPMTD, a novel deep learning algorithm for maritime target detection that significantly improves accuracy and efficiency. By combining attention-optimized deformable convolutions for robust feature extraction and a lightweight fusion network, HPMTD achieves state-of-the-art performance with reduced model size and computational cost, making it suitable for edge deployment.
What Problem Does This Paper Address?
Maritime surveillance is crucial for security and economic activities, but detecting targets in videos is challenging. Existing systems struggle with:
- Varying Target Scales: Ships range from small sailboats to large tankers, making it hard to detect both extremes effectively.
- Adverse Environmental Conditions: Rain, fog, low light, and dynamic water surfaces (waves, wakes) degrade image quality and obscure targets.
- Limited Edge Computing Power: Maritime surveillance often relies on low-power, low-computation edge devices, restricting the complexity of detection models.
These factors lead to low detection accuracy, missed targets, and slow processing, hindering real-time maritime monitoring.
Methods
The proposed HPMTD algorithm is built upon three core modules:
- Attention-Optimized Deformable Convolution for Feature Extraction:
- Deformable Convolution (DCNv2): This standard technique allows convolutional kernels to adapt their shape to the target's geometry, improving detection of irregularly shaped objects and handling occlusions.
- Global Coordinate Attention (GCA): The authors introduce an enhancement to DCNv2 by integrating GCA. GCA helps the model learn more accurate offsets for deformable convolutions by focusing on spatial relationships and suppressing background noise, thereby improving the ability to handle low visibility and occlusions.
- Lightweight Shallow Feature Progressive Fusion (SFPF):
- Ghost Dynamic Convolution (Ghost-D): This module combines the efficiency of "ghost" convolutions (generating more feature maps from fewer computations) with dynamic convolution (allowing weights to adapt to input). This significantly reduces model parameters and computation while maintaining feature representation.
- Adaptive Spatial Feature Fusion (ASFF): ASFF is used to fuse features from different scales. It adaptively learns spatial weights for each feature map, enhancing cross-scale interaction and preventing feature loss, which is crucial for detecting targets of varying sizes.
- Small Target Detection Layer: An additional layer is incorporated to specifically address the challenge of detecting very small targets.
- Multi-Scale Sensing Head:
- This module is designed to effectively learn and fuse scale-specific features. It incorporates a scale-aware attention mechanism (MultiSEAM) to help the model focus on relevant target areas and improve localization accuracy. The head uses decoupled branches for classification and regression, employing Varifocal Loss (VFL) for classification and Complete IoU (CIoU) and Distribution Focal Loss (DFL) for bounding box regression.
Datasets
The primary dataset used for training and evaluation is the Singapore Maritime Dataset (SMD).
- SMD: This dataset comprises coastal surveillance videos with challenges like occlusions, category imbalances, and loosely defined bounding boxes. It contains 6350 maritime images sampled from videos, organized in a COCO dataset structure, with nine categories including ferry, buoy, vessel, speedboat, boat, kayak, sail, and bird.
Key Insights and Ideas
- Attention for Deformable Convolutions is Key: The integration of Global Coordinate Attention (GCA) with deformable convolutions is a critical innovation. It shows that by guiding the learning of deformable offsets with attention, the model becomes much more robust to challenging visual conditions like fog and partial occlusion.
- Ghost Dynamic Convolutions for Lightweight Fusion: The use of Ghost-D in the fusion module is a smart way to achieve a lightweight design without sacrificing performance. It demonstrates that efficient convolution operations can be effectively leveraged for feature fusion.
- Progressive Fusion for Scale Invariance: The SFPF module's progressive structure, starting from shallow features and gradually fusing deeper ones, helps bridge the semantic gap between layers and better handle the wide range of target scales present in maritime scenes.
- Edge-Friendly Design Pays Off: The emphasis on reducing parameters and computation through techniques like Ghost-D and efficient attention mechanisms directly addresses the constraints of edge devices, making the algorithm practical for real-world deployment.
Key Results
The HPMTD algorithm demonstrates significant improvements:
- Accuracy: Achieves a nearly 10% improvement in mean average precision (mAP) compared to counterparts on the SMD dataset. It shows a 6.1% higher mAP than YOLOv7 and 1.5% higher mAP than YOLOv8m.
- Efficiency: The model is nearly half the size of comparable models (e.g., 1/4 the size of YOLOv7).
- Speed: Runs three times faster than RTDETR models with comparable accuracy.
- Robustness: Maintains nearly the same accuracy in low-visibility maritime conditions (e.g., foggy weather), showcasing its robustness.
- Small Target Detection: Exhibits a better detection effect on small targets like boats and kayaks.
Limitations and Future Work
- Further Exploration of Applicability: The authors suggest that while the model performs well under various weather conditions, further exploration into its applicability in scenarios with extreme weather effects and occlusions could be beneficial.
- Real-time Deployment on Terminal Equipment: The paper aims to solve the problem of high-precision maritime target detection in real-time deployment on terminal equipment. While HPMTD is designed to be lightweight, further optimization for specific edge hardware might be a future direction.
Summary updated