NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modeling Historical AIS Data For Vessel Path Prediction: A Comprehensive Treatment

Enmei Tu, Guanghao Zhang, Shangbo Mao, Lily Rachmawati, Guang-Bin HuangarXiv 2020

TL;DR

This paper tackles the challenge of predicting vessel paths using historical Automatic Identification System (AIS) data, which is notoriously noisy and irregular. They introduce a comprehensive framework that preprocesses this data, extracts meaningful features, and employs an ensemble learning approach to achieve significantly more accurate path predictions compared to existing methods.

What Problem Does This Paper Address?

Maritime safety is paramount, with a significant portion of global trade relying on sea transport. However, human error contributes to a large percentage of maritime accidents. Intelligent navigation systems, including path prediction, are crucial for improving safety, collision avoidance, and traffic management. The Automatic Identification System (AIS) provides near real-time vessel data, making it a valuable source for these systems. The core problem is that raw AIS data is highly irregular, with varying trajectory lengths, message intervals, and potential data quality issues. This makes it difficult to build robust and accurate path prediction models, as standard machine learning techniques struggle with such noisy and diverse datasets.

Methods

The authors propose a three-pronged approach:

  1. Trajectory Outlier Detection: They identify two primary types of anomalous motion patterns in AIS trajectories: sharp turning (Type I) and self-crossing (Type II). For Type I, they adapt the Ramer-Douglas-Peucker (RDP) algorithm to detect sharp turns by analyzing angles between control points and slope differences. For Type II, they use standard computer graphics techniques to find line segment intersections and flag short trajectory segments around intersections as anomalous. This preprocessing step is crucial for cleaning the data before training.
  2. Sample Representation: To address the irregularity and redundancy of raw AIS data, they develop a novel feature extraction method. This involves:
  3. Uniform Sampling: Transforming irregular temporal components into uniform samples of equal length.
  4. Local Coordinate Mapping: Mapping GPS positions to a local coordinate system that is homeomorphic to the original space. This concentrates sparse trajectory data into a denser region, improving learning efficiency and mitigating overfitting. This mapping is invertible, allowing predictions to be translated back to real-world coordinates.
  5. Feature Engineering: Extracting a rich set of features including latitude/longitude at key points, average latitude/longitude, instantaneous and mean velocities, speed over ground (SOG), acceleration, and course over ground (COG). These features are designed to be concise, representative, and invariant to irregular message intervals.
  6. Motion Trend Ensemble Learning: This is the core of their prediction strategy. It involves:
  7. Clustering: Unsupervised clustering (using k-means) of the feature vectors from the training data into k clusters. This groups similar motion patterns, reducing diversity and imbalance within each cluster.
  8. Model Training: Training a separate predictive model (using Extreme Learning Machines - ELM) for each cluster.
  9. Ensemble Prediction: At prediction time, a testing sample is assigned to its nearest cluster(s) using a k-nearest neighbor (kNN) approach. The predictions from the models associated with these clusters are then fused using a weighted average, where weights are based on prediction error. This ensemble approach leverages the strengths of multiple models to improve overall accuracy and robustness.

Datasets

The authors utilized a large AIS database they constructed, containing approximately 100GB of data collected from both ground stations and satellite stations. For their experiments, they sampled a subset of this database, focusing on 200 trajectories from 180 different vessels. This dataset includes various vessel types (towing, tug, cargo, tanker) and covers different geographical regions.

Key Insights and Ideas

  • Raw AIS data is inherently messy: The paper strongly emphasizes that real-world AIS data is far from ideal, posing significant challenges for traditional machine learning.
  • Outlier detection is critical: Simply feeding raw AIS data into models leads to poor performance. Identifying and removing anomalous trajectory segments is a necessary first step.
  • Feature engineering and local mapping are key to generalization: Transforming raw data into a structured, representative feature set and mapping it to a local coordinate system significantly improves the model's ability to learn from diverse trajectories without overfitting.
  • Ensemble learning for diverse motion patterns: By clustering similar motion patterns and training specialized models for each cluster, the ensemble approach can capture a wider range of vessel behaviors more effectively than a single, monolithic model.
  • Contextual information matters: Incorporating vessel type and geographical location information further enhances prediction accuracy, suggesting that these factors influence vessel movement patterns.

Key Results

  • Significant accuracy improvement: The proposed comprehensive approach consistently outperformed baseline methods (ELM, LS-SVM, MLP, GMM, GPR) across various prediction horizons (15, 30, 45, 60 minutes). For example, at 60 minutes, their method achieved an error of 3.57 nautical miles, compared to 8.48 for ELM and 15.07 for GPR.
  • Reduced prediction error variance: The standard deviation of prediction errors for their method was also lower or comparable to other algorithms, indicating more consistent performance.
  • Faster prediction time: The proposed method boasts a significantly smaller time cost compared to many baseline algorithms, especially those requiring extensive retraining or complex computations. This is attributed to its one-shot learning approach.
  • Effective handling of data challenges: The experimental results demonstrated the approach's effectiveness in handling the diversity, divergence, and imbalance inherent in AIS trajectory data.

Limitations and Future Work

The authors acknowledge a few limitations:

  • Data requirement: The proposed approach requires a substantial amount of historical AIS data for training, which might limit its applicability in scenarios with very limited historical data.
  • User-tunable parameters: The algorithm has several user-tunable parameters that need manual tuning to achieve optimal prediction results.

Future work will focus on:

  • Improving algorithm performance: Further enhancing the prediction accuracy.
  • Reducing user-tunable parameters: Minimizing the need for manual parameter adjustments to make the system more user-friendly and automated.

Summary updated

BibTeX
@misc{tu2020modeling,
  author = {Enmei Tu and Guanghao Zhang and Shangbo Mao and Lily Rachmawati and Guang-Bin Huang},
  title = {{Modeling Historical AIS Data For Vessel Path Prediction: A Comprehensive Treatment}},
  year = {2020},
  eprint = {2001.01592},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.01592},
}

Loading related content...

Figure