{"title":"Long-term ship trajectory prediction using a transformer with inverted attention and feature augmentation","authors":"Sangseok Lee, Han Jin Lee, Wonhee Lee","doi":"10.1016/j.ijnaoe.2026.100744","DOIUrl":null,"url":null,"abstract":"<div><div>Maritime transportation is essential for global trade, with the increasing ship traffic necessitating accurate trajectory prediction for enhanced safety and efficiency. In this study, a transformer-based architecture is proposed for long-term ship trajectory prediction. Feature augmentation is performed by deriving kinematic and directional variables from raw AIS data, and trajectory clustering is applied using dynamic time warping. An inverted attention mechanism is employed, to compute the attention across variables rather than temporal positions, thereby enhancing scalability in high-dimensional settings and enabling explicit modeling of variable dependencies. The encoded representations are mapped to the prediction horizon through a multilayer perceptron decoder. Comprehensive experiments on AIS trajectory datasets demonstrated that the proposed framework attains higher accuracy in both short- and long-term prediction tasks. The results indicate that the integration of feature augmentation and inverted attention enhances predictive accuracy, robustness, and generalization for maritime trajectory prediction.</div></div>","PeriodicalId":14160,"journal":{"name":"International Journal of Naval Architecture and Ocean Engineering","volume":"18 ","pages":"Article 100744"},"PeriodicalIF":3.9000,"publicationDate":"2026-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Naval Architecture and Ocean Engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2092678226000087","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/16 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"ENGINEERING, MARINE","Score":null,"Total":0}
引用次数: 0
Abstract
Maritime transportation is essential for global trade, with the increasing ship traffic necessitating accurate trajectory prediction for enhanced safety and efficiency. In this study, a transformer-based architecture is proposed for long-term ship trajectory prediction. Feature augmentation is performed by deriving kinematic and directional variables from raw AIS data, and trajectory clustering is applied using dynamic time warping. An inverted attention mechanism is employed, to compute the attention across variables rather than temporal positions, thereby enhancing scalability in high-dimensional settings and enabling explicit modeling of variable dependencies. The encoded representations are mapped to the prediction horizon through a multilayer perceptron decoder. Comprehensive experiments on AIS trajectory datasets demonstrated that the proposed framework attains higher accuracy in both short- and long-term prediction tasks. The results indicate that the integration of feature augmentation and inverted attention enhances predictive accuracy, robustness, and generalization for maritime trajectory prediction.
期刊介绍:
International Journal of Naval Architecture and Ocean Engineering provides a forum for engineers and scientists from a wide range of disciplines to present and discuss various phenomena in the utilization and preservation of ocean environment. Without being limited by the traditional categorization, it is encouraged to present advanced technology development and scientific research, as long as they are aimed for more and better human engagement with ocean environment. Topics include, but not limited to: marine hydrodynamics; structural mechanics; marine propulsion system; design methodology & practice; production technology; system dynamics & control; marine equipment technology; materials science; underwater acoustics; ocean remote sensing; and information technology related to ship and marine systems; ocean energy systems; marine environmental engineering; maritime safety engineering; polar & arctic engineering; coastal & port engineering; subsea engineering; and specialized watercraft engineering.