Deep Learning for PM2.5 Prediction under Zero-Inflated Tropical Rainfall: RNN vs GRU

Authors

DOI:

https://doi.org/10.29408/edumatic.v10i1.34418

Keywords:

gated recurrent unit, pm2.5, recurrent neural network, tropical rainfall, zero-inflated data

Abstract

Air quality forecasting in maritime tropical regions is challenged by zero-inflated rainfall regimes, where prolonged dry periods are intermittently disrupted by extreme precipitation, generating highly non-linear PM₂.₅ dynamics and limiting the effectiveness of conventional predictive models. This study evaluate the predictive performance of Recurrent Neural Networks (RNN) and Gated Recurrent Units (GRU) under such distributional conditions. A quantitative experimental design with a comparative approach is employed using 1,461 daily observations from the Central Java Climatology Station, incorporating rainfall, temperature, and relative humidity as predictors; a chronological data split preserves temporal dependencies, and performance is assessed using MAE, RMSE, MAPE, and R² metrics. The results indicate that GRU achieves only a marginal 4.3% reduction in MAE relative to RNN, while both models exhibit substantial predictive failure, as evidenced by negative R² values and MAPE exceeding 300%, with predictions collapsing toward the mean and failing to capture extreme pollution events. These findings demonstrate that standard recurrent architectures with conventional loss functions are intrinsically limited in modeling zero-inflated environmental data, contributing empirical evidence on the boundary conditions of deep learning in tropical air quality forecasting and underscoring the necessity for specialized modeling approaches to support reliable early warning systems.

References

Areru, D. A., Zimale, F. A., & Goshime, D. W. (2026). Integration of machine learning and deep learning models for hydro-meteorological data gap filling and prediction of daily rainfall in the Lake Abaya-Chamo Sub-basin, South Ethiopia. Journal of Hydrology: Regional Studies, 65, 103404. https://doi.org/10.1016/j.ejrh.2026.103404

Bevacqua, E., Rakovec, O., Schumacher, D. L., Kumar, R., Thober, S., Samaniego, L., ... & Zscheischler, J. (2024). Direct and lagged climate change effects intensified the 2022 European drought. Nature Geoscience, 17(11), 1100-1107. https://doi.org/10.1038/s41561-024-01559-2

Billah, S. M., Haq, H. M., Rahman, A., Biswas, H., & Islam, M. I. (2026). Meteorological drivers of fine particulate matter variability in Dhaka City with a seasonal analysis of temperature, humidity, rainfall, and wind speed. Discover Environment, 4(1), 56. https://doi.org/10.1007/s44274-026-00560-3

Choi, H. J., Lee, W. K., & Sohn, S. Y. (2024). PM2. 5 prediction using population-based centrality weight. Journal of Big Data, 11(1), 157. https://doi.org/10.1186/s40537-024-01012-6

Galvin, R. (2022). Why German households won’t cover their roofs in photovoltaic panels: And whether policy interventions, rebound effects and heat pumps might change their minds. Renewable Energy Focus, 42, 236-252. https://doi.org/10.1016/j.ref.2022.07.002

Huang, H., & Qian, C. (2023). Modeling PM2. 5 forecast using a self-weighted ensemble GRU network: Method optimization and evaluation. Ecological Indicators, 156, 111138. https://doi.org/10.1016/j.ecolind.2023.111138

Kasipiyawong, J., Gayh, U., & Ghomi, M. R. (2024). The potential of rainwater harvesting and greywater recycling as an alternative domestic water resource in Bahnstadt-Heidelberg, Germany. Journal of Water, Sanitation and Hygiene for Development, 14(7), 486-496. https://doi.org/10.2166/washdev.2024.208

Krishna, R., & Prema, K. V. (2023). Constructing and Optimizing RNN Models to Predict Fruit Rot Disease Incidence in Areca Nut Crop Based on Weather Parameters. IEEE Access, 11, 110582–110595. https://doi.org/10.1109/ACCESS.2023.3311477

Ma, X., Chen, T., Ge, R., Cui, C., Xu, F., & Lv, Q. (2022). Time series-based PM2.5 concentration prediction in Jing-Jin-Ji area using machine learning algorithm models. Heliyon, 8(9). https://doi.org/10.1016/j.heliyon.2022.e10691

Ma, X., Morawska, L., Zou, B., Gao, J., Deng, J., Wang, X., Wu, H., Xu, X., Wang, Y., Tan, Z., Jiang, N., Shen, Y., Li, D., Gao, J., Fan, Y., & Salmond, J. (2025). Towards compliance with the 2021 WHO air quality guidelines: A comparative analysis of PM2.5 trends in Australia and China. Environment International, 198, 109378. https://doi.org/10.1016/j.envint.2025.109378

