大连海事大学学报2024,Vol.50Issue(1) :57-65.DOI:10.16411/j.cnki.issn1006-7736.2024.01.007

基于注意力机制的堆叠LSTM短时船舶交通流预测模型

Stacked LSTMs short-term ship traffic flow prediction model based on attention mechanism

廉清云 孙伟 李润生
大连海事大学学报2024,Vol.50Issue(1) :57-65.DOI:10.16411/j.cnki.issn1006-7736.2024.01.007

基于注意力机制的堆叠LSTM短时船舶交通流预测模型

Stacked LSTMs short-term ship traffic flow prediction model based on attention mechanism

廉清云 1孙伟 2李润生2
扫码查看

作者信息

  • 1. 上海海事大学商船学院,上海 201306
  • 2. 上海海事大学信息工程学院,上海 201306
  • 折叠

摘要

针对由短时船舶交通流数据的非线性与非平稳性特征导致的预测精度低的问题,提出基于注意力机制的堆叠LSTM船舶交通流预测模型.采用堆叠式LSTM神经网络捕捉短时船舶交通流数据的时序特征,并通过引入注意力机制更好地学习全局性特征,以提高船舶交通流预测精度.提取长江下游三个航段的船舶AIS数据构建船舶交通流数据集,并将其用于本文模型的训练和测试.结果表明,相较HA、ARIMA、GPR、LSTM和Seq2Seq等基线模型,在交通流量宏观参数预测中,本文模型的均方根误差和平均绝对误差两个评价指标均有所降低;与最优基线模型相比,本文模型在船舶交通流预测中表现出更高的精度,其均方根误差降低4.05%,平均绝对误差降低4.04%.

Abstract

A stacked LSTM ship traffic flow prediction model based on attention mechanism was proposed to address the problem of low prediction accuracy caused by the nonlinear and non-stationary characteristics of short-term ship traffic flow da-ta.Stacked LSTM neural network was used to capture temporal features of short-term ship traffic flow data,and the attention mechanism was introduced to better learn global features,and improved accuracy of ship traffic flow prediction.Ship AIS data were extracted from three sections of the lower reaches of the Yangtze river to construct the ship traffic flow dataset,and used for training and testing of the proposed model.Results show that compared to baseline models such as HA,ARIMA,GPR,LSTM,and Seq2Seq,the model proposed in this paper,both the root mean square error and mean absolute error reduce in predicting macro traffic flow parameters.Compared with the optimal baseline model,the proposed model exhibits higher ac-curacy in predicting ship traffic flow,with a root mean square error reduction of 4.05%and a mean absolute error reduction of 4.04%.

关键词

内河交通/船舶交通流预测/长短时记忆网络(LSTM)/堆叠LSTM/注意力机制

Key words

inland river traffic/ship traffic flow prediction/long short-term memory network(LSTM)/stacked LSTM/at-tention mechanism

引用本文复制引用

基金项目

交通运输部2021年度交通运输行业重点科技项目(2021-ZD6-095)

出版年

2024
大连海事大学学报
大连海事大学

大连海事大学学报

CSTPCDCSCD北大核心
影响因子:0.469
ISSN:1006-7736
被引量1
参考文献量19
段落导航相关论文