How AI Forecasts a Ship’s Track From AIS Reports

Read a vessel trajectory forecast, compare it with straight-line motion, and identify what remains unknown on the bridge.

A ferry approaches a harbor, viewed from another vessel’s bridge.
The same harbor approach can lead to several berths. Past tracks offer clues about the turns ahead.

A ferry approaching a bend has a recent course and speed, and it shares a waterway with vessels that have made the turn before. An AI model can combine those two histories to predict a future track. A useful way to read that prediction is to ask how far ahead it looks and how far the vessel actually ended up from the forecast.

From transmitted positions to a timed prediction

Automatic Identification System reports contain observations from a vessel at particular times. Gaps leave part of the movement unobserved. In the Danish vessel trajectory research with historical AIS heatmaps, researchers combined recent vessel movement with a map built from historical AIS tracks in Danish waters. A recurrent neural network could use the recent sequence and the common geography of past tracks to anticipate a bend.

A large ship navigates through a body of water at dusk or dawn.
Repeated tracks reveal common turns within a sampled waterway.

Use the same vessel and the same future instant

A simple comparison continues the last observed course and speed. Score that extrapolation and the AI prediction against the same later position. Final displacement error measures separation at the endpoint. Averaging the error along the track answers another question. Report the prediction horizon with either number because a one-minute and a ten-minute forecast face different uncertainty.

A futuristic scene with several ships in the water, surrounded by a network of lines and dots that resemble a digital interface or holographic display.
Score a vessel’s forecast and a baseline at the same future instant.

A familiar route can still have an unfamiliar obstruction

The AIS record describes the motion of reporting vessels. It cannot establish from track history alone that the water ahead is clear or that two vessels have agreed how to pass. A claim about autonomous navigation needs evidence about perception, human oversight and what happened when the vessel departed from familiar conditions. For the landward side of a port call, see How AI Helps a Container Terminal Decide Where a Box Goes.

A person sitting at a computer, likely working on a task.
Keep the forecast available to the bridge at the moment of the decision.

Try it with the evidence

Compare a straight reach and a bend

Source notes. Illustrative five-minute endpoint errors in meters. On a straight reach, straight-line extrapolation misses by 20 and the AI forecast by 30. At a bend, extrapolation misses by 140 and AI by 60. Each pair uses the same later AIS position.

Prompt. Calculate the mean endpoint error for both methods. Identify where each did better and explain what a navigation safety claim would still need.

Check your reading

Mean errors are 80 m for extrapolation and 45 m for AI. Extrapolation won the straight reach and AI won the bend. Two track endpoints cannot show whether a passage was clear or whether an action prevented a collision.

Illustrated field notes

Reading a voyage and its surroundings
A large ship floats on calm waters under a clear sky.
A bridge view contains information beyond the historical positions in a broadcast track.
Automated Route Planning System with Touch-Sensitive Interface and Color-Coded Routes.
Record when a proposed route was calculated and which voyage it concerned.
A ship navigates through rough seas under the cover of darkness.
Forecast weather can differ from the weather logged during the passage.
A large ship is illuminated by its lights at night, creating a sense of drama and tension.
Independent observations can help identify uncertainty in a reported position.
A yellow tugboat is moored in the water at night.
An unusual route can reflect an ordinary diversion or a new destination.
A large boat navigates through ice-covered waters at dusk or dawn.
Sea state and visibility describe conditions an AIS forecast alone cannot establish.
An augmented reality representation of a modern ship's bridge crew console, featuring advanced navigation and communication systems.
A visual overlay represents an estimate whose age matters.
Navigation decisions, records and evaluation
Two tugboats in the water with advanced collision avoidance algorithms displayed on their screens.
A predicted meeting of tracks deserves evaluation against actual observed conditions.
A futuristic control panel with various knobs, buttons, and screens, likely used in a high-tech setting.
A navigation sensor’s condition belongs with the observations it supplied.
An autonomous docking and berthing system in action, featuring a large black and yellow machine on a wet dock.
A berth arrival has a time and facility identifier that the voyage record can confirm.
Two large ships in the middle of a body of water at sunset or sunrise.
Regulatory decisions require the relevant authority and the circumstances of the passage.
A large ship or oil rig is situated within a transparent bubble-like structure, set against a blurred background that appears to be a body of water with additional ships in the distance.
Record the evidence behind a risk assessment and its time horizon.
A large black and red ship sails through calm waters at sunrise or sunset.
Trip energy needs vessel load, conditions and a measured quantity for comparison.
A nighttime scene of a bridge spanning a body of water, with a winding road and guardrails on both sides, illuminated by streetlights and set against a backdrop of mountains.
A new movement pattern can change the usefulness of old training tracks.
A person working on a computer in an office setting at night.
Measure workload with the crew performing the task.
A person in an orange jacket and headphones works on a computer with a large monitor displaying a complex graphical interface.
A shore display can receive a position later than the time of observation.
A control room with multiple screens and a steering wheel.
A simulator can replay a passage and still omit responses from other vessels.