Research
WAY: Estimation of Vessel Destination in Worldwide AIS Trajectory
WAY: Estimation of Vessel Destination in Worldwide AIS Trajectory Overview Research area: Machine learning for maritime data analysis — specifically deep learning applied to Automatic Identification S

- arXiv
- 2512.13190
- Published
- 2025-12-15
- Authors
- Jin Sob Kim, Hyun Joon Park, Wooseok Shin, Dongil Park, Sung Won Han
AI summary
WAY: Estimation of Vessel Destination in Worldwide AIS TrajectoryOverview
Research area: Machine learning for maritime data analysis — specifically deep learning applied to Automatic Identification System (AIS) vessel trajectory data for destination-port estimation.
Technical level: Advanced. The paper assumes familiarity with attention mechanisms, Transformer architectures, recurrent networks (GRU/LSTM), spatial tokenization, and multi-task learning.
One-sentence scope: The paper proposes a data reformulation (nested sequence structure over spatial grids), a deep learning architecture (WAY) with channel- and self-attention blocks, and a training technique (Gradient Dropout) for estimating the destination port of a vessel from its port-to-port AIS trajectory on a global scope, without the usual "Region of Interest" restriction.
What This Paper Is About
Vessels continuously broadcast AIS messages describing their position, speed, heading, identity, and other fields. These records are noisy, contain human-entry errors, and arrive at irregular time intervals, yet they contain valuable context about international voyages. Existing data-driven methods for predicting where a vessel is going are typically restricted to a limited Region of Interest (ROI) and depend mainly on kinematic features such as longitude, latitude, Speed over Ground (SOG), and Course over Ground (COG).
The goal of this paper is to estimate the destination port of an ongoing voyage — days to weeks, and potentially up to months, ahead of arrival — using worldwide AIS data. The authors reformulate the trajectory as a nested sequence of spatial grid units that retain their underlying observations, and they design a deep learning model and a specialized training scheme to process that representation. They also introduce an annotation framework to convert raw AIS records into verified port-to-port trajectory segments.
Key Contributions
-
Recasting the data-driven approach to AIS trajectories. Prior work treated AIS data either as message-wise observation sequences (which suffer from spatio-temporal bias due to irregular intervals) or as coarse spatial grid tokens (which lose local detail). The paper introduces a nested sequence structure in which each spatial grid element holds both its grid representation and the subset of raw observations that fall inside it, mitigating spatio-temporal bias while preserving detailed resolution.
-
A novel deep learning architecture (WAY). WAY consists of a trajectory representation layer that produces a multi-channel vector sequence from kinematic and non-kinematic AIS features, followed by Channel Aggregative Sequence Processing (CASP) blocks containing multi-head channel attention (MCA), masked multi-head self-attention (MSA), and a shared feed-forward (SFF) network. Unlike prior methods that rely mainly on coordinates, WAY uses ship type and departure port as non-kinematic context.
-
A task-specialized learning technique: Gradient Dropout (GD). Because the model is trained many-to-many along trajectory progression against a single fixed destination label, feedback bias can surge as sample sequences lengthen. GD stochastically blocks gradient flow using a condition that depends on the length of training samples; it is applied only during training and detached at inference.
-
Comparative evaluation against conventional spatial grid-based deep learning benchmarks, plus further experiments examining feature availability, inter-channel processing methods, and efficiency, and an exploration of multitask extension for ETA estimation.
Main Findings
-
WAY outperformed conventional spatial grid-based approaches: The abstract states that experiments on 5-year accumulated AIS data demonstrated the superiority of WAY with recast AIS trajectories compared to conventional spatial grid-based approaches, "regardless of the trajectory progression steps."
-
Gradient Dropout improved a spatial grid-based approach: The abstract reports that adopting GD within a spatial grid-based approach led to a performance gain.
-
Multitask expandability was explored: The paper reports exploring possibilities of improvement and real-world application through WAY's expandability in multitask learning for the estimation of Estimated Time of Arrival (ETA).
-
Specific numerical results, dataset sizes, and named benchmark models are not reported in the provided paper content. The section presenting experimental results (Section V) is beyond the truncated portion of the text supplied; the text available up to that point refers to "different deep learning benchmark algorithms" without naming them or giving figures.
-
AIS data quality context: The paper cites a study of AIS reliability finding that one out of 14 messages includes incorrect or missing identification, and notes that AIS was first recorded in 2002.
-
Maritime trade scale: The paper cites the United Nations stating that more than 80% of the volume of international trade is carried by ship transportation.
Methodology in Plain English
Step 1 — Annotate and clean the raw data. The authors couple a port identification dataset with AIS data to carve raw records into port-to-port operations — trajectories sharing the same departure and destination. Segmentation uses the Damerau–Levenshtein distance together with port-wise boundary thresholds (Appendix A of the paper). Refinement then uses the DBSCAN clustering algorithm to detect illogical positional shifts caused by erroneous transmission (Appendix B). Figure 1 illustrates the refined result of 5-year accumulated AIS data from a single vessel.
Step 2 — Reorganize the trajectory. Instead of one vector per AIS message, the trajectory is rebuilt over uniform spatial grids. Each grid element G_k keeps both the grid's center coordinate g_k and the subset of observations inside it. From each subset, a number of observations is sampled dynamically following a Poisson distribution with parameter λ = 5, which reflects irregular intervals and moderates redundant records. Longitudes and latitudes inside a grid are expressed relative to the grid center, and timestamps are converted into day-unit time distances from the first observation of the whole trajectory.
Step 3 — Represent four channels. The representation layer builds a 4-channel vector sequence (C = 4):
- Spatial Encoding (SE) turns grid coordinates into high-dimensional vectors using sinusoidal functions inspired by Transformer positional encoding, with combinations motivated by polar-to-Cartesian conversion. An example output is shown with d = 128, and the authors show via PCA and distance distributions that the encoding preserves spatial distance structure.
- Step-wise GRU processes each grid's local observation subsequence to capture local navigational patterns, producing a last hidden state per grid; the stack uses (L/2) layers.
- Semantic representations look up learnable embedding vectors for departure port and ship type.
- Time Encoding (TE) adapts positional encoding to accept real-valued, day-unit time offsets, using a frequency of 1000 and wavelengths spanning from 2π to 1000·2π.
These channels are summed and concatenated into the 4-channel sequence.
Step 4 — Process with CASP blocks. Each CASP layer aggregates the channels at a given step (multi-head channel attention, extended from Squeeze-and-Excitation style channel attention to a multi-perspective comparison), passes sequential information forward from past steps (masked multi-head self-attention), and decodes (shared feed-forward network).
Step 5 — Train with Gradient Dropout. Because a single destination label is applied across many progression points, the authors add GD to stochastically suppress gradient flow depending on training sample length, preventing biased feedback from dominating.
Why This Matters
Impact on research. The work removes two constraints that limited earlier AIS forecasting research: the Region of Interest boundary and dependence on a single processing granularity. By showing a way to keep both the spatial uniformity of grid tokens and the local detail of raw observations, it provides a blueprint for global-scope maritime trajectory modeling. It also introduces a generalizable training technique (GD) for many-to-many supervision against a single label, which could be relevant beyond maritime domains.
Real-world applications (from the paper's stated motivation):
- Port congestion management — the paper notes that shortages in port capacities, unreliable schedules, and congestion keep vessels waiting, causing a surge in surcharges and fees; knowing destinations and ETA in advance is described as key to resolving this.
- Estimated Time of Arrival estimation — addressed through the multitask learning extension explored in the paper.
- Maritime surveillance and Maritime Domain Awareness (MDA) — the paper frames intelligent techniques as potentially enhancing or replacing manual traffic monitoring while reducing costs.
- Vessel safety and auto-navigation systems — the paper cites tracking ongoing vessels at sea and predicting future paths as a safety-relevant objective.
Industry relevance. The work targets shipping operations directly: international freight logistics, port capacity planning, and commercial maritime intelligence. The authors include an industry co-author affiliated with SeaVantage, and the work was supported by the Korea Institute for Advancement of Technology (KIAT) grant funded by the Korea Government (MOTIE) (P0008691, The Competency Development Program for Industry Specialist) and by Brain Korea 21 FOUR.
Future Directions
- ETA estimation as a formal multitask objective. The paper reports only exploring "the possibilities of improvement and real-world application" of WAY's expandability in multitask learning for ETA; developing and evaluating this fully remains open.
- Broader use of non-kinematic features. The paper contrasts its use of ship type and departure port with prior methods that focused primarily on real-valued coordinates; which additional AIS-derived context (or external data such as trading relations) meaningfully improves destination estimation is not resolved in the available content.
- Balancing grid granularity. The paper explicitly describes a tradeoff: larger sampling grids lose detail, while shrinking unit spaces causes an exponential increase in parameters to learn. How best to resolve that tradeoff at global scale is left open.
- Continued robustness against AIS unreliability. The paper notes data quality, validity, and accuracy challenges (sensor/transmission failure, missing values, and human mistakes such as unstructured, misspelled, or unfilled entries) and argues that global-scope modeling should account for them; the sufficiency of the proposed annotation and refinement pipeline for that purpose is an ongoing question.
Target Audience
This paper is most useful to machine learning researchers working on spatio-temporal sequence modeling and representation learning, and to maritime data scientists and engineers building vessel tracking, route estimation, or port arrival prediction systems from AIS data. It is also relevant to logistics and port operations analysts interested in data-driven congestion mitigation, and to readers studying training techniques for many-to-many supervision over sequences with varying lengths. Readers with only introductory machine learning background will need to consult the cited literature on Transformers, GRU/LSTM, attention mechanisms, and spatial tokenization to follow the methodology in full.
Authors’ abstract
The Automatic Identification System (AIS) enables data-driven maritime surveillance but suffers from reliability issues and irregular intervals. We address vessel destination estimation using global-scope AIS data by proposing a differentiated approach that recasts long port-to-port trajectories as a nested sequence structure. Using spatial grids, this method mitigates spatio-temporal bias while preserving detailed resolution. We introduce a novel deep learning architecture, WAY, designed to process these reformulated trajectories for long-term destination estimation days to weeks in advance. WAY comprises a trajectory representation layer and Channel-Aggregative Sequential Processing (CASP) blocks. The representation layer generates multi-channel vector sequences from kinematic and non-kinematic features. CASP blocks utilize multi-headed channel- and self-attention for aggregation and sequential information delivery. Additionally, we propose a task-specialized Gradient Dropout (GD) technique to enable many-to-many training on single labels, preventing biased feedback surges by stochastically blocking gradient flow based on sample length. Experiments on 5-year AIS data demonstrate WAY's superiority over conventional spatial grid-based approaches regardless of trajectory progression. Results further confirm that adopting GD leads to performance gains. Finally, we explore WAY's potential for real-world application through multitask learning for ETA estimation.