Ship Motion State Recognition Using Trajectory Image Modeling and CNN-Lite
Intelligent recognition of ship motion states is a key technology for achieving smart maritime supervision and optimized port scheduling. To enhance both the modeling efficiency and recognition accuracy of AIS trajectory data, this paper proposes a ship behavior recognition method that integrates trajectory-to-image conversion with a convolutional neural network (CNN) for classifying three typical motion states: mooring, anchoring, and sailing. Firstly, a multi-step preprocessing pipeline is established, incorporating trajectory cleaning, interpolation complementation, and segmentation to ensure data completeness and consistency; secondly, dynamic features—including speed, heading, and temporal progression—are encoded into an RGB three-channel image, which not only preserves the original spatial and temporal information of the trajectory but also strengthens the dimension of the feature expression of the image. Thirdly, the lightweight CNN architecture (CNN-Lite) is designed to automatically extract spatial motion patterns from these images, with data augmentation techniques further enhancing model robustness and generalization across diverse scenarios. Finally, comprehensive comparative experiments are conducted to evaluate the proposed method. On a real-world AIS dataset, the proposed method achieves an accuracy of 91.54%, precision of 91.51%, recall of 91.54%, and F1-score of 91.52%—demonstrating superior or highly competitive performance compared with SVM, KNN, MLSTM, ResNet-50 and Swin-Transformer in both classification accuracy and model stability. These results confirm that constructing dynamic-feature-enriched RGB trajectory images and designing a lightweight CNN can effectively improve ship behavior recognition performance and provide a practical and efficient technical solution for abnormal anchoring detection, maritime traffic monitoring, and development of intelligent shipping systems.
Authors
- Bo Liu (ORCID: https://orcid.org/0000-0002-2268-6176)
- Peng Xie (ORCID: https://orcid.org/0000-0001-9344-381X)
- Yu Yan (ORCID: https://orcid.org/0009-0004-4202-6935)
- Shuaibing Zhao (ORCID: https://orcid.org/0009-0003-6649-8665)
- Zongshun Tian (ORCID: https://orcid.org/0000-0003-4621-2829)
- Xueyuan Li (ORCID: https://orcid.org/0000-0002-0903-9388)
- Yuefeng Lu (ORCID: https://orcid.org/0000-0003-4251-1573)
Institutions
- Shandong University of Technology (CN)
- Chongqing University (CN)
- East China University of Technology (CN)
- State Key Laboratory of Vehicle NVH and Safety Technology (CN)
Publication Details
- Journal
- Journal of Marine Science and Engineering
- Published
- 2025-12-08
- DOI
- https://doi.org/10.3390/jmse13122327
- Primary Topic
- Maritime Navigation and Safety
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Fundamental Research Funds for the Central Universities