[Paper Review] GeoShapley: A Game Theory Approach to Measuring Spatial Effects in Machine Learning Models
GeoShapley introduces a game-theoretic framework that treats spatial location as a player in a Shapley value-based model interpretation system, enabling quantification of location importance and location-feature synergies in machine learning models. The method is model-agnostic, validated on simulated and real house price data, and implemented in an open-source Python package for spatially aware model interpretability.
This paper introduces GeoShapley, a game theory approach to measuring spatial effects in machine learning models. GeoShapley extends the Nobel Prize-winning Shapley value framework in game theory by conceptualizing location as a player in a model prediction game, which enables the quantification of the importance of location and the synergies between location and other features in a model. GeoShapley is a model-agnostic approach and can be applied to statistical or black-box machine learning models in various structures. The interpretation of GeoShapley is directly linked with spatially varying coefficient models for explaining spatial effects and additive models for explaining non-spatial effects. Using simulated data, GeoShapley values are validated against known data-generating processes and are used for cross-comparison of seven statistical and machine learning models. An empirical example of house price modeling is used to illustrate GeoShapley's utility and interpretation with real world data. The method is available as an open-source Python package named geoshapley.
Motivation & Objective
- To develop a model-agnostic method for quantifying the contribution of spatial location to machine learning model predictions.
- To extend the Shapley value framework to incorporate spatial effects and location-feature interactions.
- To provide a unified interpretation framework linking spatially varying coefficient models and additive models through game-theoretic principles.
- To validate GeoShapley against known data-generating processes in simulated settings across seven diverse models.
- To demonstrate practical utility using real-world house price modeling with interpretable spatial effects.
Proposed method
- GeoShapley conceptualizes each spatial location as a player in a cooperative game where the Shapley value measures the marginal contribution of that location to the model's prediction.
- The method computes location-specific Shapley values by averaging over all possible coalitions of features and locations, incorporating spatial structure into the game-theoretic framework.
- It integrates spatially varying coefficient models and additive models as interpretive anchors, linking game-theoretic values to established statistical interpretations.
- The approach is implemented as a model-agnostic technique, applicable to both black-box and white-box models across various model structures.
- A computationally efficient approximation is used to handle the combinatorial explosion of coalitions, enabling scalability to real-world datasets.
- The method is released as an open-source Python package named geoshapley for reproducible and accessible implementation.
Experimental results
Research questions
- RQ1How can spatial location be formally treated as a player in a game-theoretic model interpretation framework?
- RQ2To what extent can GeoShapley accurately recover known spatial effects in simulated data with known data-generating processes?
- RQ3How do GeoShapley values compare across diverse statistical and machine learning models in capturing spatial and non-spatial effects?
- RQ4Can GeoShapley effectively interpret real-world spatial phenomena, such as house price variation, with meaningful spatially localized insights?
- RQ5How do location and feature synergies manifest in GeoShapley values, and can they be meaningfully interpreted?
Key findings
- GeoShapley values accurately recover the true spatial effects in simulated data, demonstrating strong alignment with known data-generating processes.
- The method successfully quantifies both spatial and non-spatial contributions across seven different models, showing consistent and interpretable results.
- In the real-world house price modeling example, GeoShapley revealed meaningful spatial patterns and location-feature interaction effects that align with economic intuition.
- The model-agnostic nature of GeoShapley enables consistent interpretation across diverse model types, including complex black-box models.
- The open-source geoshapley Python package enables reproducible and scalable application of the method to spatial machine learning problems.
- GeoShapley values show strong interpretability by linking to spatially varying coefficient models and additive models, enhancing theoretical grounding.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.