End-to-end model-based trajectory prediction for ro-ro ship route using dual-attention mechanism

Licheng Zhao, Yi Zuo, Wenjun Zhang, Tieshan Li, C. L. Philip ChenFrontiers Comput. Neurosci 2024

Introduction

As global shipping volumes surge, maritime routes are becoming increasingly congested, making accurate trajectory prediction a critical safety requirement for intelligent navigation systems. While traditional kinematic models, such as Kalman filters, perform adequately in stable environments, they often struggle with the complex, non-linear variables inherent in real-world seafaring.

Existing machine learning approaches, including standard Recurrent Neural Networks (RNNs) and Long Short-Term Memory (LSTM) networks, frequently encounter a "bottleneck" in generalization. These models often fail to effectively mine the relationships within long data sequences or account for the intricate interactions between environmental factors—such as wind and rudder angles—and a ship's path over time. To address these challenges, researchers have developed DAE2ENet, a dual-attention end-to-end neural network designed to predict ship trajectories with significantly higher precision.

Methodology

The proposed Dual-Attention End-to-End Network (DAE2ENet) architecture is built upon an Encoder-Decoder (E2E) structure utilizing LSTM units. The core innovation of this model lies in its dual-attention mechanism, which allows it to process both navigational variables (longitude, latitude, speed, course) and environmental variables (wind speed/angle, propeller pitch, and rudder status).

Overview of the ship trajectory prediction framework, illustrating data processing, model training, and performance evaluation modules.

The framework consists of two primary attention components:

  1. Global Attention (GA): Operating between the encoder and decoder layers, this mechanism identifies associations between the entire input sequence and the predicted output. This enables the model to dynamically adjust weights based on the specific prediction task.
  2. Local Multi-head Self-Attention (LA): Utilized within the decoder, this component extracts significant characteristics from the input trajectory itself. It helps the model understand internal dependencies by identifying which parts of the recent past are most relevant to the immediate future.

Experimental Setup

The study utilized real-world data collected between February and April 2010 from a "ro-ro" (roll-on/roll-off) ship. The dataset integrated Automatic Identification System (AIS) data for navigational coordinates with onboard sensor data for environmental context. Testing was conducted on two specific routes:

  • Route 1: A primary, high-traffic route (234 trajectories).
  • Route 2: An alternative route used during adverse weather (38 trajectories), characterized by sharper turns that served as a challenging validation set.

Results and Analysis

DAE2ENet was benchmarked against several baselines, including Support Vector Machines (SVM), standard LSTMs, and basic Encoder-Decoder models with single attention. The dual-attention model achieved a 30–70% improvement in precision over traditional neural networks and kinematic models.

Visual representation of the neural network model structure used in the DAE2ENet architecture.

Key findings from the evaluation include:

  • Accuracy Boost: DAE2ENet achieved an RMSE of 0.0016 on Route 1, significantly outperforming the standard LSTM (0.0042) and Logistic Regression (0.0177).
  • Turning Performance: The model demonstrated markedly lower volatility during "turning phases," which are historically the most difficult segments to predict. Traditional models like BPNN showed high error spikes in these areas where DAE2ENet remained stable.
  • Ablation Insights: Researchers confirmed that the combination of both global and local attention is essential; GA captures the "big picture" of the route, while LA handles the nuances of sequential movement.
  • Variable Impact: Interestingly, adding more environmental variables did not always improve results. While wind data enhanced accuracy, adding propeller and rudder data increased the Root Mean Square Error (RMSE), suggesting that some mechanical data may act as noise for fixed-route ships.

Conclusion

DAE2ENet represents a significant advancement in maritime trajectory prediction, offering a 50% improvement over classic neural networks. However, future work is required to better integrate complex environmental factors without introducing noise. Additionally, while the model excels on fixed navigation routes, further adaptation is needed to prove its utility for ships following dynamic, non-fixed paths in broader maritime applications.

Summary updated

BibTeX
@article{zhao2024end,
  author = {Licheng Zhao and Yi Zuo and Wenjun Zhang and Tieshan Li and C. L. Philip Chen},
  title = {{End-to-end model-based trajectory prediction for ro-ro ship route using dual-attention mechanism}},
  journal = {Frontiers Comput. Neurosci},
  year = {2024},
  doi = {10.3389/fncom.2024.1358437},
}
Figure