A container ship that arrives later than announced can disturb a whole port: berths, cranes and trucks all wait for it. A 2021 study from Pusan National University in South Korea shows how to predict arrival times more accurately by learning from the tracks that ships have followed before. The headline result is that the error of the new method stays at about two to three and a half hours whatever the distance, while the earlier method reaches almost 30 hours on the longest routes.
Why arrival times matter
More than 90% of the world's containers travel by sea, and the study notes, citing other sources, that congestion causes 93.6% of port delays. Ports can plan only if ships arrive on time, yet the share of vessels that keep their schedule is only 55% to 89%. Even a ship that arrives on time may follow ships that were two to five days late. When a ship is late, the port has to reshuffle its berth plan, which can delay other ships, and the uncertainty raises costs for inland transport and for the companies that wait for the cargo. An accurate estimated time of arrival, the ETA, is therefore the starting point of a good logistics plan.
Two questions: which way, and how fast
An arrival time is the distance still to sail divided by the speed, so a prediction has to answer two questions: which route the ship will take, and how fast it will go. The data for both comes from the Automatic Identification System (AIS), through which ships broadcast their identity, position and speed, and which has been mandatory under International Maritime Organization rules since 2004. AIS works without human intervention and, unlike radar, is not affected by weather or sea conditions. The study uses only four fields: the ship's identification number, its position, the time of the report and its speed over ground.
Learning the route from the traffic
Ships do not simply sail the shortest line. They follow main lanes, partly for safety, and the decisions of each pilot add uncertainty. The earlier method used traffic maps too, but searched with a classic shortest-path algorithm (Dijkstra's), which expands outward from the start. The new method teaches a reinforcement learning agent to find the route instead. The agent moves across a map of past traffic density, where each cell records how often ships have been there. It is rewarded for getting closer to the destination and penalized for moving away, for going where no ship has ever sailed, or for turning back on its own path. A smoothed density score helps the agent not to lose its way when it starts far from the port: in the tests it was the only version that found routes from distant starting points.
Learning the speed from history
The simple way to estimate speed is to take the average speed of past ships. The study shows why this fails: at four points near Korea, the recorded speeds do not follow a bell curve, and some points show two distinct groups of fast and slow ships. The speed also depends on the direction from which the ship arrived at that point. The method therefore collects the speeds recorded for each location and approach direction, and draws 5,000 samples from them with a statistical technique called Markov chain Monte Carlo (the Metropolis-Hastings algorithm). The average of the samples gives the expected speed, and the arrival time is computed along the predicted route and averaged over 40 repetitions.
The test at the port of Busan
The method was tested with AIS data from 1,500 vessels around the port of Busan, the main port of South Korea, recorded from January to June 2019, and compared with the earlier method. The routes predicted by the new method were closer to the real ones: on routes longer than 100 km the error was about half of that of the earlier method. The arrival-time error, averaged per route and measured in hours, was:
- Under 100 km: 2.6 hours for the new method, 2.9 for the earlier one
- 100 to 200 km: 2.6 against 7.5
- 200 to 300 km: 2.2 against 12.1
- 300 to 400 km: 1.9 against 16.8
- 400 to 500 km: 3.5 against 25.4
- Over 500 km: 2.2 against 29.8
The earlier method grew steadily worse with distance, while the new one stayed between about 2 and 3.5 hours.
Where it works best, and where it does not
The gain from learning was greater where traffic was more congested, the situation in which a simple method is most likely to mislead. On very short routes the two methods were about equal. The authors also report a limit: the results can vary greatly depending on how the reinforcement learning is configured. They plan to work on a version for very long distances, because enabling the agent to find routes from far away remains an open task.
What it means for industry
A reliable ETA helps ports to plan berths, cranes and onward transport, and to warn the companies that wait for the cargo. The study does not claim a finished product: it covers a single port and six months of data, it uses only position, time and speed, with no weather, port conditions or details of the particular ship, and a margin of a couple of hours remains. Its value is the principle that a prediction improves when routes and speeds are learned from the history of the traffic instead of being assumed.
References
-
Vessel estimated time of arrival prediction system based on a path-finding algorithm
Kikun Park, Sunghyun Sim, Hyerim Bae
Maritime Transport Research 2, 100012 (2021)
-
Estimated Time of Arrival Using Historical Vessel Tracking Data
Alfredo Alessandrini, Fabio Mazzarella, Michele Vespe
IEEE Transactions on Intelligent Transportation Systems 20(1), 7-15 (2019)
-
Speed optimization and bunkering in liner shipping in the presence of uncertain service times and time windows at ports
Nurten Aydin, Hyunbo Lee, S. Afshin Mansouri
European Journal of Operational Research 259(1), 143-154 (2017)
-
Robust berth scheduling with uncertain vessel delay and handling time
Yi Xu, Qi Chen, Xiongwen Quan
Annals of Operations Research 192, 123-140 (2012)
-
Schedule Unreliability in Liner Shipping: Origins and Consequences for the Hinterland Supply Chain
Bert Vernimmen, Wout Dullaert, Sabine Engelen
Maritime Economics & Logistics 9(3), 193-213 (2007)