Manuscript Offprint

arXiv:2609.09840

TempTPI: Informer-Based trajectory prediction for maritime vessels

Kevin Ferneding, Veronika Lietavcova, Aleksandra M. Blachowiak, Peder Heiselberg

Kevin Ferneding®, Veronika Lietavcova®, Aleksandra M. Blachowiak®, Peder Heiselberg®

Technical University of Denmark

Anker Engelunds Vej 101 2800 Kongens Lyngby, Denmark

ph@space.dtu.dk

Abstract—Accurate long-term trajectory prediction for maritime vessels is essential for safety and logistical efficiency. While deep learning models, particularly Transformers, have shown promise in processing Automatic Identification System (AIS) data, they often struggle with the quadratic computational complexity of self-attention and the loss of accuracy over extended forecasting horizons. This study proposes TempTPI, a novel prediction framework that integrates an Informer-based encoder with a multi-channel encoding mechanism. The Informer architecture leverages a ProbSparse self-attention mechanism to reduce computational overhead and focus on the most significant dependencies, while the temporal encoder utilizes Fourier-like frequency expansions to capture cyclic patterns (hourly, daily, and seasonal) in vessel behavior. We evaluate our model against the state-of-the-art TPTrans architecture using AIS data from Danish waters. Experimental results demonstrate that TempTPI consistently outperforms existing methods across prediction windows of 1 to 5 hours. Notably, at a 5-hour horizon, the proposed model achieves a 55% improvement in Mean Squared Error (MSE), offering a robust solution for long-range maritime situational awareness.

Index Terms—Trajectory prediction, Automatic Identification System (AIS), Informer, Deep learning, Spatio-temporal modeling, Maritime safety, Long-sequence forecasting.

I. INTRODUCTION

Maritime cargo vessels make up a large portion of global trade [1] and require precise orchestration to run flawlessly. Large numbers of simultaneous maritime vessels in limited space logically lead to an increase in complexity for securing safe and efficient transportation [2]. Thus, the potential commercial benefits of a high-accuracy trajectory prediction for commercial vessels in order to enable a reliable vessel coordination are very high [3, 4].

A widely used communication system in the maritime domain is the Automatic Identification System (AIS), which aims to transmit real-time information about the current status of the ship [5] for collision avoidance. Through the wide distribution of this system, a significant amount of data has been collected over time, which provides a valuable foundation for deep learning research. The Danish Maritime Authority Sofartsstyrelsen publicly provides a collection of historic AIS data from the region of Denmark [6]. The system transmits two main types of data: static information (e.g., vessel name, type, and MMSI) and dynamic information (e.g., timestamp, longitude, Latitude, Speed Over Ground (SOG), and Course Over Ground (COG)). While AIS data is invaluable, its quality can be heterogeneous. It is frequently affected by irregularities, including shared or spoofed MMSI identifiers, signal dropouts, and physically implausible transmissions (e.g., sudden jumps in location or speed). These inconsistencies necessitate rigorous preprocessing. Furthermore, maritime vessel traffic exhibits seasonal patterns, with private and recreational ships dominating during summer months. To ensure the relevance of our predictive model to global trade and commercial logistics, we focus exclusively on sampled data from the 1st to the 14th of Oct. 2025, selecting a time frame that emphasizes stable and high-volume movements of commercial cargo vessels.

Recent work increasingly applies deep learning to AIS-based vessel trajectory prediction, with Transformer architectures receiving particular attention due to their ability to capture long-range temporal dependencies. In addition to architectural innovations, several complementary strategies have been proposed to improve long-term predictions. SEMINT [7] incorporates large language models and historical maritime knowledge. Multi-modal knowledge-enhanced frameworks [8] combine AIS data with environmental and domain information, and probabilistic deep learning approaches [9] provide uncertainty-aware forecasts. These methods highlight challenges in long-term trajectory prediction that extend beyond standard sequence modeling. TPTrans [10] addresses some of these by retaining the standard Transformer encoder-decoder structure and augmenting it with convolutional layers that extract local spatiotemporal features before global attention is applied. While this CNN-Transformer hybrid improves prediction accuracy and captures complex spatial and temporal relationships in AIS data, it inherits several limitations of existing deep learning approaches: the model does not incorporate explicit temporal context features, predictions are generated in absolute rather than relative coordinates, and confidence decreases as the prediction horizon grows. Similar limitations are observed in TraAISformer [11], which employs a spatiotemporal Transformer and demonstrates improvements over recurrent architectures, yet still exhibits increasing error for extended prediction horizons.

These limitations are compounded by the computational constraints of the vanilla transformer, whose quadratic L2L^{2} self-attention cost becomes prohibitive for long input sequences. This motivates the exploration of architectures specifically designed for long-horizon forecasting. The Informer [12] architecture addresses these challenges through probabilistic

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

sparse attention and a generative decoder, enabling efficient processing of long sequences while avoiding iterative autoregressive decoding. Across four benchmark datasets, Informer demonstrates stable long-range behavior, with errors increasing smoothly as the horizon widens, and consistently outperforms related Transformer variants such as Reformer [13] and LogTrans [14] as well as LSTMa [15] networks.

Taken together, TPTrans and informers provide complementary perspectives on trajectory prediction: TPTrans highlights the value of combining local convolutional features with attention, while informers show how architectural efficiency and sparse attention can support long-range forecasting. These developments form the basis of our benchmarking and clarify the methodological gaps our work aims to address.

References (19)