MACHINE LEARNING-BASED PREDICTION OF AIR POLLUTION LEVELS USING ATMOSPHERIC AND METEOROLOGICAL VARIABLES
DOI:
https://doi.org/10.67772/y2268b32Keywords:
Air Pollution Prediction, Machine Learning, PM2.5 Concentration, Meteorological Variables, LightGBM, Environmental MonitoringAbstract
Air pollution is still a large environmental and public-health problem, and the ability of providing accurate and reliable estimation tools for air particulate matter concentration is needed. In this study, the accuracy of machine learning algorithms in predicting PM2.5 concentration by the meteorological and temporal variables has been investigated. The Beijing PM2.5 data set was used, which contains 43,824 hourly records from the year of 2010 to 2014, and 41,757 valid observations after data preprocessing. The five regression algorithms (Linear Regression, Random Forest, Gradient Boosting, XGBoost and LightGBM) were compared using chronological data partitioning. The Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and coefficient of determination (R²) were used to evaluate the predictive performance. According to the reported results, LightGBM performed best with the lowest MAE of 36.46 µg/m³, RMSE of 50.03 µg/m³ and R² of 0.600 followed by XGBoost and Random Forest. The correlation analysis showed negative relationship between accumulated wind speed and PM2.5 concentrations while positive relationship was found for dew point. The results of the permutation-based feature importance analysis showed that month and dew point were influential predictors, which indicated the importance of seasonality and moisture conditions in the atmosphere. The results show that the ensemble-learning methods can be used to estimate particulate pollution and for data-driven environmental monitoring. Future studies should include more emission-related variables, data from more geographical regions and more sophisticated temporal forecasting techniques to enhance predictive reliability and generalizability.
References
Ballesteros Peinado, L., Guarda, T., Herrera-Vidal, G., Minnaard, C., & Coronado-Hernández, J. R. (2025). Statistical and machine learning models for air quality: A systematic review of methods and challenges. Algorithms, 18(12), Article 783. https://doi.org/10.3390/a18120783
Chen, J., Zhu, S., Wang, P., Zheng, Z., Shi, S., Li, X., Xu, C., Yu, K., Chen, R., Kan, H., Zhang, H., & Meng, X. (2024). Predicting particulate matter, nitrogen dioxide, and ozone across Great Britain with high spatiotemporal resolution based on random forest models. Science of the Total Environment, 926, Article 171831. https://doi.org/10.1016/j.scitotenv.2024.171831
Chen, S. (2015). Beijing PM2.5 [Data set]. UCI Machine Learning Repository. https://doi.org/10.24432/C5JS49
Chimla, S., Chotamonsak, C., & Chaipimonplin, T. (2025). Integration of WRF-Chem model-based, satellite-based, and ground-based observation data to predict PM2.5 concentration by machine learning approach. Atmosphere, 16(11), Article 1304. https://doi.org/10.3390/atmos16111304
Chisilev, B.-I., & Pelican, E. (2026). Assessment of machine learning methods for urban air pollution forecasting. Stochastic Environmental Research and Risk Assessment, 40, Article 205. https://doi.org/10.1007/s00477-026-03331-x
Feng, X., Zhang, X., Henne, S., Zhao, Y.-B., Liu, J., Chen, T.-L., & Wang, J. (2024). A hybrid model for enhanced forecasting of PM2.5 spatiotemporal concentrations with high resolution and accuracy. Environmental Pollution, 355, Article 124263. https://doi.org/10.1016/j.envpol.2024.124263
Gao, Z., Do, K., Li, Z., Jiang, X., Maji, K. J., Ivey, C. E., & Russell, A. G. (2024). Predicting PM2.5 levels and exceedance days using machine learning methods. Atmospheric Environment, 323, Article 120396. https://doi.org/10.1016/j.atmosenv.2024.120396
Joharestani, M. Z., Cao, C., Ni, X., Bashir, B., & Talebiesfandarani, S. (2019). PM2.5 prediction based on random forest, XGBoost, and deep learning using multisource remote sensing data. Atmosphere, 10(7), Article 373. https://doi.org/10.3390/atmos10070373
Kumar, R. P., Prakash, A., Singh, R., & Kumar, P. (2024). Machine learning-based prediction of hazards fine PM2.5 concentrations: A case study of Delhi, India. Discover Geoscience, 2, Article 34. https://doi.org/10.1007/s44288-024-00043-z
Lawrence, S., & Bhathmanabhan, S. (2026). A robust and uncertainty-aware machine learning framework for PM2.5 prediction in a coastal urban Indian environment: Implications for sustainable air quality management. Sustainable Environment Research, 36, Article 17. https://doi.org/10.1186/s42834-026-00296-y
Liu, C., Lai, Y., Xu, H., Xu, Z., Jiang, Y., Chen, G., Tian, H., Fu, B., Cao, J., & Li, B. (2026). Seasonal drivers and nonlinear PM2.5 responses to emission reductions in Beijing using explainable machine learning. Atmospheric Pollution Research. Advance online publication. https://doi.org/10.1016/j.apr.2026.103293
Liu, N., Zou, B., Li, Y., Zang, Z., Xu, S., Li, S., Li, S., Zhi, L., Chen, J., & Zhao, F. (2024). An accurate and efficient forecast framework for fine PM2.5 maps using spatiotemporal recurrent neural networks. Journal of Cleaner Production, 475, Article 143624. https://doi.org/10.1016/j.jclepro.2024.143624
Liu, X., Pu, X., Lu, C., Zhang, H., Li, T., Grieneisen, M. L., Li, J., Ma, N., Yan, C., Zhan, Y., & Yang, F. (2024). Interpretable regional meteorological feature extraction enhances deep learning for extended 120-h PM2.5 forecasting. Journal of Cleaner Production, 483, Article 144287. https://doi.org/10.1016/j.jclepro.2024.144287
Lyu, Y., Kirwa, K., Young, M., Liu, Y., Liu, J., Hao, S., Li, R., Xu, D., & Kaufman, J. D. (2022). A high-resolution computationally-efficient spatiotemporal model for estimating daily PM2.5 concentrations in Beijing, China. Atmospheric Environment, 290, Article 119349. https://doi.org/10.1016/j.atmosenv.2022.119349
Méndez, M., Merayo, M. G., & Núñez, M. (2023). Machine learning algorithms to forecast air quality: A survey. Artificial Intelligence Review, 56(9), 10031–10066. https://doi.org/10.1007/s10462-023-10424-4
Meng, X., Xie, C., Tang, X., & Pan, Y. (2025). Prediction of particulate matter 2.5 concentration based on attention mechanism and convolutional BiLSTM network. Discover Applied Sciences, 7, Article 1372. https://doi.org/10.1007/s42452-025-07891-5
Salcedo-Bosch, A., Zong, L., Yang, Y., Cohen, J. B., & Lolli, S. (2025). Forecasting particulate matter concentration in Shanghai using a small-scale long-term dataset. Environmental Sciences Europe, 37, Article 47. https://doi.org/10.1186/s12302-025-01068-y
Tao, H., Ahmadianfar, I., Goliatt, L., Kazmi, S. S. U. H., Yassin, M. A., Oudah, A. Y., Homod, R. Z., Togun, H., & Yaseen, Z. M. (2024). PM2.5 concentration forecasting: Development of integrated multivariate variational mode decomposition with kernel Ridge regression and weighted mean of vectors optimization. Atmospheric Pollution Research, 15(6), Article 102125. https://doi.org/10.1016/j.apr.2024.102125
Vignesh, P. P., Jiang, J. H., & Kishore, P. (2023). Predicting PM2.5 concentrations across USA using machine learning. Earth and Space Science, 10(10), Article e2023EA002911. https://doi.org/10.1029/2023EA002911
Wang, S., Zhang, M., Zhao, H., Wang, P., Kota, S. H., Fu, Q., & Zhang, H. (2024). Extracting regional and temporal features to improve machine learning for hourly air pollutants in urban India. Atmospheric Environment, 338, Article 120834. https://doi.org/10.1016/j.atmosenv.2024.120834
Wu, Y., Lin, S., Shi, K., Ye, Z., & Fang, Y. (2022). Seasonal prediction of daily PM2.5 concentrations with interpretable machine learning: A case study of Beijing, China. Environmental Science and Pollution Research, 29(30), 45821–45836. https://doi.org/10.1007/s11356-022-18913-9
Xie, L., He, J., Lei, R., Fan, M., & Huang, H. (2024). Accurate and efficient prediction of atmospheric PM1, PM2.5, PM10, and O3 concentrations using a customized software package based on a machine-learning algorithm. Chemosphere, 368, Article 143752. https://doi.org/10.1016/j.chemosphere.2024.143752
Zhang, C., Li, X., Sheng, H., Shen, Y., Xie, W., & Zhu, X. (2024). Long-term prediction method for PM2.5 concentration using edge channel graph attention network and gating closed-form continuous-time neural networks. Process Safety and Environmental Protection, 189, 356–373. https://doi.org/10.1016/j.psep.2024.06.090
Zhao, C., Lin, Z., Yang, L., Jiang, M., Qiu, Z., Wang, S., Gu, Y., Ye, W., Pan, Y., Zhang, Y., Wang, T., Jia, Y., & Chen, Z. (2025). A study on the impact of meteorological and emission factors on PM2.5 concentrations based on machine learning. Journal of Environmental Management, 376, Article 124347. https://doi.org/10.1016/j.jenvman.2025.124347
