MSC-YOLO: An Accurate and Effective Maritime Ship Detection Model Based on Improved YOLOv11n
Abstract
1. Introduction
2. Related Work
2.1. Maritime Surveillance Datasets and Scenario-Specific Detection Tasks
2.2. Background-Robust and Scale-Aware Maritime Ship Detection
2.3. Fine-Grained Maritime Target Recognition and Category Relation Modeling
3. Proposed Model
3.1. YOLOv11n Baseline Model
3.2. The Network Structure of MSC-YOLO
3.2.1. Maritime Scene Adaptive Attention Module
3.2.2. Scale-Aware Dynamic Head
3.2.3. Class Prototype Guided Module
4. Experiment
4.1. Experimental Configuration
4.2. Computational Complexity and Inference Efficiency
4.3. Experimental Datasets
4.4. Evaluation Metrics
- 1.
- Precision (B): It measures the proportion of correctly predicted positive observations to the total predicted positives. The formula is
- 2.
- Recall (B): It represents the proportion of correctly predicted positive observations to all actual positives in the dataset:
- 3.
- mAP@50 (B): Mean Average Precision () is the primary metric for object detection. is calculated by averaging the Average Precision (AP) across all categories at an Intersection over Union (IoU) threshold of 0.5. The AP is the area under the Precision–Recall curve:where N is the total number of classes.
- 4.
- mAP@50–95 (B): This provides a more comprehensive evaluation by averaging the class-wise AP over IoU thresholds ranging from 0.50 to 0.95 with a step of 0.05:where denotes the AP of class i at IoU threshold t, N is the number of classes, and .
4.4.1. Ablation Experiment
4.4.2. Visualization Analysis
4.4.3. Performance Comparison of MSC-YOLO with Other Mainstream Object Detection Models
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Nomenclature
References
- Cheng, S.; Zhu, Y.; Wu, S. Deep learning based efficient ship detection from drone-captured images for maritime surveillance. Ocean Eng. 2023, 285, 115440. [Google Scholar] [CrossRef] [Scilit]
- Er, M.J.; Zhang, Y.; Chen, J.; Gao, W. Ship detection with deep learning: A survey. Artif. Intell. Rev. 2023, 56, 11825–11865. [Google Scholar] [CrossRef] [Scilit]
- Dong, T.; Wang, T.; Han, Y.; Li, D.; Zhang, G.; Peng, Y. DWTF-DETR: A DETR-Based Model for Inshore Ship Detection in SAR Imagery via Dynamically Weighted Joint Time–Frequency Feature Fusion. Remote Sens. 2025, 17, 3301. [Google Scholar] [CrossRef] [Scilit]
- Gong, Y.; Chen, Z.; Tan, J.; Yin, C.; Deng, W. Two-stage ship detection at long distances based on deep learning and slicing technique. PLoS ONE 2024, 19, e0313145. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, B.; Liu, J.; Liu, R.W.; Huang, Y. Deep-learning-empowered visual ship detection and tracking: Literature review and future direction. Eng. Appl. Artif. Intell. 2025, 141, 109754. [Google Scholar] [CrossRef] [Scilit]
- Zheng, Y.; Zhang, Y.; Qian, L.; Zhang, X.; Diao, S.; Liu, X.; Cao, J.; Huang, H. A lightweight ship target detection model based on improved YOLOv5s algorithm. PLoS ONE 2023, 18, e0283932. [Google Scholar] [CrossRef] [Scilit]
- Liu, S.; Shao, F.; Xue, J.; Dai, J.; Chu, W.; Liu, Q.; Zhang, T. Optical Remote Sensing Ship Detection Combining Channel Shuffling and Bilinear Interpolation. Remote Sens. 2025, 17, 3828. [Google Scholar] [CrossRef] [Scilit]
- Jiang, X.; Cai, J.; Wang, B. YOLOSeaShip: A lightweight model for real-time ship detection. Eur. J. Remote Sens. 2024, 57, 2307613. [Google Scholar] [CrossRef] [Scilit]
- Yang, X.; Mohamed, A.S.A.; Wang, C. ShadowFPN-YOLO: A Real-Time NMS-Free Detector for Remote Sensing Ship Detection. IEEE Access 2025, 13, 55801–55814. [Google Scholar] [CrossRef] [Scilit]
- Ribeiro, M.; Damas, B.; Bernardino, A. Real-Time Ship Segmentation in Maritime Surveillance Videos Using Automatically Annotated Synthetic Datasets. Sensors 2022, 22, 8090. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, L.; Fan, S.; Liu, Y.; Li, Y.; Fei, C.; Liu, J.; Liu, B.; Dong, Y.; Liu, Z.; Zhao, X. A Review of Methods for Ship Detection with Electro-Optical Images in Marine Environments. J. Mar. Sci. Eng. 2021, 9, 1408. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Xu, C.; Su, H.; Gao, L.; Wang, T. Deep Learning for SAR Ship Detection: Past, Present and Future. Remote Sens. 2022, 14, 2712. [Google Scholar] [CrossRef] [Scilit]
- Shao, Z.; Lyu, H.; Yin, Y.; Cheng, T.; Gao, X.; Zhang, W.; Jing, Q.; Zhao, Y.; Zhang, L. Multi-Scale Object Detection Model for Autonomous Ship Navigation in Maritime Environment. J. Mar. Sci. Eng. 2022, 10, 1783. [Google Scholar] [CrossRef] [Scilit]
- Gao, Z.; Zhang, Y.; Wang, S. Lightweight Small Ship Detection Algorithm Combined with Infrared Characteristic Analysis for Autonomous Navigation. J. Mar. Sci. Eng. 2023, 11, 1114. [Google Scholar] [CrossRef] [Scilit]
- Folarin, A.; Munin-Doce, A.; Ferreno-Gonzalez, S.; Ciriano-Palacios, J.M.; Diaz-Casas, V. Real Time Vessel Detection Model Using Deep Learning Algorithms for Controlling a Barrier System. J. Mar. Sci. Eng. 2024, 12, 1363. [Google Scholar] [CrossRef] [Scilit]
- Fan, Y.; Ju, D.; Han, B.; Sun, F.; Shen, L.; Gao, Z.; Mu, D.; Niu, L. MASS-LSVD: A Large-Scale First-View Dataset for Marine Vessel Detection. J. Mar. Sci. Eng. 2025, 13, 2201. [Google Scholar] [CrossRef] [Scilit]
- Cui, Z.; Li, Q.; Cao, Z.; Liu, N. Dense attention pyramid networks for multi-scale ship detection in SAR images. IEEE Trans. Geosci. Remote Sens. 2019, 57, 8983–8997. [Google Scholar] [CrossRef] [Scilit]
- Gao, G.; Wang, Y.; Chen, Y.; Yang, G.; Yao, L.; Zhang, X.; Li, H.; Li, G. An Oriented Ship Detection Method of Remote Sensing Image With Contextual Global Attention Mechanism and Lightweight Task-Specific Context Decoupling. IEEE Trans. Geosci. Remote Sens. 2025, 63, 4200918. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Wang, B.; Huo, L.; Fan, Y. GT-YOLO: Nearshore Infrared Ship Detection Based on Infrared Images. J. Mar. Sci. Eng. 2024, 12, 213. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Li, C.; Fu, G. PJ-YOLO: Prior-Knowledge and Joint-Feature-Extraction Based YOLO for Infrared Ship Detection. J. Mar. Sci. Eng. 2025, 13, 226. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Wang, S. EGM-YOLOv8: A Lightweight Ship Detection Model with Efficient Feature Fusion and Attention Mechanisms. J. Mar. Sci. Eng. 2025, 13, 757. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Dong, C.; Guo, L.; Meng, X.; Liu, Y.; Wei, Q. AFMSFFNet: An Anchor-Free-Based Feature Fusion Model for Ship Detection. Remote Sens. 2024, 16, 3465. [Google Scholar] [CrossRef] [Scilit]
- Zheng, J.; Liu, Y. A study on small-scale ship detection based on attention mechanism. IEEE Access 2022, 10, 77940–77949. [Google Scholar] [CrossRef] [Scilit]
- Shi, W.; Zheng, W.; Xu, Z. Ship-Yolo: A Deep Learning Approach for Ship Detection in Remote Sensing Images. J. Mar. Sci. Eng. 2025, 13, 737. [Google Scholar] [CrossRef] [Scilit]
- Fang, Z.; Wang, X.; Zhang, L.; Jiang, B. YOLO-RSA: A Multiscale Ship Detection Algorithm Based on Optical Remote Sensing Image. J. Mar. Sci. Eng. 2024, 12, 603. [Google Scholar] [CrossRef] [Scilit]
- Xu, Y.; Lang, H. Distribution shift metric learning for fine-grained ship classification in SAR images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2020, 13, 2276–2285. [Google Scholar] [CrossRef] [Scilit]
- Zhu, H.; Mu, Y.; Xie, W.; Xing, K.; Tan, B.; Zhou, Y.; Yu, Z.; Cui, Z.; Zhang, C.; Liu, X.; et al. Deep metric learning for fine-grained ship classification in SAR images with sidelobe interference. Remote Sens. 2025, 17, 1835. [Google Scholar] [CrossRef] [Scilit]
- Seo, D.; Lee, D.; Park, S.; Oh, S. Hyperspectral Image-Based Identification of Maritime Objects Using Convolutional Neural Networks and Classifier Models. J. Mar. Sci. Eng. 2025, 13, 6. [Google Scholar] [CrossRef] [Scilit]
- Ultralytics. Ultralytics/YOLO11 Model Card. 2024. Available online: https://huggingface.co/Ultralytics/YOLO11 (accessed on 29 March 2026).
- Huang, J.; Wang, K.; Hou, Y.; Wang, J. LW-YOLO11: A lightweight arbitrary-oriented ship detection method based on improved YOLO11. Sensors 2024, 25, 65. [Google Scholar] [CrossRef] [Scilit]
- Shao, Z.; Yin, Y.; Lyu, H.; Soares, C.G.; Cheng, T.; Jing, Q.; Yang, Z. An Efficient Model for Small Object Detection in the Maritime Environment. Appl. Ocean Res. 2024, 152, 104194. [Google Scholar] [CrossRef] [Scilit]
- Song, R.; Li, T.; Li, T. Ship Detection in Haze and Low-Light Remote Sensing Images via Colour Balance and DCNN. Appl. Ocean Res. 2023, 139, 103702. [Google Scholar] [CrossRef] [Scilit]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-Excitation Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7132–7141. [Google Scholar] [CrossRef] [Scilit]
- Guo, Y.; Chen, S.; Zhan, R.; Wang, W.; Zhang, J. LMSD-YOLO: A Lightweight YOLO Algorithm for Multi-Scale SAR Ship Detection. Remote Sens. 2022, 14, 4801. [Google Scholar] [CrossRef] [Scilit]
- Guo, H.; Bai, H.; Yuan, Y.; Qin, W. Fully Deformable Convolutional Network for Ship Detection in Remote Sensing Imagery. Remote Sens. 2022, 14, 1850. [Google Scholar] [CrossRef] [Scilit]
- Chen, P.; Zhou, H.; Li, Y.; Liu, P.; Liu, B. A Novel Deep Learning Network with Deformable Convolution and Attention Mechanisms for Complex Scenes Ship Detection in SAR Images. Remote Sens. 2023, 15, 2589. [Google Scholar] [CrossRef] [Scilit]
- Snell, J.; Swersky, K.; Zemel, R. Prototypical networks for few-shot learning. In Advances in Neural Information Processing Systems; NeurIPS: San Diego, CA, USA, 2017; Volume 30. [Google Scholar]
- Zhang, Y.; Chen, W.; Li, S.; Liu, H.; Hu, Q. YOLO-Ships: Lightweight Ship Object Detection Based on Feature Enhancement. J. Vis. Commun. Image Represent. 2024, 101, 104170. [Google Scholar] [CrossRef] [Scilit]













