Welcome to Francis Academic Press

Academic Journal of Computing & Information Science, 2025, 8(6); doi: 10.25236/AJCIS.2025.080615.

Research on the Application of LSTM Model for Temperature Prediction

Author(s)

Zerui Yu

Corresponding Author:
​Zerui Yu
Affiliation(s)

School of Computer Science and Information Security & School of Software Engineering & School of Cryptology, Guilin University of Electronic Technology, Guilin, China, 541004

Abstract

The increasing annual temperatures have led to various extreme weather events such as droughts and heatwaves, posing significant threats to human production and daily life. Therefore, accurate temperature prediction is crucial for effective disaster prevention. With the continuous development of computer parallel technology and high-performance computing devices, artificial intelligence has increasingly become an effective solution for addressing such challenges. Leveraging these technological advancements and historical temperature data, this study proposes a multivariate time series prediction approach based on Recurrent Neural Networks (RNN) to address the limitations of Convolutional Neural Network-Long Short-Term Memory models in handling long-term temporal dependencies for temperature forecasting. This paper first develop an RNN-LSTM model for univariate time series prediction, then extend it to multivariate scenarios. The inherent capability of RNN to retain state information from previous time steps enables effective capture of long-range dependencies. Experimental results demonstrate that our model achieves an RMSE of 0.15, MAE of 0.10, and coefficient of determination (R²) of 0.92 on standardized data, with a test set prediction accuracy of 92%. Compared with baseline models, our approach reduces parameter quantity by 34% while decreasing prediction error by 21%, validating its effectiveness in processing multivariate temporal features and long-term dependencies. This research provides an interpretable deep learning framework for meteorological prediction, where the dual-layer LSTM architecture combined with Dropout regularization strategy offers universal reference value for time series forecasting tasks.

Keywords

LSTM, Temperature Prediction, Multivariate Time Series

Cite This Paper

Zerui Yu. Research on the Application of LSTM Model for Temperature Prediction. Academic Journal of Computing & Information Science (2025), Vol. 8, Issue 6: 122-127. https://doi.org/10.25236/AJCIS.2025.080615.

References

[1] Philip G. Brodrick, A. Park Williams, Naomi S. Diffenbaugh. Global warming intensifies rainfall in mountainous regions [J]. Nature, 2023, 615(7952): 443-449.

[2] Xin Wang, Lianchun Song, Guofu Wang,et al.Operational climate prediction in the era of big data in China: Reviews and prospects[j].Journal of Meteorological Research,2016,30(3).

[3] Li W ,Lei G .Seven-day sea surface temperature prediction using a 3DConv-LSTM model [J]. Frontiers in Marine Science,2022.

[4] Tian Miao. Research on Temperature Prediction in Chongqing Based on LSTM Model [D]. Chongqing University, 2022.

[5] Tae-Young Kim,Sung-Bae Cho.Predicting residential energy consumption using CNN-LSTM neural networks[J].Energy,2019,182.

[6] Dae-Hyun Jung,Hyoung Seok Kim,Changho Jhin,et al.Time-serial analysis of deep neural network models for prediction of climatic conditions inside a greenhouse[J].Computers and Electronics in Agriculture, 2020,173.