TripleConvTransformer: A deep learning vessel trajectory prediction method fusing discretized meteorological data

Peng Huang, Qiong Chen, Dong Wang, Mingqing Wang, Xi Wu, Xiaomeng HuangFrontiers in Environmental Science 2022 · DOI

Abstract

As global climate change increases the volatility of maritime environments, reliable vessel trajectory prediction has become essential for risk mitigation and navigational efficiency. This paper introduces TripleConvTransformer, a novel deep learning method that integrates ship trajectory data with discretized meteorological factors. By employing a three-tier convolutional architecture—capturing global, local, and trend features—the model overcomes the limitations of traditional methods that often neglect environmental influences or fail to scale globally. Experimental results demonstrate that TripleConvTransformer achieves state-of-the-art accuracy, significantly reducing prediction errors for ocean-going vessels on a global scale.

Introduction

The shipping industry serves as the backbone of global trade, yet it remains highly vulnerable to environmental conditions. While the Automatic Identification System (AIS) provides a wealth of tracking data, utilizing it for precise, long-range prediction is challenging. Most existing models suffer from two primary flaws: they ignore the physical impact of wind, waves, and currents, and they struggle with the inherent noise and redundancy found in global AIS datasets. TripleConvTransformer addresses these gaps by fusing high-quality spatiotemporal trajectory data with discretized meteorological features to deeply mine the motion information of ocean-going ships.

Methodology

The TripleConvTransformer pipeline involves a sophisticated multi-stage process designed to refine raw data into actionable insights.

Data Preprocessing and Discretization

Raw AIS data is first cleaned using specialized filters to remove abnormal drift points and sensor-lag-induced stopping points. A critical innovation in this method is the use of the Minimum Description Length Principle (MDLP) for feature discretization. Rather than feeding raw, continuous meteorological values into the network, the model discretizes these attributes into intervals. This process effectively filters out environmental noise and highlights the most influential changes in the maritime environment, preventing the model from overfitting to minor fluctuations.

The MDLP-based discretization process for meteorological data.

The TripleConv Architecture

To capture the multi-scale nature of ship movement, the model utilizes three specialized convolutional modules before passing data to a simplified Transformer's self-attention layer:

  1. Global Convolution: Identifies long-term, fixed patterns across the entire trajectory.
  2. Local Convolution: Focuses on immediate, short-term movements and correlations between adjacent trajectory points.
  3. Trend Convolution: Employs polynomial fitting to ensure the prediction follows a stable, logical path, resisting momentary sensor noise.

Data and Experiments

The study utilized a massive dataset comprising real-world tracking of 7,849 bulk carriers (vessels exceeding 20,000 tons) throughout 2021. This resulted in a dataset of over 109 million trajectory points distributed globally.

Global distribution of the bulk carrier trajectory dataset.

In addition to AIS data, the model incorporates 14 meteorological attributes, including 10m wind components, total wave height, wave direction, ocean current vectors, and sea surface temperature. These factors act as the "invisible hands" that physically influence a vessel's path.

Results and Discussion

TripleConvTransformer was benchmarked against several leading time-series models, including GRU, TCN, and standard Transformers. For a 90-minute prediction window, the results were definitive:

  • Unmatched Accuracy: The model achieved the lowest Root Mean Square Error (RMSE) across all tests. In longitude prediction, it reached an RMSE of 0.0003 and an $R^2$ (goodness of fit) of 0.9999. In contrast, unoptimized standard Transformers showed significantly higher error rates (RMSE of 284.34), highlighting the importance of the TripleConv front-end.
  • Ablation Studies: Removing any of the three convolutional modules (Global, Local, or Trend) resulted in a measurable decrease in accuracy, confirming that the multi-scale feature extraction is vital for robust prediction.

Conclusion

TripleConvTransformer represents a significant advancement in maritime safety technology. By treating ship motion as a physics-informed problem rather than a simple coordinate sequence, the model achieves high-fidelity global predictions. Future research will focus on developing a "confidence index" to assist navigators in decision-making and adapting the convolutional kernels to better suit smaller, more agile vessel types.

Summary updated

Abstract

The shipping industry is increasingly threatened by global climate change. Reliable trajectory prediction can be used to perceive potential risks and ensure navigation efficiency. However, many existing studies have not fully considered the impact of complex ocean environmental factors and have only focused on local regions, which are difficult to extend to a global scale. To this end, we propose a deep learning vessel trajectory prediction method fusing discretized meteorological data (TripleConvTransformer). First, we clean the automatic identification system data to form a high-quality spatiotemporal trajectory dataset. Then, we fuse the trajectory data with the meteorological data after feature discretization to deeply mine the motion information of ocean-going ships. Finally, we design three modules, the global convolution, local convolution, and trend convolution modules, based on the simplified transformer model to capture multiscale features. We compare TripleConvTransformer with state-of-the-art prediction models. The experimental results show that in the prediction of the trajectory points in the next 90 min, the smallest root mean square error in terms of longitude and latitude and the highest overall prediction accuracy are achieved using TripleConvTransformer. Our method not only fully considers the influence of meteorological factors in the ocean-going process but also effectively extracts the important information hidden in the data, thus achieving accurate trajectory prediction on a global scale.
BibTeX
@inproceedings{huang2022tripleconvtransformer,
  author = {Peng Huang and Qiong Chen and Dong Wang and Mingqing Wang and Xi Wu and Xiaomeng Huang},
  title = {{TripleConvTransformer: A deep learning vessel trajectory prediction method fusing discretized meteorological data}},
  booktitle = {Frontiers in Environmental Science},
  year = {2022},
  doi = {10.3389/fenvs.2022.1012547},
}

Loading related content...

Figure