Research Article

Deep Learning for Weather Forecasting: A CNN-LSTM Hybrid Model for Predicting Historical Temperature Data

Yuhao Gong1, Yuchen Zhang1, Fei Wang1,*, Chihan Lee2
1. School of Information and Artificial Intelligence, Nanchang Institute of Science and Technology, Nanchang, China
2. Columbia University School of professional Study Appied Analytics/ Dentsu International

* Corresponding author: [email protected]

Abstract

As global climate change intensifies, accurate weather forecasting has become increasingly important, affecting agriculture, energy management, environmental protection, and daily life. This study introduces a hybrid model combining Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks to predict historical temperature data. CNNs are utilized for spatial feature extraction, while LSTMs handle temporal dependencies, resulting in significantly improved prediction accuracy and stability. By using Mean Absolute Error (MAE) as the loss function, the model demonstrates excellent performance in processing complex meteorological data, addressing challenges such as missing data and high-dimensionality. The results show a strong alignment between the prediction curve and test data, validating the model's potential in climate prediction. This study offers valuable insights for fields such as agriculture, energy management, and urban planning, and lays the groundwork for future applications in weather forecasting under the context of global climate change.

Keywords: Weather Prediction; Time series forecasting; convolutional neural networks (CNN); long short-term memory networks (LSTM).
Published: November 22, 2024
DOI: 10.54254/2755-2721/99/20251758
Volume: ACE Vol.99
pp. 168-174
Download PDF

References

  1. Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning, " Nature, vol. 521, pp. 436-444, 2015.
  2. S. Hochreiter and J. Schmidhuber, "Long short-term memory, " Neural Comput., vol. 9, no. 8, pp. 1735-1780, 1997.
  3. L. Ma and S. Tian, "A Hybrid CNN-LSTM Model for Aircraft 4D Trajectory Prediction, " in IEEE Access, vol. 8, pp. 134668-134680, 2020.
  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
  6. 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.
  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).
  8. A. Ahmed and J. A. S. Alalana, "Temperature prediction using LSTM neural network, " in Proc. IEEE 9th International Conference on Electronics (ICEL), 2020, pp. 210-215.
  9. H. Wang et al., "Temperature forecasting using deep learning methods: A comprehensive review, " Energy Reports, vol. 6, pp. 232-245, 2020.