Niu, M., Zhang, Y., & Ren, Z. (2023). Deep learning-based PM2. 5 long time-series prediction by fusing multisource data—A case study of Beijing. Atmosphere, 14(2), 340. https://doi.org/10.3390/atmos14020340

Pan, R., Liu, T., & Ma, L. (2024). A Graph Attention Recurrent Neural Network Model for Pan, R., Liu, T., & Ma, L. (2024). A graph attention recurrent neural network model for PM2. 5 prediction: a case study in China from 2015 to 2022. Atmosphere, 15(7), 799. https://doi.org/10.3390/atmos15070799

Qing, L. (2023). PM2. 5 concentration prediction using GRA-GRU network in air monitoring. Sustainability, 15(3), 1973. https://doi.org/10.3390/su15031973

Raimondi, A., Quinn, R., Abhijith, G. R., Becciu, G., & Ostfeld, A. (2023). Rainwater harvesting and treatment: State of the art and perspectives. Water, 15(8), 1518. https://doi.org/10.3390/w15081518

Rajesh, P. V., & Goswami, B. N. (2023). Climate change and potential demise of the Indian deserts. Earth's Future, 11(8), e2022EF003459. https://doi.org/10.1029/2022EF003459

Riza, O. S., & Nuryadi, A. (2023). Bibliometric study: rainfall Classification-Prediction using machine learning methods. Digital Zone: Jurnal Teknologi Informasi dan Komunikasi, 14(2), 206-218. https://doi.org/10.31849/digitalzone.v14i2.16618

Sharma, O., Trivedi, D., Pattnaik, S., Hazra, V., & Puhan, N. B. (2023). Improvement in District Scale Heavy Rainfall Prediction Over Complex Terrain of North East India Using Deep Learning. IEEE Transactions on Geoscience and Remote Sensing, 61, 1–8. https://doi.org/10.1109/TGRS.2023.3322676

Shekar, P. R., Mathew, A., Yeswanth, P. V., & Deivalakshmi, S. (2024). A combined deep CNN-RNN network for rainfall-runoff modelling in Bardha Watershed, India. Artificial Intelligence in Geosciences, 5, 100073. https://doi.org/10.1016/j.aiig.2024.100073

Slater, L. J., Arnal, L., Boucher, M. A., Chang, A. Y. Y., Moulds, S., Murphy, C., ... & Zappa, M. (2023). Hybrid forecasting: blending climate predictions with AI models. Hydrology and earth system sciences, 27(9), 1865-1889. https://doi.org/10.5194/hess-27-1865-2023

Wang, G., Ji, Z., Tian, X., Hou, Y., Yang, F., & Ren, F. (2025). Prediction of heavy metal and PM2.5 concentrations in atmospheric particulate matter using key magnetic parameters. Air Quality, Atmosphere & Health, 18(3), 815–825. https://doi.org/10.1007/s11869-024-01680-6

Wang, P., Naso, J., Myers, R., Durney, C. H., Bartolomeu, C., McGuire, A., ... & Lockwood, W. W. (2025). P3. 01.23 The Impact of PM2. 5 Exposure on the Genome of Patients With Lung Adenocarcinoma Who Have Never Smoked. Journal of Thoracic Oncology, 20(10), S411-S412. https://doi.org/10.1016/j.jtho.2025.09.769

Waqas, M., & Humphries, U. W. (2024). A critical review of RNN and LSTM variants in hydrological time series predictions. MethodsX, 13, 102946. https://doi.org/10.1016/j.mex.2024.102946

Zaini, N. A., Ean, L. W., Ahmed, A. N., Abdul Malek, M., & Chow, M. F. (2022). PM2. 5 forecasting for an urban area based on deep learning and decomposition method. Scientific reports, 12(1), 17565. https://doi.org/10.1038/s41598-022-21769-1

Zhang, W., Ali, M. Z., Cui, W., Sun, C., Zheng, Z., & Chen, K. (2025). Severe rainfall-induced landslides in Pingyuan County, Guangdong, China, in June 2024: W. Zhang et al. Landslides, 22(8), 2623-2639. https://doi.org/10.1007/s10346-025-02546-3

Zhang, X., Yin, Q., Liu, F., Li, H., & Qi, Y. (2023). Comparative study of rainfall prediction based on different decomposition methods of VMD. Scientific Reports, 13(1), 20127. https://doi.org/10.1038/s41598-023-47416-x

Downloads

Published

2026-04-28

How to Cite

Yuliyono, I., & Supriyanto, A. (2026). Deep Learning for PM2.5 Prediction under Zero-Inflated Tropical Rainfall: RNN vs GRU. Edumatic: Jurnal Pendidikan Informatika, 10(1), 250–259. https://doi.org/10.29408/edumatic.v10i1.34418