Transparent Intelligence Publishing Transparent Intelligence Publishing

Enhancing Transparency in Spatial PM₂.₅ Prediction over Singapore through Explainable Machine Learning

Original Research | Open access | Published: 15 March 2025
Volume 4, article number 61, (2025) Cite this article
You have full access to this open access article.
Download PDF
, , , ,
  1. Department of Air Quality Prediction and Explainable ML, Faculty of Engineering, Indian Agricultural Research Institute, New Delhi, India
  2. Department of Spatial PM2.5 Prediction and XAI, Faculty of Engineering, IIT Bombay, Mumbai, India
  3. Department of Transparency in Environmental AI, Faculty of Engineering, Savitribai Phule Pune University, Pune, India
  4. Department of Geospatial Machine Learning and Interpretability, Faculty of Engineering, IIT Kharagpur, Kharagpur, India
118 Accesses

Abstract

The climate system is heavily influenced by aerosols through direct and indirect pathways, notably the absorption and scattering of radiant energy. Beyond climate impacts, these particles compromise atmospheric visibility and jeopardize public health. Specifically, human populations face exposure to fine particulate matter PM2.5, a major driver of respiratory and cardiovascular pathologies. Long-term modifications in PM levels are generally governed by emission shifts and meteorological patterns, whereas short-term fluctuations are predominantly dictated by immediate weather dynamics. Surface variations in PM2.5 levels are further driven by environmental variables such as temperature, wind velocity, relative humidity, and vegetative coverage.

Air quality forecasting has advanced significantly through the application of machine learning. This research explores PM2.5 estimation by utilizing these environmental and meteorological metrics as spatiotemporal inputs. This study evaluates seven years (2014–2021) of in situ PM2.5 measurements gathered from five distinct monitoring stations across Singapore, establishing a baseline dataset for spatial modeling.

The primary contribution of this paper is a novel predictive architecture tailored for temporal analysis, utilizing Random Forest (RF), Gradient Boosting (GB) regression, and the Tree-based Pipeline Optimization Tool (TP) Auto ML framework, which optimizes via a meta-heuristic genetic algorithm. The TP model demonstrated strong predictive capabilities, achieving a peak Global Performance Index (GPI) of 7.4 in August 2016 and a minimum value of −0.6 in June 2019. These metrics highlight the robust nature of the TP framework; its negative values remained superior to competing models, indicating less pessimistic errors. Finally, the underlying logic of these machine learning systems is clarified using eXplainable Artificial Intelligence (XAI) methods, which validate the integrity of feature importance and offer deeper insights into the cyclical variations of PM2.5 concentrations.

Explore related subjects
Discover the latest articles in related subjects:

Introduction

The inhalation of particulate matter (PM) poses a severe risk to human health, inducing both acute and chronic ailments by compromising the respiratory system. Particulates with an aerodynamic diameter of ≤2.5 µm, classified as PM2.5 , are highly hazardous and are directly linked to respiratory tract damage, lung cancer, and tuberculosis [1, 2]. Even short-term spikes in ambient PM2.5  levels have a destructive impact on public well-being, driving up mortality rates [3-6].

Atmospheric degradation, particularly across Asian territories, is heavily exacerbated by toxic heavy metals embedded within PM2.5  [7]. To quantify these effects globally, Lelieveld et al. [8] simulated PM2.5  distributions via a global atmospheric transport model, pairing their findings with the exposure–response functions established by Burnett et al. [9]. This analytical framework provides the necessary context for estimating worldwide premature mortality stemming from ischemic heart disease (IHD), cerebrovascular disease (CEVD), lung cancer (LC), and chronic obstructive pulmonary disease (COPD) [10].

Over the past few decades, PM2.5  trends have shown highly dynamic patterns of escalation and decline across the globe, with distinct shifts visible in highly industrialized and economically advanced regions [11]. In modeling these trends, Chen et al. [12] integrated various environmental and meteorological predictors—including temperature, wind speed and direction, relative humidity, and vegetative coverage—due to their direct influence on localized surface PM2.5  gradients. Auxiliary spatial metrics, such as the Normalized Difference Vegetation Index (NDVI) used to map forests, water bodies, agricultural fields, urban settlements, and barren terrain, correlate closely with localized emission origins and the atmospheric transport of airborne particles.

A frequent limitation in broad-scale air quality modeling is the scarcity of spatial data from ground-based monitoring networks. To overcome this, researchers leverage satellite observations, which offer the spectral and spatial coverage required for effective PM2.5 forecasting [13]. Aerosol optical depth (AOD) serves as a primary metric for quantifying how effectively aerosols attenuate light within the atmosphere. Because AOD is dictated by the composition, size, and spatial distribution of these particles, combining satellite-derived AOD with meteorological inputs is a standard approach for mapping PM2.5 [14, 15]. Beyond AOD measurements, high-quality reanalysis products are frequently utilized to supply meteorological inputs for PM2.5 models. Prominent examples include the Modern-Era Retrospective Analysis for Research and Applications, Version 2 (MERRA-2) and the European Centre for Medium-Range Weather Forecasts (ECMWF) ERA5 dataset, the latter featuring a spatial resolution of 0.25° × 0.25° [16].

Global land cover inventories (300 m resolution) and MODIS NDVI data (250 m resolution) are also integrated as supplementary inputs for PM2.5 models. The Moderate Resolution Imaging Spectroradiometer (MODIS), operating on the Terra and Aqua satellite platforms, offers several specialized instruments. These include the MODIS Dark Target (DT) and Deep Blue (DB) products, both operating at a 10 km spatial resolution, alongside the MODIS DB Multi-angle Implementation of Atmospheric Correction (MAIAC), which provides a finer 1 km resolution [15, 17]. The utility of MODIS-derived parameters, such as AOD and land surface temperature (LST), in refining the precision of PM2.5 models has been verified by Sekertekin et al. [18] and Xiang et al. [19]. Conversely, traditional spatial interpolation techniques like inverse distance weighting (IDW), when used to fill gaps between ground stations, exhibited a 24% error margin between estimated and observed PM2.5 concentrations across monitoring sites in Delhi [20].

A variety of statistical architectures, such as autoregressive integrated moving averages (ARIMA) and multiple linear regression, have been implemented by Ma et al. [14] to estimate PM2.5 dynamics. To handle data gaps in spatial records, Pu and Yoo [15] engineered a multi-stage modeling framework that quantifies spatial uncertainties to deliver reliable PM2.5 estimations. Because the accuracy of these models is intimately tied to data density, mathematical approaches like the wavelet transform have been deployed to augment dataset completeness [21]. Machine learning (ML) paradigms are uniquely suited for these tasks, as they use specialized training routines to unravel complex, non-linear patterns within data. In environmental science and extreme weather forecasting, ML systems trained on curated benchmark data excel at identifying key feature interactions under diverse atmospheric states [22]. Both statistical formulations and ML frameworks are regularly deployed to assess PM2.5 loads and isolate the localized severity of emissions in vulnerable areas [23].

To optimize the accuracy of time-series meteorological forecasting and map the core characteristics of PM2.5, researchers utilize an array of ML methods. These include Bayesian statistics, standard regression variants, Random Forest (RF), radial basis function long short-term memory (RBF-LSTM) networks, maximum likelihood estimation (MLE), support vector machines (SVM), K-nearest neighbor (KNN) classification, and artificial neural networks (NN) [13, 21, 24]. Furthermore, deep learning (DL) models offer exceptional predictive capabilities when their hyperparameters are properly optimized. Current research also explores how these advanced DL frameworks can be adapted to evaluate particle dispersion problems across broader atmospheric chemistry datasets.

To address the "black box" nature of these models, eXplainable Artificial Intelligence (XAI) has emerged as a vital methodology for evaluating algorithmic transparency and verifying feature reliability [25]. While XAI is increasingly favored for interpreting feature weights and model trustworthiness, certain techniques fail to satisfy ideal theoretical criteria and run into operational constraints. Implementing model-agnostic methods can significantly mitigate algorithmic bias. Nonetheless, many XAI strategies violate core mathematical properties (such as "implementation invariance" or "completeness") and exhibit notable limitations depending on the problem setup. For example, the softmax layer in neural networks generates class weights with probabilistic characteristics, but these do not constitute true mathematical probabilities. In contrast, random forests and random survival forests determine class likelihoods via relative frequencies, calculating exact probabilities based on the actual percentage of distinct sample classes present at each leaf node [26]. Consequently, the fidelity of these class probability distributions is bounded by the volume of training data and the specific ML architecture deployed. Overcoming these limitations remains a major hurdle when designing post hoc interpretability models for opaque systems [27].

XAI techniques are also being actively applied to remote sensing workflows. For instance, Kakogeorgiou et al. [28] applied saliency maps to qualitatively inspect the BigEarthNet and SEN12MS benchmark datasets, which are commonly used to train deep learning models for data imputation. Their evaluation spanned several methods, including Input × Gradient (InputXGrad), Integrated Gradients (IntGrad), Guided Backpropagation (GuidedBackprop), Grad-CAM, Guided Grad-CAM, Occlusion, DeepLift, Lime, and SmoothGrad (SG), ultimately minimizing maximum sensitivity to ensure stable data classification. Similarly, the Shapley Additive Explanations (SHAP) model was used in Israel to interpret diverse spectroradiometric and ecological data (such as the Ecological Spectral Information System and ASD Field Spec bare fiber data) across multiple vegetative scenarios, extracting critical insights regarding leaf area index, nitrogen distribution, and water content [29].

