TL;DR
When a machine learning model predicts high housing prices or crime rates in a neighborhood, is it reacting to what is there (the buildings, demographics) or where it is on the map? Standard explainability tools usually treat latitude and longitude like ordinary tabular columns, tangling physical attributes with geographic context. Geo-SMILE untangles this knot by splitting post-hoc explanations into two separate, controlled experiments—one that masks attributes while freezing locations, and another that teleports neighborhoods across the map while freezing their attributes.
What Problem Does This Paper Address?
Geospatial AI (GeoAI) relies heavily on complex, black-box models like gradient-boosted trees to predict everything from flood risk to ride-hailing demand. However, spatial data breaks the core assumptions of standard Explainable AI (XAI) tools like LIME and SHAP. Nearby places resemble each other (spatial autocorrelation), relationships shift across regions (spatial heterogeneity), and physical features are deeply confounded with coordinates.
If you feed coordinates into a standard explainer, you can’t tell whether a model’s prediction is driven by substantive features or pure geographic position. Furthermore, plotting unstable explanation scores on a map has a dangerous psychological side effect: human eyes love finding patterns, meaning statistical noise can easily masquerade as a coherent, meaningful geographic trend. While recent spatial XAI methods (like GLIME and GeoShapley) incorporate geographic locality or isolate location interactions, they don't directly answer a vital counterfactual question: How sensitive is the fitted model if we pick up a specific geographic unit and move it somewhere else?
Methods
Geo-SMILE extends SMILE—a LIME-inspired framework that weights perturbed samples using statistical distances—into a model-agnostic, dual-branch architecture:
- The Feature Branch (What matters?): Coordinates are locked in place while subsets ("coalitions") of substantive features—like building age or crime history—are toggled on or replaced by their dataset median.
- The Geo Branch (Where matters?): Substantive features are locked, while selected spatial units ("geographic players," such as census tracts or point clusters) are virtually relocated to the centroids of randomly chosen donor regions.
Geographic-player relocation to random donor centroids and Wasserstein distance weighting. (Correction: let's use exact artifact id below)
Wait—let's make sure the exact figure ID is used cleanly! Let's check Figure 4 ID: art_20e8fd7670cf492b8d902d4b18c77ecd.
In both branches, the black-box model predicts outcomes across 4,000 perturbed coalitions (with minor Gaussian jitter). Geo-SMILE measures how far each perturbed input distribution drifts from the original data using marginal Wasserstein-1 distances (think of this as the minimum "earth-moving" effort required to morph one distribution into another). Closer perturbations get higher weights via an exponential kernel.
Finally, each branch fits a simple, interpretable weighted Ridge regression surrogate to approximate the black-box model's expected predictions. From the Geo branch, the authors introduce a novel metric called GeoSensitivity: the surrogate coefficient of keeping a spatial unit at its true home rather than relocating it. Positive GeoSensitivity means true location boosts the prediction; negative means it suppresses it.
Datasets
Geo-SMILE is evaluated on XGBoost models across three distinct urban prediction tasks:
- Hull, UK (Crime Prediction — New Benchmark): A newly compiled monthly panel across 168 Lower Layer Super Output Areas (LSOAs) with 30 predictors (crime lags, census demographics, OpenStreetMap features). Uniquely, this dataset includes an independent domain-expert reference—10 expert-selected features and 58 expert-delineated hotspot LSOAs—allowing ground-truth accuracy checks.
- Seattle, USA (House Prices): 16,581 home sales from King County with 8 structural/quality predictors, grouped via KMeans into 100 spatial players (reused from prior GeoShapley research).
- Chicago, USA (Ride-Hailing Demand): 795 census tracts with 9 socioeconomic and built-environment predictors, grouped via KMeans into 160 spatial players (reused from prior spatial SHAP studies).
Key Insights and Ideas
- Position vs. Attributes require separate rulers: By refusing to lump coordinates in with ordinary features, Geo-SMILE prevents positional sensitivity from disguising itself as standard feature importance. Reading local Feature maps alongside GeoSensitivity maps reveals whether an area has strong location-conditioned behavior (e.g., Seattle’s lakefront) or locally varying attribute effects.
- A pretty map isn't necessarily a reliable one: Instead of trusting visual coherence, the authors adapt a rigorous four-part attribution audit: fidelity (does the linear surrogate match XGBoost?), consistency (do different random seeds agree?), spatial-support stability (what happens if we add or hold out a neighboring boundary region?), and expert accuracy.
- More perturbations aren't always better: Diagnostic sweeps from 1,000 to 10,000 coalitions revealed that Geo surrogate fidelity actually peaks or plateaus around $N = 4,000$, saving substantial compute.
Key Results
- High Surrogate Fidelity: On unseen test coalitions, weighted Ridge surrogates closely tracked the black-box XGBoost models. Weighted $R_w^2$ reached 0.910 (Hull), 0.989 (Seattle), and 0.940 (Chicago) in the Feature branch, and 0.906, 0.842, and 0.844 in the Geo branch.
- Spatial-Support Stability: When testing boundary changes (adding adjacent LSOAs in Hull, or holding out and re-introducing directional clusters with model retraining in Seattle and Chicago), full-vector Feature Spearman correlations stayed between 0.974 and 1.000, while signed Geo Spearman correlations ranged from 0.942 to 0.992.
- Seed Consistency: Across five independent random seeds, coefficient standard deviations remained tiny (mean Geo SDs between $0.00019$ and $0.00349$).
- Alignment with Human Experts: In Hull, the Feature branch recovered 7 of the 10 expert-identified predictors (AUROC = 0.845), while the top 20 GeoSensitivity units captured 16 expert-highlighted LSOAs—a 2.32× lift over chance ($p = 1.25 \times 10^{-5}$).
Limitations and Future Work
- Unrealistic "Teleportation": Relocating a spatial unit to a random donor centroid can pair physical attributes with coordinates that rarely coexist in reality (e.g., placing a dense downtown block into a rural suburb). Thus, GeoSensitivity measures model sensitivity under a specific design, not real-world causal location effects.
- Grouping Dependence: In point or dense-tract datasets like Seattle and Chicago, GeoSensitivity depends on how KMeans clusters observations and the relative sizes of those groups.
- Single Model Family Tested: Although Geo-SMILE is model-agnostic—and preliminary screening noted linear surrogates struggled with certain neural networks—all main experiments only explained XGBoost models.
Future work aims to constrain donor relocations to realistic attribute–coordinate pairs, replace marginal coordinate distances with true multivariate spatial distances, test diverse black-box architectures, and build synthetic benchmarks with known ground-truth spatial responses.
Summary updated