Theme
Technical Blog Urban Climate PDF

Earth Observation · XGBoost · Explainable AI · Reproducibility

Reproducible Spatiotemporal Urban Heat Island Modeling for Bengaluru Using Earth Observation and Machine Learning

A leakage-aware workflow for estimating land surface temperature and Urban Heat Island intensity from multi-year satellite imagery, with spatial validation, SHAP interpretability, and fixed reproducibility artifacts.

Pranjal Prakash School of Computer Science and Applications, REVA University 24130500752@reva.edu.in
Vinag G. School of Computer Science and Applications, REVA University vinay.g@reva.edu.in

Abstract

The present research proposes a workflow for Urban Heat Island analysis for Bengaluru, utilizing multiple years of Earth Observation and interpretable machine learning. The methodology emphasizes spatial leakage control, multiple validation levels, and fixed artifacts.

The approach stacks Sentinel-2 and Landsat imagery for 2020-2025, applies physics-informed feature verification, and trains an XGBoost regressor with spatial block cross-validation. Held-out validation achieves an RMSE of 3.31 K and an R2 of 0.554. Regional validation estimates urban and rural mean temperatures of 310.8 K and 308.8 K, yielding a UHI intensity of 1.97 K.

Samples 10.2M aligned pixel samples
Tiles 164 spatially aligned tiles
Hold-out RMSE 3.31 K Level-1 pixel hold-out
Hold-out R2 0.554 explained variance
UHI intensity 1.97 K urban minus rural

Problem Statement and Gap

Most Earth Observation based UHI analyses demonstrate predictive capability, but they often under-specify the controls used for spatial leakage, traceability of execution, and reproducibility. In geospatial regression, adjacent pixels and nearby tiles are autocorrelated; random splits can therefore overstate generalization.

Bengaluru adds two practical complications: strong seasonality and heterogeneous land cover. Vegetation, water, built-up surfaces, and temporal drift all affect land surface temperature, so the validation procedure needs to be spatially aware and physically interpretable.

The contribution is not a new backbone architecture, but a reproducible and leakage-aware evaluation framework for EO-based UHI regression.

Methodology

The workflow links EO ingestion, seasonal alignment, spatial block validation, model training, regional validation, and checksum-based artifact locking into one execution protocol.

Fig. 1. Interactive methodology map. Hover or tap a stage to inspect how the workflow moves from multi-year Earth Observation stacks to leakage-aware validation and locked artifacts.
Urban Heat Island methodology flow chart A seven-stage workflow from Earth Observation ingestion through seasonal alignment, feature checks, spatial split, model training, SHAP interpretation, MODIS validation, and checksum locking. 01 EO ingestion Sentinel-2 + Landsat 02 Seasonal align 12 composites 03 Feature checks NDVI, NDBI, classes 04 Spatial split hold-out by tile 05 XGBoost LST regression 06a SHAP physics signs 06b MODIS check regional consistency 07 Checksum lock

Selected stage

EO ingestion

Multi-year Sentinel-2 and Landsat imagery are stacked into aligned Earth Observation inputs before seasonal aggregation and feature checks.

2020-2025
time span
aligned rasters
artifact

Predicted land-surface temperature at year y, season s, and pixel p is modeled as:

Tpred(y,s,p) = f(x(y,s,p))

Here, x(y,s,p) is the feature vector for the corresponding year, season, and pixel. Features include NDVI, NDBI, latitude, longitude, seasonal variables, and WorldCover-derived class variables.

Validation Design

The experiment uses two validation levels. Level-1 compares model predictions against held-out Landsat-derived targets at the pixel level. Level-2 checks regional urban-rural thermal contrast and seasonal consistency against MODIS seasonal means.

ΔTUHI = Turban mean - Trural mean
Table 1. Model and validation metrics.
Evaluation levelMetricValue
Spatial CVRMSE3.487 K
Spatial CVR20.527
Level-1 hold-outRMSE3.31 K
Level-1 hold-outMAE2.34 K
Level-1 hold-outR20.554
Level-1 hold-outBias+0.75 K
Level-1 hold-outN973,407 pixels
Level-2 regionalUrban mean LST310.8 K
Level-2 regionalRural mean LST308.8 K
Level-2 regionalUHI intensity1.97 K

Prediction and UHI Results

The prediction map shows spatial thermal structure across evaluation tiles. Warm and cool clusters provide a qualitative check of the expected urban-rural contrast, while the scatter plot summarizes pixel-level agreement between observed and predicted LST.

