Abstract:With the continuous development of ship target detection technology, the visibility of ship targets is low under adverse weather conditions such as fog, rain, and snow, which leads to incomplete feature extraction of the model and a significant decline in detection performance. To address the above issues, a lightweight target detection model named GSPN-YOLO is proposed. This model is based on the YOLOv8s architecture, where the ordinary convolution in the backbone network is replaced by Ghost convolution, and the C2f module is replaced by the GhostNCSP module. This approach reduces the computational load while improving network accuracy. In the neck network, a channel-rearranged multi-scale feature pyramid is designed, which significantly enhances the representation ability of multi-scale features. Experimental tests show that on a self-made dataset, compared with the baseline model YOLOv8s, the AP@50:95 of GSPN-YOLO is improved by 2.1%, AP@50 by 2.7%, and AP@75 by 2.5%, while the number of parameters is reduced by 45.5%. Moreover, its detection performance is superior to that of state-of-the-art (SOTA) target detection algorithms such as YOLOv10s and YOLOv11s, meeting the application requirements for ship detection under complex weather conditions.