Research Article

Accurate Prediction of Temperature Indicators in Eastern China Using a Multi-Scale CNN-LSTM-Attention model

Jiajiang Shen1,*, Weiyan Wu2, Qianyu Xu3
1. School of Artificial Intelligence and Computer Science,Nantong University,Jiangsu,China
2. Fordham University, New York, USA
3. Medill School of Journalism, Northwestern University, USA

* Corresponding author: [email protected]

Abstract

In recent years, the importance of accurate weather forecasting has become increasingly prominent due to the impacts of global climate change and the rapid development of data science. Traditional forecasting methods often struggle to handle the complexity and nonlinearity inherent in climate data. To address these challenges, we propose a weather prediction model based on a multi-scale convolutional CNN-LSTM-Attention architecture, specifically designed for time series forecasting of temperature data in China. The model integrates Convolutional Neural Networks (CNN), Long Short-Term Memory (LSTM) networks, and attention mechanisms to leverage the strengths of spatial feature extraction, temporal sequence modeling, and the ability to focus on important features. The development process of the model includes data collection, preprocessing, feature extraction, and model building. Experimental results show that the model performs excellently in predicting temperature trends with high accuracy. The final computed results indicate that the Mean Squared Error (MSE) is 1.978295 and the Root Mean Squared Error (RMSE) is 0.8106562. This work marks a significant advancement in applying deep learning techniques to meteorological data, offering a valuable tool for improving weather forecasting accuracy and providing essential support for decision-making in areas such as urban planning, agriculture, and energy management.

Keywords: Machine learning; Weather; CNN-LSTM; Attention
Published: January 3, 2025
DOI: 10.54254/2755-2721/2025.19481
Volume: ACE Vol.120
pp. 164-170
Download PDF

References

  1. Huang Wei, Wang Xingjie, Yang Qingqing. Research and Implementation of a Haze Early Warning System Based on Neural Network [J]. Computer Technology and Development, 2019, 29(10): 26-30. https://doi.org/10.3969/j.issn.1673-629X.2019.10.006.
  2. MA Zhi-feng, ZHANG Hao, LIU Jie. A survey of precipitation nowcasting based on deep learning[J]. Computer Engineering & Science, 2023, 45(10): 1731-1753. https://doi.org/10.3969/j.issn.1007-130X.2023.10.003
  3. Huang Chao, Li Qiaoping, Xie Yijun, et al., 2022. Application of Machine Learning Methods in Summer Precipitation Prediction in Hunan Province [J]. Transactions of Atmospheric Sciences, 45(2): 191-202. https://doi.org/10.13878/j.cnki.dqkxxb.20210903001
  4. N. Ranjan, S. Bhandari, H. P. Zhao, H. Kim and P. Khan, "City-Wide Traffic Congestion Prediction Based on CNN, LSTM and Transpose CNN, " in IEEE Access, vol. 8, pp. 81606-81620, 2020. https://doi.org/10.1109/ACCESS.2020.2991462
  5. Zhang Yu, He Qingxia, Zeng Shiyi Research on Global Temperature Prediction Based on CNN-LSTM Model [J] Progress in Applied Mathematics, 2024, 13 (1): 302-312 https://doi.org/10.12677/aam.2024.131033
  6. Dai Linlin, Zhou Wenxue Research on PM2.5 concentration prediction in Lanzhou City based on CNN-LSTM [J] Progress in Applied Mathematics, 2023, 12 (3): 1003-1012 https://doi.org/10.12677/AAM.2023.123102
  7. Wang, B., Liu, S., Wang, B. et al. Multi-step ahead short-term predictions of storm surge level using CNN and LSTM network. Acta Oceanol. Sin. 40, 104–118 (2021). https://doi.org/10.1007/s13131-021-1763-9
  8. L. Ma and S. Tian, "A Hybrid CNN-LSTM Model for Aircraft 4D Trajectory Prediction, " in IEEE Access, vol. 8, pp. 134668-134680, 2020. https://doi.org/10.1109/ACCESS.2020.3010963