Skip to content
Open access

Application of stacked Transformer-XGBoost model and SHAP interpretability in air quality index prediction in Linfen City

Aug 2026 · iScience · Vol 29, pp. 116396 · 0 citations · 41 references
Medicine

Abstract

Summary This study proposes a stacked Transformer-XGBoost framework with Shapley Additive Explanations (SHAP) interpretability to improve Air Quality Index prediction in Linfen City, a heavily industrialized region characterized by complex pollution dynamics and strong seasonal variability. The model combines Transformer-based temporal feature extraction with XGBoost nonlinear regression through a temporally consistent out-of-fold stacking strategy, enabling effective learning of sequential dependencies and pollutant-meteorology interactions. Using historical air quality and meteorological data from 2013 to 2024, the proposed framework achieved superior predictive performance (R2 = 0.955, RMSE = 9.05, MAE = 2.91), outperforming conventional machine learning and deep learning models. SHAP analysis revealed that PM2.5, NO2, lagged AQI, and seasonal temporal factors were the dominant drivers of AQI variation, highlighting the importance of pollution persistence and meteorological stagnation. The findings provide both an accurate forecasting framework and interpretable insights to support early warning systems, adaptive emission control, and sustainable urban air-quality management.

Read PDF

Similar papers

Aug 2026

Improved SHAP-guided ensemble framework for precise traffic flow prediction

An advanced SHAP-driven boosting framework that incorporates SHapley Additive exPlanations (SHAP) analysis as an iterative guide within the CatBoost and XGBoost models development process and the grid search optimizer to improve the accuracy and interpretability of traffic flow prediction is introduced.

Amina Bouhali, Abdelhafid Zeroual, F. Harrou · 0 citations
Open access Sep 2026

Interpretable Machine Learning for Daily Streamflow Using Gam And Xgboost With Shap-Based Analysis

Predicting and interpreting streamflow changes is critical for the long-term sustainability of water resources under climate variability. This study investigates daily streamflow dynamics in Turkey's Sakarya River Basin using Generalized Additive Models (GAM), Extreme Gradient Boosting (XGBoost), and Explainable AI tec...

M. Güneş · 0 citations
Open access Sep 2026

A Hybrid Deep Learning Framework for Multi-Horizon Air Quality Forecasting Using Variational Mode Decomposition and Attention-Enhanced BiLSTM

The obtained results indicate that integrating signal decomposition with attention-based bidirectional learning can provide complementary benefits for forecasting under highly non-stationary urban conditions, particularly at shorter forecasting horizons.

Yasiel Pérez Vera, Julio Enrique Centeno Leon, Jose Alonso Yañez Mejia et al. · 0 citations
Sep 2026

Overcoming data shortages through hybrid machine learning in air quality forecasting: a case study of Kağıthane, Istanbul

A hybrid machine-learning framework for AQI prediction in Kağıthane, Istanbul, Türkiye, using a long-term dataset spanning approximately ten years, thereby reducing reliance on dense sensor infrastructures and achieving overall accuracy of approximately 98%, enabling timely health advisories and more efficient allocati...

M. Akiner, M. Ghasri · 1 citation
Open access Sep 2026

Knowledge-Guided Temporal Representation Learning for Air Pollution Forecasting (A Case Study of Nasiriyah City)

Air pollution prediction is a key research problem due to its direct impact on public health and the urban environment. Moreover, because air pollutants are dynamic and nonlinear, this poses a complex challenge for time-series modeling. However, while there has been significant development in the use of deep learning–b...

Abbas Ali, M. Khuhro, Hadi Tabealhojeh · 0 citations
Open access Aug 2026

Semiparametric hybrid air quality forecasting using prophet ensemble and feature selection

Due to air quality management and public health planning, accurately predicting PM2.5 concentrations is absolutely imperative. Having many lagged variables, interactions between pollutants and other temporal features means that high-dimensional environmental datasets (that may include multiple features) may hinder fore...

N. Yaqoob, I. Elbatal, R. Jabeen et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.