Zerua Tech Logo

Where a Ship Goes Next

Date: Monday, May 19th 2025, 04:10
Share on
Share on Twitter
Share on Facebook
Share on LinkedIn
A container ship seen from behind at sea in the morning, framed by a green box, glowing numbers and radar rings, with branching path lines ahead of it and one yellow path
Port operators, search and rescue teams and traffic controllers all need to know where a ship will be hours from now. The destination typed into the Automatic Identification System, AIS, is entered by hand, and Wang and colleagues (2022) call it unreliable. Zhang and colleagues (2020) cite a study that put the accuracy of the destination and arrival time filled in AIS messages at about 4%. So researchers predict the route from the positions a ship has already reported. This post follows eight studies that try, and how far to trust them.

Why it is hard

Nguyen and Fablet (2024) point out that most methods work only for minutes up to half an hour, or on predefined routes. The core difficulty is the turn at a waypoint, where two ships with the same movement head for different destinations. Li and colleagues (2023, review) screened 84 papers from 2000 to 2023: 64 are about short-term prediction and 11 about long-term, and only one used environmental information.

Routes and history

Park and colleagues (2021) grouped 2,816 ship tracks from 14 days near the port of Busan into 29 patterns with spectral clustering, then predicted positions with a Bi-LSTM network. Position errors were about 101 and 107 meters for the two main groups, against 169 to 217 meters for LSTM and GRU models. The Bi-LSTM took about 22 minutes to train, against 8 to 10 for the others, and the aim was collision avoidance in a busy port approach. Zhang and colleagues take a different route. They compare the track so far with 5.9 million historical trajectories between 10,618 ports, built from 141.9 million records from 2011 to 2017, and score the similarity with a random forest. On 35,937 five-day test tracks, port accuracy was about 70% and city accuracy about 80%, which the authors call not remarkable. In their example from Zhoushan to Shenzhen, the true destination was only the second choice at first and became the first on days four and five.
A container ship at sea in golden light, with three thin glowing green paths fanning out ahead of it to yellow markers

Trajectory and destination together

Wang and colleagues use satellite AIS in five regions, from the Atlantic to the Arabian Gulf and Far East. LSTM beat CNN and dense networks at destination accuracy, 85.1% against 68.3% and 78.2%. A multi-task LSTM that learns the path one hour ahead and the destination at once reached 87.0%, and the mean position error one hour ahead was 1.735 km. Learning both cost 2.762 km of extra distance error for about 2% better destination accuracy, and in the Arabian Gulf and Far East region, where voyages converge on one area, the gain was about 8%. The model works from a predefined list of ports and uses only positions, not weather.

The destination as a guide

Sun and colleagues (2026) turn the idea around. They mine 102 "destinations" from one year of AIS data in a small coastal area at about 18 degrees north and 65 degrees west, 21 onshore, 59 waypoint hubs and 22 stay points, and use them to steer forecasts of 10 to 60 minutes. Compared with a plain BiGRU model, the error fell by about 50%. The area is small and the horizon one hour, and the results are shown mostly in figures.

Keeping several futures

Nguyen and Fablet's transformer keeps several possible turns open: it sorts position, speed and course into categories and samples 16 paths. In Danish waters with 3 hours of history, the mean error two hours ahead was 0.94 nautical miles, against 1.93 for the best clustering-based model, which was tested on a subset of tanker routes. The error stays under 10 nautical miles for 9.67 hours, against 1.67 for the best earlier method in their comparison, and these figures count the best of the 16 samples. The model is large, with about 300 times more parameters than the next most complex benchmark, and the data were three months of cargo ships and tankers, 712 million messages before cleaning. Magnussen and colleagues (2021) predict where oil tankers go, with a graph of ports and turning areas and a recurrent network. Their data were 4,112 tankers and about 44 million positions, and the network also uses the ship's length, draught, departure time and previous port. Halfway along a voyage, the port was right 41.0% of the time and the region 87.1%, and the model shows a heat map of likely routes.
Several ships in a line on a golden sea at dawn, with green frames and links around them, columns of numbers, and one yellow frame and path

Which model

Li and colleagues compared twelve methods on three Chinese waters, five classic and seven deep learning ones. The GRU, the bidirectional GRU and the Transformer performed best, while the older Support Vector Regression did well over short horizons. The comparison covers three coastal and port waters, so it says little about hours ahead at sea.

How far to trust it

Each study covers one region, and Wang and Zhang share several authors, so they are not independent. Nguyen and Fablet leave out weather and ship interactions. Magnussen and colleagues split their data by time and suspect that COVID shifted the later period, and they call the data noisy. The headline numbers also use different tests: a best of 16 paths, a first-choice port, a one-hour position.
None of the eight studies predicts when a ship will arrive, but a route and a destination are what an arrival estimate starts from, as the post on ETA prediction shows. The post on AIS and ship refueling shows the same positions used for what a ship does once it arrives.
References

Recent Posts

Machine Learning for Ship Detection in Satellite Images
Oct 25th 2026
Radar sees ships through cloud and night. Correcting labels lifted optical ship recognition from 0.66-0.70 to about 0.80 mAP, more than a newer model did.
Why Ships Go Missing from Satellite AIS
Aug 14th 2026
Satellite AIS loses ships to message collisions, late data and gaps between passes. Six studies show how much is missed and how analysts work around it.
Orbit Propagation: Which Perturbations Matter
Jun 4th 2026
Across 320 propagator setups, gravity fields beyond 32 by 32 added no accuracy, while drag, the Sun and Moon, and sunlight pressure matter in different orbits.