You are currently viewing a new version of our website. To view the old version click .
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

30 December 2025

An Investigation of PSO-Optimized LSTM–Transformer Hybrid Model for Multi-Step Ship Motion Prediction

,
,
,
,
,
and
1
Faculty of Maritime and Transportation, Ningbo University, Ningbo 315211, China
2
China Ship Scientific Research Center, Wuxi 214000, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng.2026, 14(1), 71;https://doi.org/10.3390/jmse14010071 
(registering DOI)
This article belongs to the Section Ocean Engineering

Abstract

The advantages of hybrid models for time series forecasting have received significant attention, and several studies focus on and test their application in the seakeeping of ship motions. A hybrid model integrating an LSTM encoder and Transformer decoder (LT) is introduced to overcome the limitation of individual LSTM and Transformer: initially, the seakeeping response of the KCS ship was simulated by ANSYS-AQWA considering the sea state 3 and 4 simultaneously and established a dataset; secondly, three standalone baseline models (LSTM, Transformer, and TCN), and two hybrid models, LT and LT, with PSO-optimized hyperparameters (P-LT) were constructed and trained to forecast the seakeeping performance of ships with multiple steps of 30, 60 and 90; finally, the comparison between solo and hybrid models was made by different steps on RMSE, MAE and NRMSE evaluations to prove the advancement of LT and P-LT models. The P-LT hybrid model achieved consistent accuracy improvements compared with the best-performing individual models across different ship motions. Notably, RMSE reductions were observed at all prediction horizons (30, 60, and 90 steps), with maximum improvements reaching 13.54% for rolling, 11.83% for pitching, and 12.87% for heaving motions. This study provides both theoretical and practical support to ship motion prediction and demonstrates the potential of the proposed study as an effective engineering product for enhancing safety in ship operation.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.