Ensemble learning for air quality index prediction: integrating gradient boosting, XGBoost, and stacking with SHAP-based interpretability

The increasing challenge of air pollution in cities requires smart methods to make proper predictions and manage the problem. Although machine learning and deep learning models have contributed greatly to weather and pollution forecasting, the main issue is the real-time flexibility, and scalability in the varying atmospheric conditions. This paper introduces a weighted Voting ensemble model that combines Gradient Boosting (×4), CatBoost (×3), XGBoost (×2) and LightGBM (×1) to improve the accuracy of Air Quality Index (AQI) forecasting. The full preprocessing (complete-case deletion, which retains extremes) and optimization of hyperparameters (GridSearchCV/Optuna, 5-fold CV) were used to enhance the robustness and generalizability of the model. The Taiwan Air Quality Dataset (2016-2024, [Formula: see text] hourly records from 74 stations), 6 major pollutants (PM2.5, PM10, [Formula: see text], [Formula: see text], [Formula: see text], CO), meteorological parameters (wind speed/direction), and 8-h averages) is used to model the data (spatial/temporal IDs are excluded, to allow deployment to a single station). Experimental validation of 60/16/24 splits (random + temporal validation) shows that the ensemble has validation MSE 0.6553 ([Formula: see text] 0.9969), which beats 15 baselines including the deep learning (LSTM MSE 45.4), but has temporal robustness (Δ [Formula: see text]= - 0.0037). Moreover, SHAP is implemented to offer explainability, as it gives more insights into the contribution of features in predicting AQI. The results indicate the promise of interpretable ensemble learning systems to underpin sustainable urban living, reinforce community health programs, and allow interventions in managing air quality in time.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-02-12
DOI
https://doi.org/10.1038/s41598-026-39232-w
Primary Topic
Air Quality Monitoring and Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Ensemble learning for air quality index prediction: integrating gradient boosting, XGBoost, and stacking with SHAP-based interpretability

Abhay Kumar, Abhishek Kumar, Vishal Sengar, Sukhendra Singh et al.
Scientific Reports
Air Quality Monitoring and Forecasting
article

Ensemble learning for air quality index prediction: integrating gradient boosting, XGBoost, and stacking with SHAP-based interpretability

Abhay Kumar, Abhishek Kumar, Vishal Sengar, Sukhendra Singh, Manoj Kumar, B. M. Ahamed Shafeeq
article en

Abstract

The increasing challenge of air pollution in cities requires smart methods to make proper predictions and manage the problem. Although machine learning and deep learning models have contributed greatly to weather and pollution forecasting, the main issue is the real-time flexibility, and scalability in the varying atmospheric conditions. This paper introduces a weighted Voting ensemble model that combines Gradient Boosting (×4), CatBoost (×3), XGBoost (×2) and LightGBM (×1) to improve the accuracy of Air Quality Index (AQI) forecasting. The full preprocessing (complete-case deletion, which retains extremes) and optimization of hyperparameters (GridSearchCV/Optuna, 5-fold CV) were used to enhance the robustness and generalizability of the model. The Taiwan Air Quality Dataset (2016-2024, [Formula: see text] hourly records from 74 stations), 6 major pollutants (PM2.5, PM10, [Formula: see text], [Formula: see text], [Formula: see text], CO), meteorological parameters (wind speed/direction), and 8-h averages) is used to model the data (spatial/temporal IDs are excluded, to allow deployment to a single station). Experimental validation of 60/16/24 splits (random + temporal validation) shows that the ensemble has validation MSE 0.6553 ([Formula: see text] 0.9969), which beats 15 baselines including the deep learning (LSTM MSE 45.4), but has temporal robustness (Δ [Formula: see text]= - 0.0037). Moreover, SHAP is implemented to offer explainability, as it gives more insights into the contribution of features in predicting AQI. The results indicate the promise of interpretable ensemble learning systems to underpin sustainable urban living, reinforce community health programs, and allow interventions in managing air quality in time.

Scientific ReportsVol. 16(1)
National Institute of Technology Patna (IN), Jaypee Institute of Information Technology (IN), Manipal Academy of Higher Education (IN), Bennett University (IN), Indian Institute of Technology Tirupati (IN)
Sustainable cities and communities
Openalex Percentile: Top 63%
Air Quality Monitoring and Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.