Abstract
Accurate ship trajectory prediction is vital for intelligent maritime traffic management, yet conventional hybrid models often fail to balance local feature extraction, long-term dependency capture, and flexible feature weighting when processing AIS data. This paper proposes an MSC-BiLSTM-ATTENTION model that integrates trajectory clustering and an adaptive attention mechanism into a unified framework. Its fundamental advance over existing incremental hybrid architectures is twofold. First, a K-means clustering step groups trajectories with similar motion patterns before model training, effectively reducing the impact of data heterogeneity on prediction accuracy. Second, the deep learning backbone synergizes multi-scale convolution (MSC)—which captures local features at multiple temporal granularities via parallel kernels—with a bidirectional LSTM (BiLSTM) for forward–backward dependency learning, and an adaptive self-attention mechanism that dynamically optimizes feature weights to amplify critical navigation information. Extensive experiments on AIS data from the Gulf of Mexico and the U.S. Atlantic Coast, covering four seasons, benchmark the model against attention-enhanced architectures including Transformer, CNN-BiLSTM-ATTENTION, and DenseNet-BiGRU-ATTENTION across two distinct regions. The proposed model achieves significant improvements in predicting longitude, latitude, speed over ground, and course over ground, reducing MAE by over 76.9% and RMSE by over 65.3% compared with the strongest baseline. Ablation studies confirm that the synergy of all three modules is essential. The results demonstrate the model’s effectiveness and its practical value for intelligent maritime supervision, navigation risk warning, and waterborne traffic management.