An attention mechanism model based on positional encoding for the prediction of ship maneuvering motion in real sea state

IF 2.7 4区 工程技术 Q2 ENGINEERING, CIVIL Journal of Marine Science and Technology Pub Date : 2024-01-04 DOI:10.1007/s00773-023-00978-x
Lei Dong, Hongdong Wang, Jiankun Lou
{"title":"An attention mechanism model based on positional encoding for the prediction of ship maneuvering motion in real sea state","authors":"Lei Dong, Hongdong Wang, Jiankun Lou","doi":"10.1007/s00773-023-00978-x","DOIUrl":null,"url":null,"abstract":"<p>This paper proposes an positional encoding-based attention mechanism model which can quantify the temporal correlation of ship maneuvering motion to predict the future ship motion in real sea state. To represent the temporal information of the sequential motion status, the positional encoding consisted by sine and cosine functions of different frequencies is chosen as the input of the model. First, the reasonableness of the improved architecture of the model is validated on the standard turning test datasets of an unmanned surface vehicle. Then, the absolute positional encoding based-scaled-dot product attention mechanism model is compared with other two attention mechanism models with different positional encoding and attention calculation methods and its superiority is verified. As demonstrated by exhaustive experiments, the model has the highest prediction accuracy when the input sequence length equals the output sequence length and the accuracy defined in this paper of the model will drop to less than 90% when the predicted length exceeds 45. Finally, the attention mechanism model is compared with the LSTM model with different lengths of input sequences to demonstrate that the attention mechanism model has a faster training speed when dealing with long sequences.</p>","PeriodicalId":16334,"journal":{"name":"Journal of Marine Science and Technology","volume":null,"pages":null},"PeriodicalIF":2.7000,"publicationDate":"2024-01-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Marine Science and Technology","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1007/s00773-023-00978-x","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, CIVIL","Score":null,"Total":0}
引用次数: 0

Abstract

This paper proposes an positional encoding-based attention mechanism model which can quantify the temporal correlation of ship maneuvering motion to predict the future ship motion in real sea state. To represent the temporal information of the sequential motion status, the positional encoding consisted by sine and cosine functions of different frequencies is chosen as the input of the model. First, the reasonableness of the improved architecture of the model is validated on the standard turning test datasets of an unmanned surface vehicle. Then, the absolute positional encoding based-scaled-dot product attention mechanism model is compared with other two attention mechanism models with different positional encoding and attention calculation methods and its superiority is verified. As demonstrated by exhaustive experiments, the model has the highest prediction accuracy when the input sequence length equals the output sequence length and the accuracy defined in this paper of the model will drop to less than 90% when the predicted length exceeds 45. Finally, the attention mechanism model is compared with the LSTM model with different lengths of input sequences to demonstrate that the attention mechanism model has a faster training speed when dealing with long sequences.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于位置编码的注意力机制模型,用于预测真实海况下的船舶操纵运动
本文提出了一种基于位置编码的注意力机制模型,该模型可以量化船舶操纵运动的时间相关性,从而预测真实海况下的未来船舶运动。为了表示连续运动状态的时间信息,模型的输入选择了由不同频率的正弦和余弦函数组成的位置编码。首先,在无人水面飞行器的标准转弯测试数据集上验证了改进后模型结构的合理性。然后,将基于绝对位置编码的缩放点积注意力机制模型与其他两种采用不同位置编码和注意力计算方法的注意力机制模型进行比较,验证了其优越性。通过详尽的实验证明,当输入序列长度等于输出序列长度时,该模型的预测精度最高,而当预测长度超过 45 时,本文定义的模型精度将下降到 90% 以下。最后,我们将注意力机制模型与不同输入序列长度的 LSTM 模型进行了比较,结果表明注意力机制模型在处理长序列时具有更快的训练速度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Journal of Marine Science and Technology
Journal of Marine Science and Technology 工程技术-工程:海洋
CiteScore
5.60
自引率
3.80%
发文量
47
审稿时长
7.5 months
期刊介绍: The Journal of Marine Science and Technology (JMST), presently indexed in EI and SCI Expanded, publishes original, high-quality, peer-reviewed research papers on marine studies including engineering, pure and applied science, and technology. The full text of the published papers is also made accessible at the JMST website to allow a rapid circulation.
期刊最新文献
Statistical prediction for nonlinear failure function of linear loads: application to plate buckling in ship structure Nonlinear steering control law under input magnitude and rate constraints with exponential convergence Practical method for evaluating wind influence on autonomous ship operations (2nd report) Automatic docking with extended dynamic positioning Effectiveness assessment and simulation of a wearable guiding device for ship evacuation
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1