Interpretable machine learning framework for air quality prediction in Istanbul using Shapley additive explanations (SHAP)

Read full text
Authors: Enes Birinci, Ömer Ekmekcioğlu, Hüseyin Özdemir, Ali Deniz
Cited by: 11
References: 101

Abstract

Abstract This study develops a season-aware machine-learning (ML) framework to predict hourly concentrations of PM 10 , PM 2.5 and O 3 across İstanbul. A comprehensive 2021–2023 dataset was compiled from three co-located air-quality and meteorological monitoring stations that typify contrasting source regimes, i.e., a traffic-dominated urban site, a rural background site, and a semi-urban coastal site. Seven ML algorithms, namely eXtreme Gradient Boosting (XGBoost), Extra Trees (ETR), Random Forest (RF), Adaptive Boosting (AdaBoost), Multi-Layer Perceptron (MLP), k-Nearest Neighbors (KNN) and Support Vector Regression (SVR), were utilized to establish a holistic comparison scheme. Hyperparameters were optimized using five-fold cross-validated Bayesian search, and models were evaluated with various performance indicators on season-withheld test sets. In the winter months, ETR achieved a mean R 2 = 0.93 (RMSE ≈ 10 µg/m 3 ) for PM 10 at Bağcılar, while XGBoost yielded R 2 = 0.88 for O 3 at the same site. Summer predictions were more challenging. PM 10 skill in rural Arnavutköy dropped to R 2 = 0.61 despite strong training fits, highlighting over-fitting risks under complex, non-stationary chemical conditions. By contrast, MLP maintained robust urban performance for PM 2.5 (summer test R 2 = 0.80) and KNN provided the most stable O 3 prediction in rural areas (R 2 = 0.74). To enhance interpretability, SHAP (SHapley Additive exPlanations) analysis was applied to the best-performing models, enabling a transparent assessment of how meteorological and co-pollutant inputs shaped predictions at each site. The proposed framework demonstrates that data-driven models can complement traditional air-quality modeling systems by providing station-level insights and interpretable relationships between pollutants and meteorological drivers, supporting air-quality assessment and policy-relevant analyses in rapidly urbanizing regions.

Fields of Study & Subjects

Air Quality Monitoring and Forecasting Air Quality and Health Impacts Atmospheric chemistry and aerosols

Publication details

Journal / source
Stochastic Environmental Research and Risk Assessment
Publisher
Springer Science and Business Media LLC
Volume
40
Issue
2
Publication date
22 January 2026
Language
EN