Air Pollution Forecasting in Almaty using Ensemble Machine Learning Models

Lyazat Naizabayeva, Gulbakyt Sembina, Alibek Aliman, Maxatbek Satymbekov, Nazym Barlykbay, Nurgul Seilova

Abstract


This study develops an advanced forecasting methodology for air pollution levels in Almaty, Kazakhstan, focusing on fine Particulate Matter (PM2.5) and carbon monoxide concentrations. Air pollution poses significant risks to public health, and Almaty’s basin location exacerbates the problem. Addressing the limitations of traditional statistical forecasting methods, we propose an ensemble machine learning approach that integrates Seasonal-Trend decomposition with gradient boosting algorithms to capture complex temporal and nonlinear patterns. The objective is to develop and validate an effective methodology for forecasting atmospheric air pollution in Almaty using machine learning methods, in particular STL decomposition, XGBoost, LightGBM models, and their ensemble combination. The novelty lies in the integration of STL decomposition with an ensemble of gradient boosting models for high-accuracy air pollution forecasting in the complex urban environment of Almaty. The dataset includes hourly measurements from over 20 monitoring stations, enabling seasonal and spatial analysis. Rigorous preprocessing techniques were applied, including outlier removal, normalization, and time series decomposition into seasonal, trend, and residual components. Two gradient boosting models, XGBoost and LightGBM, were trained separately and combined into a weighted ensemble, with optimal weights determined through cross-validation. Figures and tables illustrate data preprocessing flow, model architectures, feature importance analysis, and evaluation of predictive performance. The ensemble outperformed individual models, achieving high accuracy with coefficient of determination values exceeding 0.98 for PM2.5 and 0.83 for carbon monoxide. The findings demonstrate that integrating Seasonal-Trend decomposition with ensemble learning provides a robust and effective approach to forecasting air pollution in complex urban environments. The methodology shows strong potential for practical application in real-time air quality monitoring and warning systems, aiding policymakers and public health authorities. Future research will expand the dataset by incorporating additional factors such as traffic flow, industrial emissions, and satellite remote sensing data to enhance predictive accuracy and model interpretability.


Keywords


Air Quality; PM2.5; Pollution; Carbon Monoxide (CO); STL Decomposition; Xgboost; Lightgbm; Machine Learning; Forecasting; Ensemble Model

Full Text:

PDF

References


Ministry of Ecology of the Republic of Kazakhstan. Annual Report on the State of the Environment in the Republic of Kazakhstan, 2023. Available at: https://www.gov.kz/memleket/entities/ecogeo/documents/details/490738 (Accessed: 20 March 2025).

Kepios. Digital 2024: Kazakhstan, 2024. Available at: https://datareportal.com/reports/digital-2024-kazakhstan (Accessed: 2 April 2025).

Temirbekov, N.M., Saparbekova, Z.B., Moldakhmetov, D.E. and Zhangabylov, R.Z. For-mation and identification of the causal relationships of air pollution in Almaty. Bulletin of KazNU. Ecological Series, 2023, vol. 75, no. 2. DOI: 10.26577/EJE.2023.v75.i2.04.

Freeman, B.S., Taylor, G., Gharabaghi, B. and Thé, J. Forecasting air quality time series using deep learning. Journal of the Air & Waste Management As-sociation, 2018, vol. 68, no. 8, pp. 866–886. DOI: 10.1080/10962247.2018.1459956.

Makhdoomi, A., Sarkhosh, M. and Ziaei, S. PM2.5 concentration prediction using machine learning algorithms: an approach to virtual monitoring stations. Scientific Reports, 2025, vol. 15, article no. 8076. DOI: 10.1038/s41598-025-92019-3.

Chen, G., Chen, S., Li, D. and Chen, C. A hybrid deep learning air pollution prediction approach based on neighborhood selection and spatio-temporal attention. Scientific Reports, 2025, vol. 15, article no. 3685. DOI: 10.1038/s41598-025-88086-1.

Yang, Y., Li, Z., Zhang, H., et al. Enhanced forecasting and assessment of urban air quality by an automated air quality forecasting system (AI-Air). Earth and Space Science, 2025, vol. 11, no. 3, e2024EA003942. DOI: 10.1029/2024EA003942.

Zhang, D., Du, L., Wang, W., Zhu, Q., Bi, J., Scovronick, N., Naidoo, M., Garland, R.M. and Liu, Y. A machine learning model to estimate ambient PM2.5 in South Africa’s Highveld region. Remote Sensing of Environment, 2021, vol. 266, article no. 112713. DOI: 10.1016/j.rse.2021.112713.

Kolesnikova, K., Naizabayeva, L., Myrzaba-yeva, A. and Lisnevskyi, R. Use of neural networks in prediction of environmental processes. 2024 IEEE SIST Conference, 2024, pp. 625–630. DOI: 10.1109/SIST61555.2024.10629330.