Actual LST, predicted LST, and residual map for an evaluation tile.
Fig. 2. Prediction map and residual structure for an evaluation tile. The panel preserves the original paper figure.
Scatter plot comparing actual and predicted land surface temperature.
Fig. 3. Observed versus predicted LST. The diagonal line represents perfect agreement; spread around the line shows residual error.
Table 2. Seasonal urban-rural UHI from the Step-12 drift run.
Year-seasonUrban (K)Rural (K)UHI (K)
2020 Summer312.8310.91.95
2020 Winter302.2300.81.35
2021 Summer310.9309.61.37
2021 Winter306.6304.32.29
2022 Summer310.4308.81.54
2022 Winter302.5301.01.52
2023 Summer312.2310.31.85
2023 Winter305.4303.81.61
2024 Summer312.3311.01.31
2024 Winter302.8301.31.57
2025 Summer311.9310.01.87
2025 Winter304.2302.51.62

SHAP-Based Interpretability

Expected physical behavior appears in the SHAP analysis: NDVI contributes a cooling tendency, NDBI contributes a warming tendency, and seasonality is highly influential because summer and winter differ strongly in surface temperature.

SHAP feature importance bar chart.
Fig. 4. Global SHAP importance ranking.
SHAP beeswarm plot showing signed feature contributions.
Fig. 5. Signed SHAP contribution distribution.
SHAP dependence plot for NDVI.
Fig. 6. Increasing NDVI tends to reduce predicted temperature.
SHAP dependence plot for NDBI.
Fig. 7. Higher NDBI increases positive SHAP contribution.
SHAP dependence plot for the binary urban indicator.
Fig. 8. Urban-class samples have a positive SHAP shift.

For a local explanation, a prediction can be expressed as a baseline plus the sum of feature contributions:

Tpred(x) = basevalue + shap1(x) + ... + shapd(x)

Publication Gates and Reproducibility

The reported run includes pass/fail publication gates, drift envelope checks, and checksum records. These are used to make the manuscript traceable back to fixed artifacts rather than a loose sequence of notebooks.

Table 3. Gate and drift consistency results.
CheckResultStatus
Objective scorecard5/5 (100%)PASS
NDVI physical checkcorr(NDVI,LST) = -0.558PASS
NDBI physical checkcorr(NDBI,LST) = 0.622PASS
Seasonal UHI mean1.65 KPASS
Seasonal UHI range1.31-2.29 KPASS
Published envelopewithin 0.6 to 2.6 K: 100%PASS
Table 4. Observed risks and mitigation strategy.
RiskMitigation used in final run
Seasonal stack driftStep-12 envelope check against published Bengaluru UHI range
Spatial leakage in trainingSpatial block hold-out by tile identifiers
Masking artifacts and NaN regionsFeature gates and documented downstream consistency checks
Overclaiming external validationMODIS used only for regional consistency interpretation
Reproducibility lossManifest plus SHA-256 checksum records for artifact integrity

Threats to Validity and Future Work

Three limitations are identified. First, valid pixel count is lower for some winter year-season combinations. Second, heuristic NDVI/NDBI visualization masks are used qualitatively rather than quantitatively. Third, Level-2 MODIS validation is interpreted as regional consistency rather than per-pixel supervisory ground truth.

Future work includes evaluating Random Forest and CNN-based benchmarks under the same spatial split and reproducibility framework, expanding the spatial and temporal extent, and strengthening controlled benchmark comparisons.

References

  1. T. R. Oke, The energetic basis of the urban heat island, Quarterly Journal of the Royal Meteorological Society, 1982.
  2. J. A. Voogt and T. R. Oke, Thermal remote sensing of urban climates, Remote Sensing of Environment, 2003.
  3. Q. Weng, D. Lu, and J. Schubring, Estimation of land surface temperature-vegetation abundance relationship for urban heat island studies, Remote Sensing of Environment, 2004.
  4. T. Chen and C. Guestrin, XGBoost: A scalable tree boosting system, KDD, 2016.
  5. S. M. Lundberg and S.-I. Lee, A unified approach to interpreting model predictions, NIPS, 2017.
  6. Y. Chen et al., Machine learning for urban heat island assessment from remote sensing data: A review, Remote Sensing, 2023.
  7. W. Zhang et al., Landsat 8 LST retrieval and spatial-temporal migration capabilities based on random forest, Advances in Space Research, 2024.