Stadtler et al. [30] leveraged a multi-labeled global air quality benchmark dataset to examine black-box architectures, applying SHAP, Neural Network Activation, Random Forest Activation, and KNN-based error analysis to interpret average tropospheric ozone distributions across distinct intervals. The SHAP framework was likewise chosen by Betancourt et al. [31] and Stirnberg et al. [32] to clarify data contributions and improve algorithmic transparency. These machine learning setups utilized the global AQ-Bench repository and reanalyzed observations (ReObs) from Paris Charles de Gaulle Airport to forecast variations in tropospheric ozone and \text{PM}_1 concentrations. Lastly, the Regression Activation Mapping (RAM) technique was implemented within the Indian wheat belt to assess the step-by-step contribution of individual variables when forecasting satellite-derived vegetative indices and meteorological parameters at a daily temporal resolution.

This investigation undertakes the spatial forecasting of monthly PM2.5 concentrations using satellite observations, supplemented by sparse validation data gathered from monitoring stations distributed across the northern, southern, central, eastern, and western sectors of Singapore. Spatial mapping is achieved through data-driven approaches incorporating aerosol optical depth (AOD) alongside environmental and meteorological predictors. The primary objective of this research is to evaluate multiple ML paradigms for spatial prediction. The secondary objective centers on enhancing spatial PM2.5 forecasting performance by integrating multiple input dimensions and optimizing predictive outputs through ensemble methods and meta-heuristic approaches. Furthermore, this study clarifies the underlying drivers of these predictions by applying advanced XAI methodologies to the various models. The selected ML frameworks—comprising Random Forest regression, the Gradient Boosting regression algorithm, and TP—are trained on AOD data paired with meteorological inputs, including wind dynamics, relative humidity, temperature, and vegetation coverage, to model surface PM2.5. These ML techniques operate on a one-time-step training and prediction framework, successfully generating sequential outputs with high accuracy for subsequent intervals. The architecture is engineered to predict values for every pixel and data point within the study domain, with each output examined via XAI. While recent years have seen extensive exploration of PM2.5 levels using ML, pixel-level spatial forecasting remains an under-researched area. Although several prominent neural network designs have been applied to PM2.5 modeling, they frequently fail to capture peak variations during extreme events [33], and interpreting their internal transparency, uncertainty, and explainability is notoriously difficult. Furthermore, neural networks exhibit a higher propensity to overfit exploratory variables when external factors are introduced [33]. Conversely, ML methodologies are capable of learning high-dimensional, complex representative characteristics [34] while remaining straightforward to interpret. A distinct research gap persists regarding model complexity, interpretability, spatiotemporal dynamics, feature selection and engineering, and the implementation of hybrid or multi-model systems to achieve superior spatial prediction accuracy.

The insights gained from this study, which focuses on various atmospheric pollutants, can assist in formulating mitigation strategies. This objective aligns with efforts to develop inclusive, sustainable, resilient, and safe cities and human settlements. Integrating remote sensing technologies, open-source data products, and statistical methods with XAI-enhanced ML frameworks can substantially increase PM2.5 predictive accuracy and guide optimal air quality management policies. The novelty of this study lies in revealing the capabilities of dynamic ML models that leverage historical records and key parameters to forecast PM2.5 using spatiotemporal satellite datasets and diverse meteorological variables. It also identifies the specific input parameters that strongly dictate PM2.5 forecasts over Singapore based on temporal statistical premises, justifying the requirement for multi-feature inputs and evaluating the internal variations of different tree-based machine learning models with and without optimization routines. The development and deployment of this novel ML framework for mapping spatial PM2.5 distributions and assessing the temporal dynamics of fine particulate matter are guided by the following objectives:

(i) Mapping spatial PM2.5 distributions across Singapore and validating the results through machine learning models.

(ii) Assessing the fidelity of the resulting model predictions via XAI.

Study Area and Data Description

Situated at the southernmost tip of the Malay Peninsula, approximately 137 km north of the Equator, Singapore is a highly urbanized city-state populated by 5.7 million residents and 3 million daily commuters [35-37]. Defined by an equatorial climate with persistent year-round precipitation, elevated humidity, and high temperatures, the study focuses on in situ monitoring stations chosen to capture the spatiotemporal dynamics of Singapore's air quality, as illustrated in Figure 1. The National Environment Agency (NEA) of Singapore systematically records ambient air pollutants, including particulate matter (PM2.5 and PM10). As previously noted, PM2.5 denotes finer particulates with an aerodynamic diameter ≤2.5 µm, which are predominantly linked to adverse health outcomes and long-range atmospheric transport [38, 39]. Conversely, PM10 encompasses larger particles with diameters \le 10\ \mu\text{m} [40]. Because of their larger dimensions, their direct health risks are less severe, yet they remain critical components in meteorological and climate processes [41], forest fire monitoring [42], industrial transport tracking [43], and pollution source apportionment [44].

For this investigation, the scope is restricted to PM2.5 metrics [6] recorded at the northern, southern, eastern, western, and central monitoring stations across Singapore (as delineated in Figure 1). The collected data were compiled into monthly averages spanning 2014–2019, focusing specifically on June, July, August, and September, which demonstrate prolonged rainfall deficits relative to the rest of the year.

Figure 1. Satellite imagery of study area, Singapore.

Figure 1. Satellite imagery of study area, Singapore.

The geographic positioning and cartographic representation of the study domain are illustrated in Figure 1, highlighting the five monitoring stations strategically deployed across the western, northern, eastern, southern, and central zones of Singapore to gather empirical observational data.

Materials and Methods