Kalaivani, G. and Mayilvahanan, P. Air quality prediction and monitoring using machine learning and IoT sensors. 2021 ICCES, 2021, pp. 1–9. DOI: 10.1109/ICCES51350.2021.9489153.

Houdou, A., Boukerche, A. and Maouchi, Y. Interpretable machine learning approaches for forecasting air pollution: A systematic review. Aero-sol and Air Quality Research, 2024, vol. 24, article no. 230151. DOI: 10.4209/aaqr.230151.

Kaziyeva, G.D., Sagnayeva, S.K., Sembina, G.K. and Ismailova, A.A. Software tools for environmental monitoring of the Northern part of the Caspian Sea. Materials of 4th International Conference on Computer and Technology Applications (ICCTA), 2018, pp. 85–90. DOI: 10.1109/CATA.2018.8398661.

Ke, H., Gong, S., He, J., Zhang, L., Cui, B., Wang, Y., Mo, J., Zhou, Y. and Zhang, H. Development and application of an automated air quali-ty forecasting system based on machine learning. Sci-ence of the Total Environment, 2022, vol. 806(Pt 3), p. 151204. DOI: 10.1016/j.scitotenv.2021.151204.

Rahman, M.M., Nayeem, E.H., Ah-med, S., et al. AirNet: predictive machine learning model for air quality forecasting using web interface. Environmental Systems Research, 2024, vol. 13, article no. 44. DOI: 10.1186/s40068-024-00378-z.

Tao, C., Liu, F., Zhang, Y., Wu, L. and Liu, B. Time-sensitive prediction of NO2 in China using ensemble ML. Journal of Environmental Scienc-es, 2024, vol. 137, pp. 30–40. DOI: 10.1016/j.jes.2023.02.026.

Alvarez, F. and Smith, M. Shapley values for evaluating traffic restriction impacts on NO2. International Journal of Environmental Science and Technology, 2021, vol. 18, pp. 3343–3356. DOI: 10.1007/s13762-020-03091-3.

Rad, A.K., Ebrahimi, R. and Hos-seini, V. ML models for predicting interactions between air pollutants in Tehran. Alexandria Engineering Jour-nal, 2024, vol. 104, pp. 464–479. DOI: 10.1016/j.aej.2024.08.023.

Natarajan, S.K., Venkatesan, R., Ra-masamy, S. and Babu, P. Optimized ML model for AQI forecasting in Indian cities. Scientific Reports, 2024, vol. 14, article no. 6795. DOI: 10.1038/s41598-024-54807-1.

Ahmad, M., Rappenglück, B., Osi-banjo, O.O. and Retama, A. ML approach to investigate ozone buildup in Mexico City. Journal of Cleaner Pro-duction, 2022, vol. 379(2), p. 134638. DOI: 10.1016/j.jclepro.2022.134638.

Rakholia, R., Le, Q., Ho, B.Q., Vu, K. and Carbajo, R.S. Multi-output ML model for re-gional air pollution forecasting in Ho Chi Minh City. Environment International, 2023, vol. 173, article no. 107848. DOI: 10.1016/j.envint.2023.107848.

Yang, C.H., Hsiao, S.Y., Lin, Y.C., Liu, Y.C. and Wu, Y.S. ML algorithms for linking air pollution with cognitive impairment in Taiwan. Ecotox-icology and Environmental Safety, 2024, vol. 284, arti-cle no. 116885. DOI: 10.1016/j.ecoenv.2024.116885.

Drewil, G.I. and Al-Bahadili, R.J. Air pollution prediction using LSTM and metaheuristics. Measurement: Sensors, 2022, vol. 24, article no. 100546. DOI: 10.1016/j.measen.2022.100546.

Cleveland, R.B., Cleveland, W.S., McRae, J.E. and Terpenning, I. STL: A seasonal-trend decomposition procedure based on Loess. Journal of Official Statistics, 1990, vol. 6, no. 1, pp. 3–73.

Chen, T. and Guestrin, C. XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016, pp. 785–794. DOI: 10.1145/2939672.2939785

Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q. and Liu, T.-Y. LightGBM: A highly efficient gradient boosting deci-sion tree. Advances in Neural Information Processing Systems, 2017, vol. 30, pp. 3146–3154.

Zhou, Z.-H. Ensemble methods: Foundations and algorithms. CRC Press, 2012. DOI: 10.1201/b12207.

Chicco, D., Warrens, M.J. and Jurman, G. The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation. PeerJ Computer Science, 2021. DOI: 10.7717/peerj-cs.623.




DOI: https://doi.org/10.47738/jads.v6i4.821

Refbacks

  • There are currently no refbacks.



Barcode

Journal of Applied Data Sciences

ISSN:2723-6471 (Online)
Publisher:Bright Publisher
Website:http://bright-journal.org/JADS
Email:taqwa@amikompurwokerto.ac.id (principal contact)
  support@bright-journal.org (technical issues)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0