Research on Cargo Ship Trajectory Based on Time Window Smoothing Filter Algorithm and Transformer Model
Download PDF

Keywords

Time window smoothing filter algorithm
Transformer model
Trajectory research

DOI

10.26689/ssr.v8i5.15128

Submitted : 2026-05-17
Accepted : 2026-06-01
Published : 2026-06-16

Abstract

With the flourishing development of maritime transportation, the safety of cargo ship navigation cannot be overlooked. To ensure the safety of cargo ship navigation and improve the prediction accuracy of cargo ship trajectories, the Transformer model is utilized to predict cargo ship navigation trajectories, enabling the anticipation of spatial and temporal location information of cargo ships in the near future. This facilitates proactive operations and early warnings, thereby ensuring the safety of cargo ship navigation. Previously, predictions of cargo ship navigation trajectories were mostly based on statistical and traditional machine learning methods, which exhibited poor model adaptability and high constraints, making them unsuitable for the current complex and thriving maritime traffic patterns. In the modern era, the rapidly developing Automatic Identification System (AIS) enables researchers to obtain vast amounts of cargo ship trajectory data, providing favorable conditions for mining data characteristics of cargo ships. Therefore, this paper, based on AIS data, combines the time window smoothing filter algorithm and employs the Transformer model to predict, research, and analyze cargo ship navigation trajectories. Furthermore, an early warning mechanism for cargo ships is established to alert to deviations from the planned route, thereby ensuring the safety of cargo ship navigation.

References

Wan JB, Analysis of Development Trends in the Global Maritime Shipping Industry and Suggestions for China’s Maritime Shipping Industry Development. Water Transportation Management, 42(4): 13–16.

Zhang L, Chen XQ, Research on the Risk Assessment System for Ship Navigation Encounters. Water Transportation Management, 46(4): 22–24 + 41.

Hu JL, 2026, Application of Radar and AIS Fusion Technology in Ship Situation Awareness. Ship Supplies and Market, 34(2): 119–121.

Sun S, 2024, Research on Anomaly Detection and Early Warning of Ship Trajectories in Port Areas Based on Spatiotemporal Trajectory Mining, thesis, Dalian Maritime University.

Zong ZC, Research on Ship Anomaly Behavior Detection Algorithm Based on Transformer, thesis, Harbin Engineering University.