TrAISformer -- A Transformer Network with Sparse Augmented Data Representation and Cross Entropy Loss for AIS-based Vessel Trajectory Prediction
About
Vessel trajectory prediction plays a pivotal role in numerous maritime applications and services. While the Automatic Identification System (AIS) offers a rich source of information to address this task, forecasting vessel trajectory using AIS data remains challenging, even for modern machine learning techniques, because of the inherent heterogeneous and multimodal nature of motion data. In this paper, we propose a novel approach to tackle these challenges. We introduce a discrete, high-dimensional representation of AIS data and a new loss function designed to explicitly address heterogeneity and multimodality. The proposed model-referred to as TrAISformer-is a modified transformer network that extracts long-term temporal patterns in AIS vessel trajectories in the proposed enriched space to forecast the positions of vessels several hours ahead. We report experimental results on real, publicly available AIS data. TrAISformer significantly outperforms state-of-the-art methods, with an average prediction performance below 10 nautical miles up to ~10 hours.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Vessel Trajectory Prediction | Maritime-MmD+ 1.0 (test) | ADE1.63 | 42 | |
| Vessel Trajectory Prediction | Maritime-MmD+ v1 (test) | Average Displacement Error (ADE)2.4 | 42 | |
| Trajectory Prediction | Maritime-MmD+ Prediction Step scenario | ADE ($10^{-2}$)212 | 28 | |
| Trajectory Prediction | Maritime-MmD+ Vessel Density scenario | ADE385 | 28 | |
| Trajectory Prediction | Maritime-MmD+ AIS Missing scenario | ADE (10^-2)2.58 | 28 | |
| Vessel Trajectory Prediction | Maritime-MmD+ medium vessel density (Φ = ϕ_m) | ADE1.7 | 14 | |
| Vessel Trajectory Prediction | Maritime-MmD+ low vessel density (Φ = ϕ_l) | ADE6.09 | 14 | |
| Vessel Trajectory Prediction | Maritime-MmD+ high vessel density (Φ = ϕ_h) | ADE2.19 | 14 | |
| Vessel Destination Estimation | Worldwide AIS Trajectory (test) | Overall Accuracy64.6 | 13 | |
| Vessel Trajectory Prediction | Private Vessel Trajectory Dataset (test) | MSEP0.71 | 3 |