Abstract:
Aiming at the problems of significant complex background interference, easy loss of edge details, and multi-scale feature fusion conflicts in SAR image ship detection, an adaptive fusion ship detection network with dual-pool guidance, termed DAFNet, is proposed. Based on YOLOv8n, the network first designs a dual-pooled feature enhancement channel attention mechanism (DFECA), which integrates adaptive average pooling and adaptive max pooling in parallel to fuse global structural information and local detail features, thereby suppressing sea surface clutter and speckle noise. Second, an adaptive spatial feature fusion (ASFF) structure is introduced to dynamically reconcile the semantic and detail information of features at different levels through scale normalization and adaptive weight allocation, alleviating information conflicts in multi-scale feature fusion. Finally, the WIoU loss function is adopted to replace CIoU, which uses a dynamic weighting mechanism to adaptively adjust the weights of overlap region, center point distance, and aspect ratio errors, improving target localization accuracy and convergence stability. Experimental results on the SAR-Ship-Dataset show that DAFNet achieves an mAP@50 of 95.3%, which is 2.5% higher than the baseline model YOLOv8n, and a recall of 92.1%, an increase of 5.4%. Its detection performance outperforms mainstream object detection algorithms such as Faster R-CNN, YOLOv11n, and YOLOv12n, and it exhibits good stability and repeatability in five independent experiments with different random seeds. Ablation and comparative experiments verify the effectiveness of the three improved modules, namely DFECA, ASFF, and WIoU. The proposed network significantly improves SAR image ship detection accuracy while maintaining low computational complexity, providing effective technical support for ocean monitoring and waterway security assurance.