Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/113547
PIRA download icon_1.1View/Download Full Text
Title: A transformer–VAE approach for detecting ship trajectory anomalies in cross-sea bridge areas
Authors: Hou, J
Zhou, H
Grifoll, M
Zhou, Y 
Liu, J
Ye, Y
Zheng, P
Issue Date: May-2025
Source: Journal of marine science and engineering, May 2025, v. 13, no. 5, 849
Abstract: Abnormal ship navigation behaviors in cross-sea bridge waters pose significant threats to maritime safety, creating a critical need for accurate anomaly detection methods. Ship AIS trajectory data contain complex temporal features but often lack explicit labels. Most existing anomaly detection methods heavily rely on labeled or semi-supervised data, thus limiting their applicability in scenarios involving completely unlabeled ship trajectory data. Furthermore, these methods struggle to capture long-term temporal dependencies inherent in trajectory data. To address these limitations, this study proposes an unsupervised trajectory anomaly detection model combining a transformer architecture with a variational autoencoder (transformer–VAE). By training on large volumes of unlabeled normal trajectory data, the transformer–VAE employs a multi-head self-attention mechanism to model both local and global temporal relationships within the latent feature space. This approach significantly enhances the model’s ability to learn and reconstruct normal trajectory patterns, with reconstruction errors serving as the criterion for anomaly detection. Experimental results show that the transformer–VAE outperforms conventional VAE and LSTM–VAE in reconstruction accuracy and achieves better detection balance and robustness compared to LSTM–-VAE and transformer–GAN in anomaly detection. The model effectively identifies abnormal behaviors such as sudden changes in speed, heading, and trajectory deviation under fully unsupervised conditions. Preliminary experiments using the POT method validate the feasibility of dynamic thresholding, enhancing the model’s adaptability in complex maritime environments. Overall, the proposed approach enables early identification and proactive warning of potential risks, contributing to improved maritime traffic safety.
Keywords: AIS data
Anomaly detection
Trajectory reconstruction
Transformer
Variational autoencoder
Publisher: MDPI AG
Journal: Journal of marine science and engineering 
EISSN: 2077-1312
DOI: 10.3390/jmse13050849
Rights: Copyright: © 2025 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 (https://creativecommons.org/licenses/by/4.0/).
The following publication Hou, J., Zhou, H., Grifoll, M., Zhou, Y., Liu, J., Ye, Y., & Zheng, P. (2025). A Transformer–VAE Approach for Detecting Ship Trajectory Anomalies in Cross-Sea Bridge Areas. Journal of Marine Science and Engineering, 13(5), 849 is available at https://doi.org/10.3390/jmse13050849.
Appears in Collections:Journal/Magazine Article

Files in This Item:
File Description SizeFormat 
jmse-13-00849.pdf5.31 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Version of Record
Access
View full-text via PolyU eLinks SFX Query
Show full item record

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.