Geo-SMILE: Statistical Model-Agnostic Interpretability with Local Explanations for Geospatial Machine Learning
Organizations: University of Hull
Abstract
Conventional post-hoc explanation methods were developed largely for non-spatial inputs and often provide limited explicit treatment of geographic context. We introduce Geo-SMILE, a model-agnostic framework that distinguishes substantive Feature explanation from geographic-position response through complementary perturbation branches. The Feature branch masks substantive predictors while retaining observed coordinates; the Geo branch relocates geographic units while holding substantive predictors fixed. Following the statistical-distance-weighted surrogate principle of SMILE, input-distribution Wasserstein distances determine coalition locality weights and weighted Ridge surrogates approximate expected black-box predictions. GeoSensitivity, signed in the keep orientation, quantifies fitted-model responses to geographic-player relocation under the specified design. Across crime prediction in Hull, housing-price prediction in Seattle and ride-hailing demand in Chicago, held-out weighted surrogate fidelity ranges from to in the Feature branch and from to in the Geo branch. The framework makes geographic position an explicit object of post-hoc explanation while requiring separate assessment of interpretation, stability and reference dependence.
Figures & tables
| Method | Ex. type | Class | Spatial | Reloc. | Surr. | Eval. | Explanation target / distinction |
|---|---|---|---|---|---|---|---|
| LIME ( Ribeiro et al., 2016 ; Molnar, 2025 ) | L | MA | No | No | Yes | Partial | Local feature effects via a weighted surrogate. |
| SMILE ( Aslansefat et al., 2024 ) | L | MA | No | No | Yes | Yes | Statistical-distance locality; stability and robustness. |
| SHAP / spatial TreeSHAP ( Lundberg and Lee, 2017 ; Li, 2022 ) | L/G | MA/MS | Partial | No | No | Partial | Feature attribution and spatial patterns derived from SHAP. |
| GLIME ( Jin et al., 2023 ) | L/S | MA | Yes | No | Yes | Partial | Geographically local feature explanations. |
| GeoShapley ( Li, 2024 ) | L/S | MA | Yes | No | No | Partial | Joint-location, feature and interaction attributions. |
| SA-SHAP ( Vahidnia, 2026 ) | L/S | MA | Yes | No | No | Partial | Reallocation of predictor–location interactions. |
| Hull | Seattle | Chicago | |
| Outcome | Next-month crime count | sale price | log ride-hailing trips |
| Units | 168 LSOAs, monthly | 16,581 sales (points) | 795 census tracts |
| Predictors | 30 (crime history, census, built environment) | 8 (structure, quality) | 9 (socio-economic, built environment) |
| Coordinates | LSOA centroid (BNG) | Sale location | Tract centroid |
| Model selection | Top tier of ten screened models | Best of six models reported by Li (2024) ( ) | Model used by Li (2022) |
| Model; test | XGBoost (Poisson); 0.895 | XGBoost; 0.894 | XGBoost; 0.794 |
| Hull (30 predictors) | Seattle (8 predictors) | Chicago (9 predictors) | |
|---|---|---|---|
| Feature players | Crime history (one-, two- and three-month lags; three- and six-month rolling means); seasonality; demography; tenure; labour, health and education; built environment | Living area; lot size; construction grade; condition; view; waterfront; age; bathrooms | Mean trip distance; % bachelor’s degree or higher; % aged 18–34; % shared trips; % white; % households without a vehicle; log population density; job entropy; road-network density |
| Location inputs | LSOA centroid easting and northing (BNG) | Sale coordinates (UTM zone 10N) | Tract centroid coordinates (UTM zone 16N) |
| Geo players | 168 LSOAs; 5–10 relocated per coalition | 100 KMeans groups of sales | 160 KMeans groups of 795 tracts |
| Category | Evaluation question | Measures |
| Primary ATT evaluation | ||
| ATT fidelity | Does the surrogate reproduce the black-box perturbation response on unseen coalitions? | Held-out and weighted ; WMAE; WRMSE. |
| ATT stability | Does the explanation remain similar after a small change to the spatial study area? | Top- Jaccard; full-ranking Spearman correlation; rank assigned to the added or re-admitted spatial unit. |
| ATT consistency | Do independently seeded runs produce reproducible attribution scores? | Across-run coefficient standard deviation: mean and maximum over players. |
| ATT accuracy | Do the resulting rankings correspond with an independent attribution reference where one is available? | ATT ACC; F1; AUROC; top- overlap; lift above chance; hypergeometric -value; single-expert correspondence. |
| Complementary validation diagnostics | ||
| Case | Branch | WMAE | WRMSE | ||
|---|---|---|---|---|---|
| Hull | Feature (30 players) | 0.906 | 0.910 | 0.3137 | 0.3702 |
| Hull | Geo (168 players) | 0.903 | 0.906 | 0.0030 | 0.0040 |
| Seattle | Feature (8 players) | 0.989 | 0.989 | 0.0011 | 0.0013 |
| Seattle | Geo (100 players) | 0.886 | 0.842 | 0.0010 | 0.0012 |
| Chicago | Feature (9 players) | 0.936 | 0.940 | 0.0135 | 0.0184 |
| Chicago | Geo (160 players) | 0.850 | 0.844 | 0.0022 | 0.0028 |
| Branch | Measure | Hull | Seattle | Chicago |
|---|---|---|---|---|
| Feature | Top- Jaccard | 1.000 | 1.000 | 1.000 |
| Feature | Full-vector Spearman | 0.974 | 1.000 | 0.995 |
| Geo | Top-20 Jaccard | 0.925 | 0.840 | 0.865 |
| Geo | Full-vector Spearman | 0.942 | 0.992 | 0.978 |
| Geo | Mean rank of added unit | 109 of 169 | 86 of 101 | 68.8 of 161 |
| Branch | Statistic | Hull | Seattle | Chicago |
|---|---|---|---|---|
| Feature | Mean SD | 0.012272 | 0.00028 | 0.001565 |
| Feature | Maximum SD | 0.023327 | 0.00040 | 0.002299 |
| Geo | Mean SD | 0.000357 | 0.00349 | 0.000192 |
| Geo | Maximum SD | 0.001368 | 0.01727 | 0.000471 |
| Case | Branch | 1,000 | 2,000 | 3,000 | 4,000 | 5,000 | 7,500 | 10,000 |
|---|---|---|---|---|---|---|---|---|
| Hull | Feature | 0.911 | 0.905 | 0.909 | 0.910 | 0.909 | 0.907 | 0.903 |
| Hull | Geo | 0.831 | 0.862 | 0.875 | 0.906 | 0.898 | 0.890 | 0.889 |
| Seattle | Feature (8) | 0.989 | 0.988 | 0.988 | 0.989 | 0.987 | 0.988 | 0.988 |
| Seattle | Geo (100, per-player) | 0.835 | 0.837 | 0.840 | 0.842 | 0.842 | 0.835 | 0.835 |
| Chicago | Feature | 0.938 | 0.920 | 0.918 | 0.941 | 0.939 | 0.939 | 0.937 |
| Chicago | Geo (160 groups) | 0.818 | 0.802 | 0.829 | 0.844 | 0.835 | 0.838 | 0.839 |
| Hull | Seattle | Chicago | ||||
|---|---|---|---|---|---|---|
| Surrogate | Feature | Geo | Feature | Geo | Feature | Geo |
| Weighted Ridge (proposed) | 0.9098 | 0.9055 | 0.9885 | 0.8423 | 0.9405 | 0.8437 |
| Weighted OLS | 0.9097 | 0.9064 | 0.9885 | 0.8414 | 0.9406 | 0.8444 |
| Bayesian ridge | 0.9097 | 0.9064 | 0.9885 | 0.8417 | 0.9406 | 0.8441 |
| Linear regression (OLS) | 0.9096 | 0.9076 | 0.9881 | 0.8344 | 0.9356 | 0.8406 |
| Ridge (unweighted) | 0.9096 | 0.9074 | 0.9881 | 0.8353 | 0.9356 | 0.8406 |
| Abbreviation | Definition |
|---|---|
| ACC | Accuracy |
| ANN | Artificial Neural Network |
| ATT | Attribution |
| AUROC | Area Under the Receiver Operating Characteristic Curve |
| BNG | British National Grid |
| CNN | Convolutional Neural Network |