Chinese Journal of Ship Research, Volume. 19, Issue 2, 223(2024)
Ship trajectory anomaly detection method based on encoder-decoder architecture composed of Transformer_LSTM modules
In order to improve the accuracy and efficiency of ship trajectory anomaly detection, and solve the problems of traditional anomaly detection methods such as limited feature characterization ability, insufficient compensation accuracy, gradient disappearance and overfitting, an unsupervised ship trajectory anomaly detection method based on the Transformer_LSTM codec module is proposed.
Based on the encoder decoder architecture, the Transformer_LSTM module replaces the traditional neural network to achieve track feature extraction and track reconstruction. By embedding the transformer into the recursive mechanism of LSTM, combined with the cyclic unit and attention mechanism, self-attention and cross-attention can be used to calculate the state vector of the cyclic unit and effectively construct the long sequence model. By minimizing the difference between the reconstructed output and original input, the model learns the characteristics and motion mode of the general trajectory, and trajectories with a reconstruction error greater than the abnormal threshold are judged as abnormal trajectories.
AIS data collected in January 2021 is adopted. The results show that the accuracy, precesion and recall rate of the model are significantly improved compared with those of LOF, DBSCAN, VAE, LSTM, etc. The F1 score is improved by 8.11% compared with that of the VAE_LSTM model.
The anomaly detection performance of the proposed method is significantly superior to the traditional algorithm in various indexes, and the model can be effectively and reliably applied to the trajectory anomaly detection of ships at sea.
Get Citation
Copy Citation Text
Kexin LI, Jian GUO, Ranchong LI, Yujun WANG, Zongming LI, Kun MIU. Ship trajectory anomaly detection method based on encoder-decoder architecture composed of Transformer_LSTM modules[J]. Chinese Journal of Ship Research, 2024, 19(2): 223
Category: Weapon, Electronic and Information System
Received: Mar. 1, 2023
Accepted: --
Published Online: Mar. 18, 2025
The Author Email: