海洋科学2026,Vol.50Issue(4):12-24,13.DOI:10.11759/hykx20250410004
基于MPSO–CNN–LSTM–Attention模型的海温预测
Ocean temperature prediction based on an MPSO–CNN–LSTM–Attention model
摘要
Abstract
To enhance the prediction performance of ocean temperature,a hybrid model integrating a modified par-ticle swarm optimization(MPSO)algorithm,a convolutional neural network(CNN),a long short-term memory(LSTM)network,and an attention mechanism,namely,the MPSO–CNN–LSTM–Attention model,was proposed and established to predict the ocean temperature in time series.First,the variation characteristics of temperature data were extracted using the CNN;second,the extracted features were used to form a time series as the input for the LSTM;third,the MPSO algorithm was introduced to establish a dynamic nonlinear inertia weight and a bimodal feedback learning factor to determine the optimal value of the key model hyperparameters and thereby improve prediction accuracy and convergence speed;finally,information characteristics output by the LSTM layer were captured by the attention mechanism,the weight ratio was adjusted,key information was extracted,and the ocean temperature prediction was thus realized.A comparison of the time-series prediction results,based on historical temperature data,with other neural network models,in terms of three indicators—Root Mean Square Error(RMSE),Mean Absolute Error(MAE),and Coefficient of Determination(R²)—shows that the MPSO–CNN–LSTM–Attention model converges faster,has smaller prediction errors,and performs relatively better overall.关键词
温度预测/CNN/LSTM/改进的粒子群算法/注意力机制Key words
temperature prediction/CNN/LSTM/Modified Particle Swarm Optimization/attention mechanism分类
海洋科学引用本文复制引用
王敏,郭晓峰,曹小萌,田子康,潘发垒..基于MPSO–CNN–LSTM–Attention模型的海温预测[J].海洋科学,2026,50(4):12-24,13.基金项目
国家自然科学基金资助项目(No.41775165) (No.41775165)
安徽省高校杰出青年科研项目(2023AH020022)[The National Natural Science Foundation of China,No.41775165 (2023AH020022)
Outstanding Young Scholars of Anhui Province,No.2023AH020022] ()