| Configuration Item | Value |
|---|---|
| GPU | NVIDIA GeForce RTX 4090 (24 GB) |
| Programming Language | Python 3.11 |
| Deep Learning Framework | PyTorch 2.1.0 (CUDA 12.1) |
| Input Image Size | |
| Optimizer | SGD |
| Initial Learning Rate | 0.01 |
| Batch Size | 32 |
| Training Epochs | 300 |
| Momentum | 0.937 |
| Weight Decay | 0.0005 |
| Model | Parameters (M) | GFLOPs | Latency (ms/Image) | FPS |
|---|---|---|---|---|
| YOLOv11n | 2.6241 | 6.6143 | 1.212 | 824.91 |
| MSC-YOLO | 8.7746 | 15.8471 | 1.974 | 506.53 |
| Experiment | MSAM | SDA-Head | CPG | mAP@50 | mAP@50–95 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 1 | 0.7946 | 0.7238 | 0.6721 | 0.9067 | |||
| 2 | ✓ | 0.8517 | 0.7249 | 0.7832 | 0.9415 | ||
| 3 | ✓ | 0.8824 | 0.7256 | 0.8041 | 0.9528 | ||
| 4 | ✓ | 0.9136 | 0.7275 | 0.8519 | 0.9642 | ||
| 5 | ✓ | ✓ | 0.9326 | 0.7284 | 0.8635 | 0.9689 | |
| 6 | ✓ | ✓ | 0.9418 | 0.7293 | 0.8726 | 0.9713 | |
| 7 | ✓ | ✓ | 0.9517 | 0.7302 | 0.8814 | 0.9756 | |
| 8 (Ours) | ✓ | ✓ | ✓ | 0.9723 | 0.7315 | 0.8903 | 0.9883 |
| Algorithm | mAP@50 (B) | mAP@50–95 (B) | Precision (B) | Recall (B) |
|---|---|---|---|---|
| Our method | 0.9723 | 0.7315 | 0.8903 | 0.9883 |
| YOLOv11n | 0.7946 | 0.7238 | 0.6721 | 0.9067 |
| YOLOv8 | 0.8011 | 0.6842 | 0.8662 | 0.8734 |
| YOLOv9 | 0.8118 | 0.6947 | 0.8326 | 0.8894 |
| YOLOv10 | 0.8297 | 0.7085 | 0.8613 | 0.8808 |
| RT-DETR | 0.8524 | 0.7181 | 0.8746 | 0.8927 |
| DINO | 0.8386 | 0.7243 | 0.8821 | 0.8716 |
| RepGFPN | 0.3108 | 0.2817 | 0.3066 | 0.4133 |
| SSD300 | 0.3025 | 0.2741 | 0.2671 | 0.3233 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Lu, B.; Liu, L.; Wang, C.; Wang, D.; Xu, H.; Cao, J. MSC-YOLO: An Accurate and Effective Maritime Ship Detection Model Based on Improved YOLOv11n. J. Mar. Sci. Eng. 2026, 14, 1066. https://doi.org/10.3390/jmse14121066
Lu B, Liu L, Wang C, Wang D, Xu H, Cao J. MSC-YOLO: An Accurate and Effective Maritime Ship Detection Model Based on Improved YOLOv11n. Journal of Marine Science and Engineering. 2026; 14(12):1066. https://doi.org/10.3390/jmse14121066
Chicago/Turabian StyleLu, Benkun, Ling Liu, Caiyun Wang, Ding Wang, Hao Xu, and Jingjing Cao. 2026. "MSC-YOLO: An Accurate and Effective Maritime Ship Detection Model Based on Improved YOLOv11n" Journal of Marine Science and Engineering 14, no. 12: 1066. https://doi.org/10.3390/jmse14121066
APA StyleLu, B., Liu, L., Wang, C., Wang, D., Xu, H., & Cao, J. (2026). MSC-YOLO: An Accurate and Effective Maritime Ship Detection Model Based on Improved YOLOv11n. Journal of Marine Science and Engineering, 14(12), 1066. https://doi.org/10.3390/jmse14121066