The operational sequence illustrated in Figure 2 outlines the methodology executed in this research. Spatial datasets from both MODIS and ERA5 were utilized. The Climate Data Store (https://cds.climate.copernicus.eu/, accessed on 24 March 2022) delivers global ERA5 products mapped onto a 0.25° × 0.25° latitude–longitude grid across multiple timescales, representing the fifth generation of the ECMWF atmospheric reanalysis for global climate modeling. For this study, the MODIS platform—encompassing the Terra and Aqua satellites with Collection 6.1, level 2 aerosol optical depth products at a 550 nm wavelength over both land and ocean surfaces [45]—is utilized at a spatial resolution of 10 km.

Figure 2. Systematic methodology detailing the data, models, and procedures used.

Figure 2. Systematic methodology detailing the data, models, and procedures used.

Python served as the primary programming environment for dataset preparation and ML model execution, while spatial configurations were mapped using ArcGIS 10.3. Preprocessing routines were executed to convert the raw data into an optimized input architecture for model training. The preprocessing sequence in this study involved feature variable selection, missing value imputation to bridge spatial gaps using observational data points, and partitioning the datasets into 70% training and 30% testing subsets for algorithmic assimilation.

Inverse distance weighting (IDW) interpolation was applied to the ground-based observations to validate the spatially predicted model outputs; a representative example is shown in Figure 3. During preprocessing, the input metrics were resampled to a coarse resolution of approximately ~0.25° × 0.25° prior to training the machine learning models. The comprehensive methodology and the specific parameters configured for each technique are presented systematically in Figure 2.

Figure 3. Inverse distance weighted interpolated data using observation data for January 2014 of PM2.5 concentration.

Figure 3. Inverse distance weighted interpolated data using observation data for January 2014 of PM2.5 concentration.

 

The machine learning models

Random Forest (RF) regression

RF is a machine learning paradigm used for both classification and continuous regression tasks. It functions as a bootstrapped, tree-based ensemble method utilizing a bagging mechanism that aggregates numerous decision trees to output highly stable predictions. The random forest framework generates an ensemble of decision trees, where each individual tree is formulated from a distinct subset of training data alongside a randomized subset of features at every node split. Sample generation matches the designated tree count, and tree growth is dictated by the optimal split and node configuration of the input parameters within the dataset [46]. This architectural randomness suppresses overfitting and enhances the generalization capability of the model. The performance of the RF algorithm is primarily governed by two hyperparameters: the total number of decision trees and the feature subset size allocated to each node split.

While expanding the number of decision trees improves model accuracy, it simultaneously scales up the computational demands. The number of features considered at each node split is typically determined by taking the square root of the total feature count within the dataset. This feature count parameter can be adjusted to strike an optimal balance between model bias and variance. For continuous regression problems, the random forest model computes the mathematical mean of all individual regression tree predictions. Each constituent regression tree outputs a constant value for the target variable, and the final prediction generated by the overall random forest is the average of these individual tree forecasts. This aggregation technique reduces overall model variance and elevates predictive accuracy.

 

Gradient Boosting (GB) regression

Like RF, GB is an ensemble learning paradigm; however, it constructs its decision tree components sequentially rather than in parallel. This supervised methodology integrates two algorithmic elements—decision trees and additive expansion—to synthesize the final predictive output. The GB framework incorporates a loss function to drive output convergence, minimizing predictive errors by iteratively fitting less complex decision trees [47]. Gradient boosting sequentially appends weak learners to the ensemble, with each new learner designed to minimize the residual errors of its predecessors. The trees are explicitly constructed to counteract the deficiencies of the prior model state. At each step, the algorithm computes the negative gradient of a defined loss function relative to the predictions of the existing ensemble, subsequently fitting a new tree to these negative gradients. A major benefit of gradient boosting is its capacity to accommodate diverse loss functions, such as mean squared error for regression tasks and cross-entropy loss for classification applications. It is also highly robust against missing values and data outliers. The operational performance of gradient boosting relies heavily on several hyperparameters, including the learning rate, the number of sequential trees, the maximum tree depth, and regularization factors. The learning rate dictates the marginal contribution of each successive tree to the final prediction; a lower learning rate typically yields superior performance but requires more iterations to converge. The total tree count defines the structural complexity of the ensemble, where a larger number of trees can boost accuracy at the expense of higher computational costs. Tree depth governs the internal complexity of each weak learner, with excessive depth frequently causing overfitting. Finally, regularization parameters, such as the minimum sample threshold per leaf and the maximum allowable depth, serve as vital guardrails to prevent overfitting.

Extreme Gradient Boosting Regression (XGBoost)

This highly efficient machine learning algorithm implements a Gradient Boosting framework centered on optimized decision-tree structures. This model regularly outperforms alternative architectures when applied to small- to medium-sized datasets. While it requires the configuration of specific hyperparameters, these parameters can be automated to truncate the training process once optimal validation metrics are achieved [48, 49].

 

Tree-Based Pipeline Optimization Tool (TP) Optimization Algorithm

Optimization frameworks are generally classified into exact algorithms and heuristic approaches. Heuristic methods are tailored to specific problems, whereas meta-heuristic frameworks encompass broader strategies like the Genetic Algorithm (GA) [50]. Random Search [51], Grid Search, and the Evolutionary Algorithm (EA) [52] represent standard methodologies for engineering AutoML architectures across diverse fields. TP is an AutoML framework engineered to systematically discover optimal machine learning pipelines using a GA, which is a highly effective approach for navigating complex and irregular search spaces [53-55]. In this study, TP evaluates a multitude of randomly generated candidate pipelines [56]. The pipeline design balances model accuracy against structural complexity. TP automates feature selection, feature engineering, model selection, and hyperparameter optimization. Comprehensive cross-validation is performed across the entire pipeline structure based on its cross-validated performance score [57], such as mean squared error or balanced accuracy.

 

Error metrics

To evaluate the mathematical performance of the regression frameworks and guide model optimization, several diagnostic metrics are calculated. Different validation indicators are suited to specific machine learning tasks; because this study addresses a continuous target estimation problem, model validation is conducted using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and the PM2.5 coefficient of determination [58-60].

(1)

(2)

(3)

(4)

(5)

(6)

As a standard validation metric, MSE determines the average squared residual between estimated and observed coordinates. To quantify the physical deviation of the model outputs relative to empirical targets, RMSE is computed. Meanwhile, relative absolute variations are normalized via MAPE to provide a percentage-based benchmark for cross-model validation [61]. MSE serves as a core diagnostic tool for auditing ML architectures, measuring the mean of the squared boundaries separating predicted points from true observations. Squaring these residuals ensures that larger predictive errors are assigned a disproportionately higher penalty. RMSE offers an alternative metric that maintains sensitivity to the original data scale, whereas MSE does not account for the baseline scale of the response variables. Consequently, RMSE responds more dynamically than MSE to fluctuations across the target values. The R2 index is widely chosen to define the explained variance within regression structures, representing the percentage of target variable fluctuations successfully captured by the model’s predictor array. Higher R2 scores signify a closer mathematical alignment between the model and the empirical dataset.

The R2 metric is a post-estimation coefficient derived from the residual sum of squares. When the residual sum of squares minimizes toward zero, pushing the final R2 toward 1, it demonstrates that the model completely characterizes the target variable's internal variance; conversely, an elevated error sum of squares indicates a poor regression fit.

Zhu et al. [62] introduced the Global Performance Index (GPI) as an objective framework for ranking competing machine learning configurations. The GPI aggregates multiple statistical indicators into a singular score to reveal the optimal model setup. The algebraic definition of the GPI incorporates a fixed multiplier αk, set to 1 for metrics where lower values are optimal (such as MSE, RMSE, and MAPE) and assigned -1 for R2. The normalized value of each statistical parameter is expressed as nik, with mk representing the median value of the normalized indicator j across the entire array of evaluated models (where k = 1, 2, 3, and 4). Higher GPI outputs reflect superior model efficiency, and the specific framework that maximizes the GPI at a chosen observation post is identified as possessing the highest predictive fidelity.

XAI methods

The SHapley Additive exPlanations (SHAP) method is heavily utilized within explainable artificial intelligence to clarify feature importance in ML structures. Because it is model-agnostic, it can be seamlessly adapted to diverse algorithmic architectures. This technique is rooted in cooperative game theory, which enables it to evaluate the mathematically optimal contribution of individual features within a multi-variable system [63, 64]. For tree-based architectures, SHAP values can be computed with high computational efficiency using Tree SHAP, a specialized version optimized for tree ensembles [64].

Singh et al. [19] verified the utility of SHAP for mapping feature importance across multiple machine learning frameworks by sequentially isolating individual variables and tracking the corresponding shifts in their overall contribution to the model's outputs. The SHAP methodology encompasses both global and local interpretability tools. The global interpretation provides an overarching summary of feature importance across the entire dataset, whereas the local explanation explains the specific feature dynamics driving individual predictions.

Local explanation strategies can operate independently of model type and are highly effective for decoding decision-tree models [65]. However, these approaches can become computationally intensive or exhibit sampling variance when deployed on datasets featuring an extensive array of input variables. In summary, SHAP represents a robust and widely applied XAI methodology that elucidates feature contributions in machine learning models, delivering both global insights and localized explanations to aid in interpreting individual model predictions.

Results and Discussion

The forecasting of PM2.5 concentrations incorporates multiple meteorological inputs—specifically NDVI, relative humidity, temperature, and U-wind components—integrated alongside Aerosol Optical Depth (AOD) data. Adhering to the systematic architecture detailed in the methodology section and illustrated in Figure 2, the resulting predictive performance is analyzed and reviewed in the following subsections. Predictions are generated through various ML formulations, spanning multiple machine learning techniques, though this analysis concentrates explicitly on regression outcomes. Additionally, statistical diagnostics including MSE, RMSE, R2  score, MAE, and MAPE are paired with XAI implementations (leveraging SHAP as a contemporary global interpreter algorithm) to execute comprehensive inference analysis.

Performance comparison with RF and GB models

The subsequent outputs are generated by executing the RF and GB regression architectures, evaluated using MSE, RMSE, and R2 metrics. The specific operational parameters configured for these models are detailed in Table 1. An analysis of the regression models' performance is detailed below.

Table 1. Parameters used to perform Random Forest and Gradient Boosting regression algorithms.

Parameters

Gradient Boosting

Random Forest

n_estimator

1200

10

criterion

friedman_mse

mse

max_depth

4

None

min_sample_split

2

1

min_samples_leaf

1

1

min_density

None

0.1

learning_rate

0.01

None

random_state

3

None

subsample

0.5

None

Out of Bag(OOB)_score

None

bool

n_jobs

None

1

 

The distinct hyperparameter configurations and operational settings selected to initialize both the Random Forest and Gradient Boosting regression models are compiled systematically in Table 1.

The Random Forest regression framework achieved its optimal performance on the test partition during June 2019, recording its lowest MSE and RMSE values at 0.01. As shown in Table 2, the maximum errors were encountered in August 2015, which reached an MSE and RMSE value of 0.63 within the September test dataset. The highest R^2 values were achieved in August 2014, reaching 0.89, whereas the lowest test data scores were observed in June 2017 and July 2019, dropping to 0.26. The corresponding MAE and MAPE values are compiled in Tables 3 and 4. The minimum MAE values for the training datasets ranged from 0.01 to 0.04, while the maximum training values fell between 0.1 and 0.13 during the months of June through September across the 2014 to 2019 timeframe. According to Table 4, the lowest recorded MAPE values spanned 0.0003 to 0.0007, whereas the highest metrics ranged from 0.0014 to 0.0023.

Table 2. MSE and RMSE value for test and training datasets using RF and GB models for June–September (2014–2019).

RF RMSE

 

 

 

 

 

 

 

RF MSE

 

 

 

 

 

 

 

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

 

September

 

August

 

July

 

June

 

September

 

August

 

July

 

June

0.33

0.17

0.24

0.16

0.28

0.15

0.49

0.2

0.11

0.03

0.05

0.02

0.07

0.02

0.2

0.04

0.79

0.27

0.5

0.23

0.4

0.29

0.31

0.2

0.63

0.07

0.05

0.25

0.16

0.08

0.04

0.1

0.18

0.22

0.7

0.31

0.27

0.23

0.27

0.22

0.03

0.05

0.49

0.09

0.07

0.05

0.07

0.05

0.29

0.25

0.22

0.16

0.15

0.14

0.22

0.21

0.08

0.06

0.05

0.02

0.02

0.01

0.04

0.04

0.24

0.1

0.37

0.17

0.54

0.2

0.44

0.18

0.06

0.01

0.14

0.03

0.3

0.04

0.19

0.03

0.34

0.15

0.13

0.06

0.12

0.04

0.12

0.07

0.12

0.02

0.01

0.003

0.01

0.001

0.01

0.004

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GB

0.42

0.007

0.25

0.01

0.3

0.005

0.006

0.56

0.18

5.65

0.06

0.0002

0.09

2.77

0.32

4.48

0.71

0.02

0.45

0.02

0.76

0.05

0.01

0.46

0.51

0.0005

0.2

0.0006

0.58

0.002

0.0002

0.21

0.28

0.02

0.04

0.89

0.007

0.52

0.006

0.22

0.08

0.0007

0.8

0.001

0.27

5.02

4.006

0.04

0.41

0.01

0.37

0.01

0.21

0.003

0.01

0.33

0.17

0.0002

0.13

0.0002

0.04

1.57

0.0002

0.11

0.29

0.01

0.32

0.01

0.58

0.06

0.006

0.382

0.08

0.0001

0.1

0.0001

0.33

0.003

4.65

0.01

0.34

0.07

0.14

0.009

0.1

0.002

0.16

0.004

0.11

0.006

0.01

9.73

0.01

5.43

0.02

1.75

 

Table 3. R2 and MAE values for test and training datasets using RF and GB regression models for June–September (2014–2019).

RF MAE

 

 

 

 

 

 

 

RF R2

 

 

 

 

 

 

 

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

Test

Training

 

September

 

August

 

July

 

June

 

September

 

August

 

July

 

June

0.21

0.1

0.13

0.08

0.14

0.08

0.24

0.1

0.78

0.95

0.89

0.96

0.82

0.95

0.65

0.95

0.36

0.12

0.27

0.1

0.22

0.11

0.17

0.07

0.34

0.94

0.62

0.94

0.81

0.93

0.86

0.95

0.11

0.08

0.33

0.13

0.15

0.08

0.14

0.09

0.87

0.92

0.54

0.93

0.88

0.94

0.8

0.93

0.15

0.07

0.1

0.04

0.06

0.03

0.1

0.05

0.78

0.87

0.55

0.88

0.54

0.86

0.65

0.86

0.14

0.04

0.19

0.08

0.26

0.09

0.18

0.07

0.66

0.95

0.74

0.94

0.6

0.92

0.28

0.91

0.17

0.06

0.06

0.03

0.05

0.01

0.07

0.03

0.74

0.95

0.84

0.96

0.26

0.94

0.35

0.92

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GB

0.21

0.08

0.15

0.06

0.17

0.06

0.24

0.07

0.65

0.99

0.89

0.99

0.79

0.99

0.54

0.99

0.37

0.09

0.27

0.08

0.29

0.08

0.18

0.06

0.46

0.99

0.7

0.99

0.34

0.99

0.7

0.99

0.14

0.06

0.35

0.1

0.18

0.07

0.16

0.06

0.68

0.99

0.25

0.99

0.54

0.99

0.87

0.99

0.15

0.05

0.12

0.04

0.07

0.02

0.12

0.03

0.57

0.99

−0.18

0.99

0.11

0.99

0.225

0.99

0.13

0.03

0.2

0.05

0.28

0.08

0.2

0.05

0.52

0.99

0.8

0.99

0.55

0.99

0.45

0.99

0.17

0.04

0.07

0.02

0.04

0.01

0.08

0.02

0.75

0.99

0.82

0.99

0.53

0.99

−0.01

0.99

 

Table 4. MAPE value for test and training datasets using RF and GB regression models for June–September (2014–2019).

RF MAPE

RF MAPE

RF MAPE

RF MAPE

RF MAPE

RF MAPE

RF MAPE

RF MAPE

Test

Training

Test

Training

Test

Training

Test

Training

September

 

August

 

July

 

June

 

0.0026

0.0012

0.002

0.0015

0.0026

0.0014

0.0047

0.002

0.0026

0.0009

0.004

0.0015

0.0048

0.0023

0.0036

0.0016

0.002

0.0014

0.0057

0.0022

0.003

0.0016

0.0028

0.0017

0.0028

0.0013

0.0022

0.001

0.0013

0.0007

0.0023

0.001

0.0022

0.0007

0.0032

0.0014

0.0044

0.0015

0.0036

0.0014

0.0017

0.0006

0.001

0.0004

0.0009

0.0003

0.0017

0.0007

GB

 

 

 

 

 

 

 

0.0027

0.001

0.0029

0.0011

0.003

0.0011

0.0046

0.0014

0.0027

0.0006

0.0039

0.0012

0.0061

0.0017

0.0038

0.0013

0.0025

0.001

0.0061

0.0018

0.0036

0.0013

0.003

0.0013

0.0028

0.0009

0.0027

0.0008

0.0017

0.0005

0.0028

0.0008

0.0022

0.0005

0.0033

0.0009

0.0047

0.0014

0.0039

0.0011

0.0017

0.0004

0.0011

0.0003

0.0008

0.0002

0.0019

0.0005

 

An evaluation of the Gradient Boosting (GB) regression results on the test dataset reveals that the highest Mean Squared Error (MSE) reached 4.65 in June 2018, whereas the lowest dropped to 0.0002 in June 2017. Peak Root Mean Squared Error (RMSE) values were reached in August 2016 for the training set (0.89) and in July 2015 for the test set (0.76), as detailed in Table 2. The minimum test set RMSE was recorded at 0.006 in June 2014. Across all analyzed months and years, the R2 scores for the training dataset appeared excessively high, consistently remaining around 0.99. For the test dataset, the maximum R^2 achieved was 0.89 in August 2014, while the lowest fell to −0.01 in June 2019, according to Table 3.

As detailed in Tables 4 and 5, the training data for the June–September periods from 2014 to 2019 showed minimum Mean Absolute Error (MAE) values of 0.02, 0.01, 0.02, and 0.03, alongside corresponding minimum Mean Absolute Percentage Error (MAPE) values of 0.0005, 0.0002, 0.0003, and 0.0004. Conversely, the peak training values reached 0.07, 0.08, 0.10, and 0.09 for MAE, and 0.0014, 0.0017, 0.0018, and 0.0010 for MAPE. The lowest variation in absolute error for the training set occurred in July 2019; here, the Random Forest (RF) model recorded an MAE of 0.01 and a MAPE of 0.0003, while the GB model produced an MAE of 0.01 and a MAPE of 0.0018. The highest error variation was observed in August 2019, where the RF model yielded an MAE of 0.13 and a MAPE of 0.0023, while the GB model noted an MAE of 0.01 in July 2019 and a MAPE of 0.0018 in July 2019.

Table 5. Assessment of error metrics (MSE, RMSE, R2, MAE, and MAPE) across both test and training sets for the TP model during the summer months (June–September) from 2014 to 2019.

Year

RMSE (Test)

 

 

 

RMSE (Training)

 

 

 

MSE (Test)

 

 

 

MSE (Training)

 

 

Month

Sep

Aug

Jul

Jun

Sep

Aug

Jul

Jun

Sep

Aug

Jul

Jun

Sep

Aug

Jul

Jun

2014

0.62

0.53

0.55

0.55

0.38

0.38

0.46

0.52

0.38

0.28

0.30

0.30

0.15

0.14

0.21

0.27

2015

0.74

0.57

0.76

0.61

0.82

0.72

0.76

0.45

0.54

0.32

0.58

0.38

0.68

0.51

0.57

0.20

2016

0.52

1.25

0.72

0.46

0.58

1.00

0.51

0.63

0.27

1.57

0.51

0.21

0.34

0.99

0.26

0.40

2017

0.61

0.28

0.19

0.27

0.60

0.35

0.31

0.41

0.38

0.08

0.04

0.07

0.35

0.12

0.10

0.17

2018

0.34

0.53

0.77

0.67

0.31

0.53

0.57

0.54

0.11

0.28

0.59

0.45

0.10

0.28

0.32

0.29

2019

0.49

0.30

0.17

0.18

0.46

0.23

0.14

0.18

0.24

0.09

0.03

0.03

0.21

0.05

0.02

0.03

Year

 

 

 

MAE (Test)

 

 

 

MAE (Training)

 

 

 

R² (Test)

 

 

 

R² (Training)

Month

Sep

Aug

Jul

Jun

Sep

Aug

Jul

Jun

Sep

Aug

Jul

Jun

Sep

Aug

Jul

Jun

2014

0.42

0.32

0.37

0.35

0.24

0.21

0.25

0.27

0.27

0.52

0.23

0.52

0.78

0.79

0.59

0.68

2015

0.40

0.38

0.56

0.45

0.31

0.32

0.38

0.19

0.41

0.49

0.31

0.45

0.62

0.54

0.59

0.80

2016

0.31

0.88

0.57

0.30

0.24

0.48

0.19

0.26

−0.16

−0.59

0.03

0.40

0.53

0.37

0.79

0.56

2017

0.41

0.16

0.11

0.15

0.28

0.13

0.11

0.13

0.04

0.24

0.18

0.42

0.14

0.60

0.49

0.63

2018

0.20

0.36

0.42

0.33

0.15

0.27

0.26

0.23

0.18

0.49

0.09

−1.05

0.60

0.52

0.52

0.34

2019

0.26

0.20

0.08

0.11

0.19

0.12

0.05

0.09

0.42

0.10

−0.48

−0.25

0.60

0.53

0.30

0.55

Year

MAPE (Test)

 

 

 

MAPE (Training)

 

 

Month

Sep

Aug

Jul

Jun

Sep

Aug

Jul

Jun

2014

0.0053

0.0060

0.0066

0.0068

0.0030

0.0039

0.0045

0.00529

2015

0.0029

0.0054

0.0116

0.0095

0.0023

0.0046

0.0078

0.0040

2016

0.0054

0.0148

0.0113

0.0055

0.0042

0.0080

0.0036

0.0047

2017

0.0074

0.0036

0.0023

0.0032

0.0052

0.0029

0.0022

0.0028

2018

0.0031

0.0059

0.0070

0.0064

0.0024

0.0044

0.0044

0.0045

2019

0.0025

0.0030

0.0014

0.0027

0.0018

0.0017

0.0010

0.0021

 

Comparing the performance of the two primary regression techniques highlighted the strong capabilities of the RF model in forecasting PM2.5 concentrations. Regarding MAPE, the lowest error of 0.0002 was achieved by the GB model, whereas the highest error of 0.0007 belonged to the RF model. The maximum percentage error reached 0.001 for GB, while the lowest boundary for RF regression was 0.0023. Even though the RF model achieved lower overall accuracy compared to the GB approach, its error variation was highly restricted, pointing to greater predictive consistency. In contrast, the GB model demonstrated a tendency to overestimate, as shown by its high R2 performance on the training data. Furthermore, an investigation into training error fluctuations indicated that RF hit its minimum error in July 2019 (MAE = 0.01, MAPE = 0.0003), while GB similarly minimized its error in July 2019 (MAE = 0.01, MAPE = 0.0002). The most pronounced error variance occurred in August 2019 for the RF model (MAE = 0.13, MAPE = 0.0023) and in July 2019 for the GB model (MAE = 0.01, MAPE = 0.0018).

 

Comparative analysis using TP (AutoML) meta-heuristic approach using genetic algorithm

By utilizing diverse time blocks as input variables, the automated TP architecture produces unpruned regression models [66]. A five-fold cross-validation score is established via an optimization pipeline consisting of five genetic iterations designed to minimize the negative mean absolute error. Based on the ideal configurations selected by TP, ensemble tree-based regression methodologies are chosen as the primary frameworks for interpreting the dataset.

The optimal pipelines are constructed by TP, with each iteration utilizing unique regression algorithms and tailored hyperparameter settings. An analysis of these automated configurations indicates that the maximum MSE values occurred in August 2016, reaching 0.99 for training sets and 1.57 for testing sets. In contrast, the lowest test-set MSE dropped to 0.0291 in July 2019, as illustrated in Table 5. The highest RMSE values for both subsets were similarly concentrated in August 2016, yielding 1.2535 for training and 0.9952 for testing. The minimum training RMSE was 0.18 in June 2019, while the minimum testing RMSE reached 0.17 in July 2019.

The training dataset yielded stronger R2 values, maximizing at 0.52 in June 2014 and minimizing at 0.144 in September 2017. For the test dataset, the highest R2 calculation was 0.80 in June 2014, and the lowest was −1.04981 in June 2018. The highest MAE scores for both the training (0.48) and test (0.88) sets occurred concurrently in August 2016. Conversely, MAPE metrics declined in June and July of 2019, reaching 0.11 for the test data and 0.05 for the training data. The maximum MAPE results were documented in August 2016, with training and testing values at 0.008 and 0.014, respectively, whereas the lowest values were observed in July 2019 (0.0023 for training) and July 2017 (0.0023 for testing). These four core error metrics (MSE, RMSE, MAE, and MAPE) served as the foundation for interpreting the TP model's success. Implementing an XGB Regressor configured with an alpha of 0.014, a maximum depth of 3, a minimum child weight of 3, and 100 estimators highlights that the PM2.5 distributions during August 2016 deviate significantly from all other timeframes.

While standard error metrics reveal fluctuating accuracy levels across different models and months, the Global Performance Index (GPI) serves as an effective tool for contextualizing these changes. It reveals how shifting weather variables and seasonal trends influence overall predictive accuracy. Localized PM2.5 dynamics are heavily governed by temporal shifts in weather conditions, causing model performance to vary on a monthly and annual basis alongside typical data irregularities.

As illustrated by the GPI values in Figure 4, the RF algorithm achieved its highest predictive performance in August 2016 and its lowest in August 2019. For the GB framework, the maximum predicted performance occurred in August 2016, while the minimum was recorded in September 2018. The overall spectrum of these projections shifts drastically depending on the combination of the model and the specific month. Certain configurations exhibit broad variability (such as GB in August 2016), whereas others remain highly confined (such as RF in June 2019). The performance metrics of the TP framework underscore its shifting capacity across different eras, showing wide mathematical variance from year to year. Model effectiveness was summarized using these GPI indices; the peak GPI for the TP configuration reached 7.4 in August 2016, while its lowest point was −0.6 in June 2019. Overall, the TP system displays healthy performance, with its negative GPI scores proving less severe than those generated by alternative models.

Figure 4. Annual trends and monthly fluctuations of the Global Performance Index (GPI) values.

Figure 4. Annual trends and monthly fluctuations of the Global Performance Index (GPI) values.

 

Global interpretability and local interpretability using SHAP model

Global interpretability through SHAP values maps out the explicit contributions of individual environmental predictors to the target variable. The underlying architectures utilize baseline regression frameworks integrated with a tree-based explainer to derive these SHAP values. Following the test set results from July 2019 and August 2019—which yielded mean accuracy metrics of 0.35 for RF and 0.68 for GB—a targeted evaluation explored the dependencies between environmental features and PM2.5 concentrations. The assessments showed that RH in July 2019 and UWIND in August 2019 represented the primary drivers for forecasting PM2.5 across both the RF and GB configurations. In the southern region specifically, both regression models yielded prominent positive SHAP scores above 0.6 for UWIND within the August 2019 dataset, accounting for nearly 66.30% of the total variance.

Furthermore, because Aerosol Optical Depth (AOD) is closely linked to PM2.5 behavior, the interactions between AOD and its governing features were evaluated. Ambient temperatures above 300 K, RH levels spanning ~76 to 78, and a UWIND velocity near −1.0 m/s were the most critical drivers for both RF and GB models during July and August of 2019.

Because fine particulate matter PM2.5 is a critical atmospheric threat, mapping its fluctuations helps uncover the mechanisms governing its distribution, providing essential data for environmental policy design. The SHAP approach was applied to clarify feature importance for the optimal pipeline results generated by the automated TP model during PM2.5 estimation. These SHAP metrics determine the precise weight each variable exerts on the final output, and Figure 5 illustrates the distribution of these values alongside overall feature rankings. Beeswarm visualizations display the continuous distribution of variables across distinct categories alongside their SHAP values, clarifying data density, underlying patterns, or anomalies within specific groups. Due to data gaps, the Normalized Difference Vegetation Index (NDVI)—which evaluates live green canopy via satellite observations—showed low importance across all time blocks. This implies that the model is less sensitive to changes in vegetative cover than it is to atmospheric trends or human-driven activities.

Figure 5. SHAP value distributions for the RF Tree Explainer visualized via beeswarm plots across feature importance tiers: (a) June–September for the 2014–2016 timeframe, and (b) June–September for the 2017–2019 timeframe. The gradient color scheme shifting from red to blue maps the model's output values from high to low.

Figure 5. SHAP value distributions for the RF Tree Explainer visualized via beeswarm plots across feature importance tiers: (a) June–September for the 2014–2016 timeframe, and (b) June–September for the 2017–2019 timeframe. The gradient color scheme shifting from red to blue maps the model's output values from high to low.

The zonal wind velocity component, UWIND (which captures east–west wind vectors), achieved the highest mean SHAP value in 2016, establishing it as the primary predictive feature for determining PM2.5 concentrations during that annual cycle. This prominence is likely attributable to localized atmospheric circulation patterns or other dominant environmental drivers unique to 2016. Conversely, relative humidity (RH, representing the atmospheric water vapor content relative to saturation) emerged as a critical feature across nearly all months of 2015, with the exception of June. This variation may stem from fluctuating meteorological configurations or alternative environmental inputs modifying regional moisture profiles during that specific year.

The mean SHAP value plot presented in Figure 6 illustrates a method for consolidating SHAP measurements across all observations to compute the aggregate influence of each variable on the system's output. The accompanying histogram portrays the importance distribution of categorical features, organized from maximum to minimum impact. According to the bar chart, UWIND exhibited the maximum mean SHAP value relative to all other variables, confirming its status as the most critical overall determinant for forecasting PM2.5 levels. This pattern might be explained by a robust correlation between UWIND and other critical predictive features within the model architecture, or because it captures fundamental characteristics of atmospheric stability and air quality that the model is tasked with predicting. Collectively, these observations clarify the underlying mechanisms driving PM2.5 variability and underscore the necessity of integrating diverse environmental metrics when simulating particulate concentrations.

Figure 6. Aggregate distribution of SHAP values for the RF Tree-based explainer stratified by feature importance tiers: (a) June–September for the 2014–2016 interval, and (b) June–September for the 2017–2019 interval. The graphic maps the distribution of feature importance metrics in a high-to-low hierarchical sequence.

Figure 6. Aggregate distribution of SHAP values for the RF Tree-based explainer stratified by feature importance tiers: (a) June–September for the 2014–2016 interval, and (b) June–September for the 2017–2019 interval. The graphic maps the distribution of feature importance metrics in a high-to-low hierarchical sequence.

The global interpretation is illustrated via the heatmap visualizations in Figures 7a and 7b. These heatmaps serve to depict the linearized density and continuous distribution of the dataset, with numerical values mapped onto colored lines. During August 2016, UWIND exhibited the maximum feature importance, corresponding to the highest MAE and MAPE metrics derived from the XGB regression framework. In contrast, RH emerged as the dominant feature in Figure 5, matching the lowest MAPE metric yielded by the XGB regressor in July 2019. Figure 7 demonstrates that the inclusion of the RH variable in July 2019 enhanced the predictive accuracy for over 150 individual observations, accounting for an explanatory contribution exceeding 37% with SHAP values of 0.2. Ambient temperature registered as the second most influential factor (5–6%), with SHAP values ranging between 20 and 25. The remaining environmental features generated negligible impacts, with SHAP values hovering near 0. Consequently, the SHAP value distributions and global heatmap explanations clarify the inner workings of the model and underscore the varying importance of specific features when forecasting PM2.5 levels. The investigation confirms that UWIND was the primary predictive driver in August 2016, whereas RH assumed the most prominent role in July 2019.

Figure 7. Paired heatmap visualizations representing distinct temporal windows: (a) June–September (2014–2016) and (b) June–September (2017–2019). The diagrams illustrate SHAP value distributions for the RF Tree-based explainer and relative feature importance using a color gradient from high to low impact; the model output is presented along the upper x-axis in log odds, the y-axis ranks features by their relative importance, and observations are grouped via functional clustering.

Figure 7. Paired heatmap visualizations representing distinct temporal windows: (a) June–September (2014–2016) and (b) June–September (2017–2019). The diagrams illustrate SHAP value distributions for the RF Tree-based explainer and relative feature importance using a color gradient from high to low impact; the model output is presented along the upper x-axis in log odds, the y-axis ranks features by their relative importance, and observations are grouped via functional clustering.

The research also assessed various explanation metrics applied to RF, GB, and XGBoost architectures using the datasets from July and August 2019. The Random explainer produced larger explanation errors across all tree-based regression frameworks, though its performance improved when positive model outputs were omitted . Conversely, the Partition, Permutation Part, Tree, Exact, and Permutation explainers minimized error rates when clarifying the RF model. Furthermore, the Tree, Partition, and Permutation Part explainers yielded fewer explanation errors when evaluated against the July and August 2019 data.

Spatio-temporal interpretation using RF and GF prediction

The spatio-temporal variations in PM2.5 estimated by the RF and GF algorithms are visualized in Figure 8. High and low concentrations of PM2.5 are quantified in \mu\text{g m}^{-3}. To analyze these spatial and temporal dynamics, unoptimized algorithms were selected based on achieving the peak performance score on the GPI. August 2016 displayed elevated concentrations under the RF model relative to the other time periods examined. According to the monthly spatial variations projected by the RF model, the maximum spatial density variation was concentrated within central Singapore. Compared to alternative months in 2016, August exhibited the most pronounced fluctuations in PM2.5 loading, with elevated concentrations in the northern territory and the lowest values localized in eastern Singapore. XAI diagnostics revealed that UWIND exerted a dominant control among all variables across the entirety of 2016; furthermore, RH and TEMP also provided substantial predictive contributions, though their variance intensities differed.

Figure 8. Spatial mapping of PM2.5 concentration forecasts generated via RF regression for the June–September intervals spanning 2014 to 2019.

Figure 8. Spatial mapping of PM2.5 concentration forecasts generated via RF regression for the June–September intervals spanning 2014 to 2019.

By comparison, Chen et al. [67] determined that overall R^2 values hovered around 0.88 when utilizing an RF architecture across various sites in China, while Hu et al. [68] noted that daily PM2.5 fluctuations modeled via RF techniques achieved R^2 scores of 0.80 within the United States. In this study centered on Singapore, the aggregate temporal mean R^2 values reached approximately 0.65. The divergence among these statistical values is likely attributable to highly dynamic shifts in local meteorological variables and topographic layouts.

Insights, strengths and limitations

To provide a transparent overview of how machine learning models shift their predictions regarding PM2.5 concentrations, several core themes are emphasized below:

  • Machine Learning Algorithm Architecture: The underlying structural design of the machine learning models (RF, GB, and TP) directly dictates the internal prediction mechanisms and the resulting spatial estimations. For example, as an ensemble technique, RF aggregates outputs from multiple independent decision trees; GB sequentially constructs an ensemble of decision trees where each subsequent model minimizes the residuals of its predecessor; TP functions as an evolutionary optimization algorithm tailored for hyperparameter refinement and model/feature selection. These frameworks are capable of capturing highly intricate interactions within the datasets.

  • Incorporation of External Explanatory Features: Variables such as NDVI, temperature, wind velocity, and humidity directly govern the dispersion, chemical transformation, and localized pooling of particulate matter in the lower atmosphere. Consequently, these inputs provide substantial explanatory power regarding the spatial and temporal dynamics of PM concentrations.

  • Necessity of Spatio-Temporal Modeling and Data-Driven Inference: Optimal machine learning configurations offer clear insights into how effectively PM2.5 concentrations are mapped across different geographic locations within the study zone. Implementing time-series and spatial forecasting helps untangle the cyclical, monthly characteristics of PM2.5 variations while factoring in the compounding effects of weather variables.

In the XAI interpretability workflows applied to the RF model, fluctuations in meteorological inputs like UWIND and RH strongly governed the PM2.5 predictions, a result of dynamic weather shifts and seasonal modifications [69]. When examining annual fluctuations, the models displayed considerable variance in their overall GPI scores, particularly across the 2014, 2015, 2016, 2017, and 2018 cycles.

Among the various machine learning explainers tested, tree-based explainers delivered superior predictive diagnostics, demonstrating that tree-structured architectures are highly effective at simulating PM2.5 dynamics. These tree models maintained elevated predictive accuracy even when confronted with missing spatial pixel data across random locations. Nevertheless, the spatial and temporal resolutions of the available datasets pose a clear limitation that can impact the precision of the final outputs. Despite this constraint, the analytical framework developed here offers valuable decision-support tools for environmental policy and air quality management. For context, Ji et al. [34] leveraged RF models to evaluate how various air pollutants, including PM2.5, affected pediatric respiratory disease rates in Taizhou, China; RF emerged as the top-performing framework in [34], matching the conclusions of this study. Additionally, Gu et al. [33] deployed a hybrid model merging an interpretable architecture with a deep neural network, yielding an overall RMSE of 15.0835. Bai et al. [70] utilized an LSTM framework to achieve RMSE values between 13 and 14 for PM2.5 modeling in China; in comparison, the predictions in this study achieved an RMSE of 0.49 for RF and 0.77 for TP, representing the top metrics among the time-series models evaluated.

Conclusion

Analyzing PM2.5 variations through regression frameworks and XAI techniques has clarified critical predictive features and their relative roles in modeling particulate concentrations. The combination of SHAP value distributions and global explanations provides a robust methodology for mapping PM2.5 levels while ensuring the interpretability and transparency of atmospheric models. Evaluating feature contributions highlights the critical need for comprehensive, adaptive frameworks in air quality modeling. In this research, different variables assumed primary importance across different timeframes to optimize PM2.5 predictions. Although these simulations are subject to data gaps and structural uncertainties (such as sensor noise and coarse resolutions), the feature contribution analysis proved highly robust and logically sound under direct verification. The Tree explainer demonstrated superior performance compared to alternative SHAP explainers when applied to RF, GB, and XGBoost models. Furthermore, the RF model significantly outperformed the GB model regarding both MAE and MAPE metrics.

When comparing the unoptimized baselines of RF and GB, the RF model demonstrated strong capabilities in predicting PM2.5 concentrations, whereas the GB model tended to produce overestimated predictions. Following hyperparameter tuning of the XGB regressor and an optimization process using the TP model's genetic iterations, the PM2.5 concentrations for July 2019 were modeled with higher accuracy relative to other periods based on a joint evaluation of MSE, RMSE, MAE, and MAPE. These outcomes suggest that the XGBoost regression architecture is a highly effective tool for simulating PM2.5 loading, yielding minimized MAE and MAPE scores compared to alternative frameworks, with RH acting as a critical parameter for enhancing model accuracy. Global SHAP analysis shed light on the relative weight of input features for both the RF and GB frameworks; UWIND emerged as the definitive driver for PM2.5 tracking in August 2016, whereas RH took precedence in July 2019. This shift demonstrates that feature importance varies across distinct seasons and environmental settings, underscoring the model's sensitivity to micro-climatic dependencies. Ultimately, regression models coupled with XAI tools are vital for forecasting and diagnosing PM2.5 distributions, offering crucial analytical support for regulatory frameworks and air quality management strategies.

Acknowledgements

The authors would like to acknowledge the National Institute of Technology Rourkela for providing lab facilities. The authors are thankful to Yuming Guo, Monash University, for his valuable suggestions and stimulating scientific discussions. We are also thankful to the National Environmental Agency, Singapore, for providing the in situ observations of PM2.5 over Singapore.

Conflict of interest

None

Financial support

None

Ethics statement

None

References

Chae S, Shin J, Kwon S, Lee S, Kang S, Lee D. PM10 and PM2.5 real-time prediction models using an interpolated convolutional neural network. Sci Rep. 2021;11:11952.
https://doi.org/10.1038/s41598-021-91253-9
Jat R, Gurjar BR. Contribution of different source sectors and source regions of Indo-Gangetic Plain in India to PM2.5 pollution and its short-term health impacts during peak polluted winter. Atmos Pollut Res. 2021;12:89-100.
Naghan DJ, Neisi A, Goudarzi G, Dastoorpoor M, Fadaei A, Angali KA. Estimation of the effects PM2.5, NO2, O3 pollutants on the health of Shahrekord residents based on AirQ+ software during (2012-2018). Toxicol Rep. 2022;9:842-7.
https://doi.org/10.1016/j.toxrep.2022.03.045
Bai H, Shi Y, Seong M, Gao W, Li Y. Influence of spatial resolution on satellite-based PM2.5 estimation: Implications for health assessment. Remote Sens. 2022;14:2933.
Balasubramanian R. Comprehensive characterization of PM2.5 aerosols in Singapore. J Geophys Res. 2003;108:4523.
Li Y, Zhu Y, Tan JYK, Teo HC, Law A, Qu D, et al. The impact of COVID-19 on NO2 and PM2.5 levels and their associations with human mobility patterns in Singapore. Ann GIS. 2022;28:515-31.
Fang G, Wu Y, Huang S, Rau J. Review of atmospheric metallic elements in Asia during 2000-2004. Atmos Environ. 2005;39:3003-13.
Lelieveld J, Evans JS, Fnais M, Giannadaki D, Pozzer A. The contribution of outdoor air pollution sources to premature mortality on a global scale. Nature. 2015;525:367-71.
Burnett RT, Arden Pope C, Ezzati M, Olives C, Lim SS, Mehta S, et al. An integrated risk function for estimating the global burden of disease attributable to ambient fine particulate matter exposure. Environ Health Perspect. 2014;122:397-403.
Guo H, Kota SH, Chen K, Sahu SK, Hu J, Ying Q, et al. Source contributions and potential reductions to health effects of particulate matter in India. Atmos Chem Phys. 2018;18:15219-29.
Zhu W, Wang M, Zhang B. The effects of urbanization on PM2.5 concentrations in China's Yangtze River Economic Belt: New evidence from spatial econometric analysis. J Clean Prod. 2019;239:118065.
Chen G, Li S, Knibbs LD, Hamm NAS, Cao W, Li T, et al. A machine learning method to estimate PM2.5 concentrations across China with remote sensing, meteorological and land use information. Sci Total Environ. 2018;636:52-60.
Chen YC, Li DC. Selection of key features for PM2.5 prediction using a wavelet model and RBF-LSTM. Appl Intell. 2021;51:2534-55.
Ma Z, Dey S, Christopher S, Liu R, Bi J, Balyan P, et al. A review of statistical methods used for developing large-scale and long-term PM2.5 models from satellite data. Remote Sens Environ. 2022;269:112827.
Pu Q, Yoo EH. Ground PM2.5 prediction using imputed MAIAC AOD with uncertainty quantification. Environ Pollut. 2021;274:116574.
Mabasa B, Lysko MD, Moloi SJ. Validating hourly satellite based and reanalysis based global horizontal irradiance datasets over South Africa. Geomatics. 2021;1:429-49.
Gupta P, Levy RC, Mattoo S, Remer LA, Munchak LA. A surface reflectance scheme for retrieving aerosol optical depth over urban surfaces in MODIS Dark Target retrieval algorithm. Atmos Meas Tech. 2016;9:3293-308.
Sekertekin A, Inyurt S, Yaprak S. Pre-seismic ionospheric anomalies and spatio-temporal analyses of MODIS land surface temperature and aerosols associated with Sep 24, 2013 Pakistan earthquake. J Atmos Sol-Terr Phys. 2020;200:105218.
Xiang Y, Ye Y, Peng C, Teng M, Zhou Z. Seasonal variations for combined effects of landscape metrics on land surface temperature (LST) and aerosol optical depth (AOD). Ecol Indic. 2022;138:108810.
Shukla K, Kumar P, Mann GS, Khare M. Mapping spatial distribution of particulate matter using kriging and inverse distance weighting at supersites of megacity Delhi. Sustain Cities Soc. 2020;54:101997.
Feng X, Li Q, Zhu Y, Hou J, Jin L, Wang J. Artificial neural networks forecasting of PM2.5 pollution using air mass trajectory based geographic model and wavelet transformation. Atmos Environ. 2015;107:118-28.
Beucler T, Ebert-Uphoff I, Rasp S, Pritchard M, Gentine P. Machine learning for clouds and climate. In: Clouds and Climate. Cambridge: Cambridge University Press; 2020.
Ghorbanzadeh O, Blaschke T, Gholamnia K, Meena SR, Tiede D, Aryal J. Evaluation of different machine learning methods and deep-learning convolutional neural networks for landslide detection. Remote Sens. 2019;11:196.
Ma J, Ding Y, Gan VJL, Lin C, Wan Z. Spatiotemporal prediction of PM2.5 concentrations at different time granularities using IDW-BLSTM. IEEE Access. 2019;7:107897-907.
Nazar M, Alam MM, Yafi E, Su'ud MM. A systematic review of human-computer interaction and explainable artificial intelligence in healthcare with artificial intelligence techniques. IEEE Access. 2021;9:153316-48.
Martinez-Seras A, Del Ser J, Garcia-Bringas P. Can post-hoc explanations effectively detect out-of-distribution samples? In: Proceedings of the IEEE International Conference on Fuzzy Systems; 2022; Padua, Italy.
Huang F, Shangguan W, Li Q, Li L, Zhang Y. Beyond prediction: An integrated post-hoc approach to interpret complex model in hydrometeorology. Environ Model Softw. 2022;167:105762.
Kakogeorgiou I, Karantzalos K. Evaluating explainable artificial intelligence methods for multi-label deep learning classification tasks in remote sensing. Int J Appl Earth Obs Geoinf. 2021;103:102520.
Singh H, Roy A, Setia RK, Pateriya B. Estimation of nitrogen content in wheat from proximal hyperspectral data using machine learning and explainable artificial intelligence (XAI) approach. Model Earth Syst Environ. 2022;8:2505-11.
Stadtler S, Betancourt C, Roscher R. Explainable machine learning reveals capabilities, redundancy, and limitations of a geospatial air quality benchmark dataset. Mach Learn Knowl Extr. 2022;4:150-71.
Betancourt C, Stomberg TT, Edrich AK, Patnala A, Schultz MG, Roscher R, et al. Global, high-resolution mapping of tropospheric ozone-Explainable machine learning and impact of uncertainties. Geosci Model Dev. 2022;15:4331-54.
Stirnberg R, Cermak J, Kotthaus S, Haeffelin M, Andersen H, Fuchs J, et al. Meteorology-driven variability of air pollution (PM1) revealed with explainable machine learning. Atmos Chem Phys. 2021;21:3919-41.
Gu Y, Li B, Meng Q. Hybrid interpretable predictive machine learning model for air pollution prediction. Neurocomputing. 2022;468:123-36.
https://doi.org/10.1016/j.neucom.2021.09.051
Ji Y, Zhi X, Wu Y, Zhang Y, Yang Y, Peng T, et al. Regression analysis of air pollution and pediatric respiratory diseases based on interpretable machine learning. Front Earth Sci. 2023;11:1105140.
Tan ST, Mohamed N, Ng LC, Aik J. Air quality in underground metro station commuter platforms in Singapore: A cross-sectional analysis of factors influencing commuter exposure levels. Atmos Environ. 2022;273:118962.
https://doi.org/10.1016/j.atmosenv.2022.118962
Land Transport Authority. Public transport ridership [Internet]. Singapore: Land Transport Authority; 2021 [cited 2021 Aug 3].
Government of Singapore. Total land area of Singapore [Internet]. Singapore: Government of Singapore; 2021 [cited 2021 Aug 3].
Barudgar A, Singh J, Tyagi B. Variability of fine particulate matter (PM2.5) and its association with health and vehicular emissions over an urban tropical coastal station Mumbai, India. Thalassas. 2022;38:1067-80.
Sahu SK, Tyagi B, Pradhan C, Beig G. Evaluating the variability, transport and periodicity of particulate matter over smart city Bhubaneswar, a tropical coastal station of Eastern India. SN Appl Sci. 2019;1:383.
Gogikar P, Tyagi B, Gorai AK. Seasonal prediction of particulate matter over the steel city of India using neural network models. Model Earth Syst Environ. 2019;5:227-43.
Hari M, Tyagi B. India's greening trend seems to slow down. What does aerosol have to do with it? Land. 2022;11:538.
Sahu RK, Hari M, Tyagi B. Forest fire induced air pollution over Eastern India during March 2021. Aerosol Air Qual Res. 2022;22:220084.
Gogikar P, Tyagi B, Padhan RR, Mahaling M. Particulate matter assessment using in situ observations from 2009 to 2014 over an industrial region of Eastern India. Earth Syst Environ. 2018;2:305-22.
Gogikar P, Tyagi B. Assessment of particulate matter variation during 2011-2015 over a tropical station Agra, India. Atmos Environ. 2016;147:11-21.
Peng-in B, Sanitluea P, Monjatturat P, Boonkerd P, Phosri A. Estimating ground-level PM2.5 over Bangkok Metropolitan Region in Thailand using aerosol optical depth retrieved by MODIS. Air Qual Atmos Health. 2022;15:2091-102.
Sethi JK, Mittal M. Monitoring the impact of air quality on the COVID-19 fatalities in Delhi, India: Using machine learning techniques. Disaster Med Public Health Prep. 2020;16:604-11.
Mustakim NA, Ul-Saufie AZ, Shaziayani WN, Noor NM, Mutalib S. Prediction of daily air pollutants concentration and air pollutant index using machine learning approach. Pertanika J Sci Technol. 2023;31:123-35.
Gautam S, Patra AK, Brema J, Raj PV, Raimond K, Abraham SS, et al. Prediction of various sizes of particles in deep opencast copper mine using recurrent neural network: A machine learning approach. J Inst Eng Ser A. 2022;103:283-94.
Adong P, Bainomugisha E, Okure D, Sserunjogi R. Applying machine learning for large scale field calibration of low-cost PM2.5 and PM10 air pollution sensors. Appl AI Lett. 2022;3:e76.
Ha NT, Manley-Harris M, Pham TD, Hawes I. The use of radar and optical satellite imagery combined with advanced machine learning and metaheuristic optimization techniques to detect and quantify above ground biomass of intertidal seagrass in a New Zealand estuary. Int J Remote Sens. 2021;42:4712-38.
Bergstra J, Bengio Y. Random search for hyper-parameter optimization. J Mach Learn Res. 2012;13:281-305.
Eiben AE. Introduction to evolutionary computing. Assem Autom. 2004;24:324.
Nunnari G. Modelling air pollution time-series by using wavelet functions and genetic algorithms. Soft Comput. 2004;8:173-8.
Saini J, Dutta M, Marques G. A novel application of fuzzy inference system optimized with particle swarm optimization and genetic algorithm for PM10 prediction. Soft Comput. 2022;26:9573-86.
Garouani M, Ahmad A, Bouneffa M, Hamlich M, Bourguin G, Lewandowski A. Using meta-learning for automated algorithms selection and configuration: An experimental framework for industrial big data. J Big Data. 2022;9:57.
Le TT, Fu W, Moore JH. Scaling tree-based automated machine learning to biomedical big data with a feature set selector. Bioinformatics. 2020;36:250-6.
Olson RS, Bartley N, Urbanowicz RJ, Moore JH. Evaluation of a tree-based pipeline optimization tool for automating data science. In: Proceedings of the Genetic and Evolutionary Computation Conference; 2016; Denver, CO, USA.
Delavar MR, Gholami A, Shiran GR, Rashidi Y, Nakhaeizadeh GR, Fedra K, et al. A novel method for improving air pollution prediction based on machine learning approaches: A case study applied to the capital city of Tehran. ISPRS Int J Geo Inf. 2019;8:99.
Srivastava C, Singh S, Singh AP. Estimation of air pollution in Delhi using machine learning techniques. In: Proceedings of the 2018 International Conference on Computing, Power and Communication Technologies (GUCON); 2018; Greater Noida, India.
Khan MA, Kim HC, Park H. Leveraging machine learning for fault-tolerant air pollutants monitoring for a smart city design. Electronics. 2022;11:3122.
Arun G, Rathi S. Real time air quality evaluation model using machine learning approach. J Inf Technol Digit World. 2022;4:23-33.
Zhu B, Feng Y, Gong D, Jiang S, Zhao L, Cui N. Hybrid particle swarm optimization with extreme learning machine for daily reference evapotranspiration prediction from limited climatic data. Comput Electron Agric. 2020;173:105430.
Aas K, Jullum M, Løland A. Explaining individual predictions when features are dependent: More accurate approximations to Shapley values. Artif Intell. 2021;298:103502.
Lundberg SM, Lee SI. A unified approach to interpreting model predictions. In: Advances in Neural Information Processing Systems 30 (NIPS 2017); 2017; Long Beach, CA, USA. p. 4765-74.
Jiang H, Senge E. On two XAI cultures: A case study of non-technical explanations in deployed AI system. arXiv. 2021;arXiv:2112.01016.
Conibear L, Reddington CL, Silver BJ, Chen Y, Knote C, Arnold SR, et al. Statistical emulation of winter ambient fine particulate matter concentrations from emission changes in China. GeoHealth. 2021;5:e2021GH000391.
Chen ZY, Jin JQ, Zhang R, Zhang TH, Chen JJ, Yang J, et al. Comparison of different missing-imputation methods for MAIAC (Multiangle Implementation of Atmospheric Correction) AOD in estimating daily PM2.5 levels. Remote Sens. 2020;12:3008.
Hu X, Belle JH, Meng X, Wildani A, Waller LA, Strickland MJ, et al. Estimating PM2.5 concentrations in the conterminous United States using the random forest approach. Environ Sci Technol. 2017;51:6936-44.
Yang H, Liu Z, Li G. A new hybrid optimization prediction model for PM2.5 concentration considering other air pollutants and meteorological conditions. Chemosphere. 2022;307:135798.
Bai Y, Zeng B, Li C, Zhang J. An ensemble long short-term memory neural network for hourly PM2.5 concentration forecasting. Chemosphere. 2019;222:286-94.
https://doi.org/10.1016/j.chemosphere.2019.01.121

Author information

Ravi Kumar, Neha Sharma, Aniket Deshmukh, Sanjay Kulkarni & Arjun Nair contributed to this work.

Authors and affiliations

Department of Air Quality Prediction and Explainable ML, Faculty of Engineering, Indian Agricultural Research Institute, New Delhi, India
Ravi Kumar & Neha Sharma

Department of Spatial PM2.5 Prediction and XAI, Faculty of Engineering, IIT Bombay, Mumbai, India
Aniket Deshmukh

Department of Transparency in Environmental AI, Faculty of Engineering, Savitribai Phule Pune University, Pune, India
Sanjay Kulkarni

Department of Geospatial Machine Learning and Interpretability, Faculty of Engineering, IIT Kharagpur, Kharagpur, India
Arjun Nair

Corresponding author

Correspondence to Ravi Kumar

Rights and permissions

Open Access The author(s) retain copyright. This article is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. It may be shared and adapted for non-commercial purposes with appropriate attribution, an indication of changes, and distribution of adaptations under the same license. Third-party material may be subject to separate terms identified in its credit line. View the license at https://creativecommons.org/licenses/by-nc-sa/4.0/.

About this article

Cite this article

Vancouver
Kumar R, Sharma N, Deshmukh A, Kulkarni S, Nair A. Enhancing Transparency in Spatial PM₂.₅ Prediction over Singapore through Explainable Machine Learning. J Trustworthy Explain Intell Syst. 2025;4:61.
APA
Kumar, R., Sharma, N., Deshmukh, A., Kulkarni, S., & Nair, A. (2025). Enhancing Transparency in Spatial PM₂.₅ Prediction over Singapore through Explainable Machine Learning. Journal of Trustworthy and Explainable Intelligent Systems, 4, 61.
Received
26 September 2024
Revised
03 November 2024
Accepted
28 November 2024
Published
15 March 2025
Version of record
15 March 2025

Share this article

Easily share this article with others using the link below:

Enhancing Transparency in Spatial PM₂.₅ Prediction over Singapore through Explainable Machine Learning
Scan to access
this article

Ready to submit?
Start a new submission or continue a submission in progress:
Submission Portal Author Guidelines

Follow this journal
Get notified of new updates and articles.