Comparative Evaluation of LSTM and GRU for Long-Term Temperature Forecasting: A Case Study
- 1 Department of Information Management, Yuan Ze University, Taoyuan
- 2 Department of Information Management, Yuan Ze University, Taoyuan
- 3 Department of Information Management, Yuan Ze University, Taoyuan
Abstract
Accurate long-term temperature forecasting is essential for climate-sensitive planning in subtropical regions characterized by pronounced seasonal variability. This study compares two recurrent neural network architectures Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) for long-term monthly temperature prediction in Taiwan region. Meteorological data from 2010 - 2025 were used, with correlation-based feature selection and Min-Max normalization applied prior to training. The dataset was chronologically partitioned into training, validation, and testing subsets to ensure temporal integrity. Model performance was evaluated using Mean Absolute Percentage Error (MAPE), and convergence behavior was examined to assess computational efficiency. Both models successfully captured nonlinear seasonal dynamics and achieved high forecasting accuracy. However, GRU converged in approximately half the number of training epochs required by LSTM, demonstrating superior computational efficiency. These results suggest that greater architectural complexity does not necessarily yield materially improved long-term forecasting performance. The findings provide empirical evidence to inform recurrent neural network selection for extended-horizon monthly climate prediction tasks.
- IPCC (2023) Climate Change 2023: Synthesis Report. Intergovernmental Panel on Climate Change.
- Huang, Y. (2020) Examining Impact Factors of Residential Electricity Consumption in Taiwan Region Using Index Decomposition Analysis Based on End-Use Level Data. Energy , 213, Article ID: 119067. https://doi.org/10.1016/j.energy.2020.119067
- Liu, D. (2022) Residential and Industrial Electricity Consumption in Taiwan Region: Weather or Macroeconomic Condition (or Both). Energy Strategy Reviews , 39, Article ID: 100795. https://doi.org/10.1016/j.esr.2021.100795
- Duan, Z., de Wilde, P., Attia, S. and Zuo, J. (2025) Challenges in Predicting the Impact of Climate Change on Thermal Building Performance through Simulation: A Systematic Review. Applied Energy , 382, Article ID: 125331. https://doi.org/10.1016/j.apenergy.2025.125331
- Zahraoui, Y., Korõtko, T., Rosin, A., Mekhilef, S., Seyedmahmoudian, M., Stojcevski, A., et al . (2024) AI Applications to Enhance Resilience in Power Systems and Microgrids—A Review. Sustainability , 16, Article 4959. https://doi.org/10.3390/su16124959
- Pan, W. and Li, Y. (2022) Improving Power Grid Resilience under Extreme Weather Conditions with Proper Regulation and Management of Ders—Experiences Learned from the 2021 Texas Power Crisis. Frontiers in Energy Research , 10, Article 921335. https://doi.org/10.3389/fenrg.2022.921335
- Melaku, N.D., Fares, A. and Awal, R. (2023) Exploring the Impact of Winter Storm Uri on Power Outage, Air Quality, and Water Systems in Texas, Usa. Sustainability , 15, Article 4173. https://doi.org/10.3390/su15054173
- Hewamalage, H., Bergmeir, C. and Bandara, K. (2021) Recurrent Neural Networks for Time Series Forecasting: Current Status and Future Directions. International Journal of Forecasting , 37, 388-427. https://doi.org/10.1016/j.ijforecast.2020.06.008
- Yunita, A., Pratama, M.I., Almuzakki, M.Z., Ramadhan, H., Akhir, E.A.P., Firdausiah Mansur, A.B., et al . (2025) Performance Analysis of Neural Network Architectures for Time Series Forecasting: A Comparative Study of RNN, LSTM, GRU, and Hybrid Models. MethodsX , 15, Article ID: 103462. https://doi.org/10.1016/j.mex.2025.103462
- Madin, V., Salykova, O., Ivanova, I., Bizhanova, O. and Aldasheva, D. (2025) Enhancing Electricity Consumption Forecasting in the Republic of Kazakhstan Using Machine Learning. Journal of Applied Engineering and Technological Science ( JAETS ), 6, 1166-1196. https://doi.org/10.37385/jaets.v6i2.7425