The reported effect belongs to no one
A pooled coefficient is a weighted average of opposing mechanisms. Its confidence interval can be tight and its sign still wrong for every zone in the study area.
Which method finds spatial regimes, and when?
That spatial relationships vary is not in dispute — geographically weighted regression and attribution maps have modelled drifting coefficients for years. The open question is the shape of the variation. Walk from the waterfront villas through the apartment blocks to the farms and what one more room is worth does not drift: it jumps, at a street you could point to. A smooth surface cannot put a line there. Spatial regimes can. This page is about finding them, and about a benchmark of 3,564 controlled runs that says which methods actually do.
Panel: an illustration. The benchmark behind it runs on controlled simulations with known regimes, plus two real datasets.
Same structure as the town above, now with the statistics beside it. Read these three maps left to right. The first is the thing that actually varies: the local effect of X₁ on Y, which takes three values over three zones and is piecewise constant — flat inside a zone, discontinuous at its edge. The second is what a single global regression puts in its place — one number, everywhere. The third is what that costs, and the point is that the cost is not spread evenly: it reassembles the map you started from.
The last line is the spatial tell. A correctly specified model leaves error with no geography, so Moran's I sits near zero; here the error is strongly clustered, because what the model omitted was itself a map. Note also what the error map cannot do: the two zones with opposite slopes are both dark, because error says where the global model is wrong, never how. Recovering the how is the job of the methods benchmarked below.
A pooled coefficient is a weighted average of opposing mechanisms. Its confidence interval can be tight and its sign still wrong for every zone in the study area.
Policies calibrated on a global elasticity over- or under-shoot wherever the local mechanism departs from the average — and the error map shows exactly where that is.
A model fitted where one mechanism dominates degrades when applied elsewhere, which is exactly the signal this benchmark turns into a validity check.
Here is the trap most benchmarks fall into. Map the outcome and, in the usual setting, the regimes are already visible in it — so a method that simply clusters Y looks like a regime detector. Switch to strict process heterogeneity, where the intercept is dropped and every regime's slope vector is normalised, and the outcome map goes quiet while the regimes underneath are completely unchanged.
Under strict process the three distributions lie on top of one another and the ARI collapses, exactly as in Table A1 of the paper. The map on the right has not moved.
Comparisons in this literature usually hold the data-generating process fixed and swap algorithms. We vary it as well: five axes of the generating process are crossed, so every method is scored under conditions that are known, controlled and reported — including the ones designed to defeat it.
Each run is scored on partition accuracy (ARI, NMI), on fit inside the recovered regimes, and on how badly a regime's model transfers to the others.
This is the axis the opening panel was about. Methods sort along two questions: is the local relationship between X and Y assumed linear or allowed to be nonlinear, and is heterogeneity represented as a continuous surface or as discrete regimes? The continuous column is crowded — GWR, MGWR and attribution maps all live there — and the discrete column, where a method has to commit to a boundary, is not. Of its two cells only the linear one was occupied. The fourth is what this paper is about.
GWR and MGWR let a linear coefficient drift smoothly over space. No boundaries, no mechanism beyond a local linear slope.
SHAP and GeoShapley maps from a nonlinear learner. Rich and local, but they describe every location separately rather than delimiting zones.
2KModel and SKATER-Reg carve contiguous regions whose internal linear regressions differ. Clean boundaries, linear mechanisms only.
Cluster a nonlinear attribution surface instead of the raw data, and the discretisation of regionalization meets a mechanism that need not be linear.
Columns: the functional form assumed for the local relationship. Rows: whether heterogeneity is represented as a continuous surface or as discrete regimes.
The idea is one substitution. Regionalization clusters observations by their regression coefficients; we cluster them by their attribution vectors — what a nonlinear model says each covariate contributed at that location. The framework is attribution-method agnostic; SHAP is the instance used here.
X, the location, and the outcome Y at every observation.
A gradient-boosted ensemble fits Y without being told the regimes.
SHAP returns, for every observation, one contribution per covariate.
Locations whose covariates act alike fall together, wherever they are.
Contiguous zones, each with its own nonlinear mechanism.
Three members are benchmarked here: SHAP-KMeans (cluster the attribution vectors directly), 2KModel+SHAP (attribution-seeded micro-clusters, then contiguity merging) and SHAP-RecSplit (error-driven recursive bisection).
Across all 3,564 runs SHAP-KMeans leads on ARI and SKATER-Reg is the strongest classical method — but the aggregate hides the finding. Which family wins is decided by the process type: regression-coupled regionalization reads a linear mechanism directly off its own criterion, and attribution clustering takes over as soon as the mechanism stops being linear. Each cell below is one condition; pick one, then narrow the conditioning axes and watch how stable the ranking is.
Solid lines: mixed heterogeneity. Dashed: strict process. The gap between the two is the part of a method's score that comes from outcome level rather than mechanism — which is why SKATER-Reg barely moves and the outcome-driven baselines collapse.
Mean over the conditions selected above.
On real data nobody hands you the true regimes, so a partition cannot be scored against them. This is the substitute: train inside one regime and predict in another. If the partition separates genuinely different mechanisms, that transfer should fail — a strongly negative cross-region R² is evidence of real process boundaries, not a defect. Values are truncated at −10.
The figures in the paper and the numbers on this page come from one aggregated benchmark table, produced by the simulation code in the repository and redrawn by a single script.