Explanation multiplicity in SHAP

Reproduction of Figure 4 on Give Me Some Credit with Kernel SHAP and 100 background rows. The rerun covers all 9,000 test instances for the decision tree, random forest and XGBoost.

Verdict The organizer’s Random-background test is verified. We reproduced 12 of 20 Figure 4 cells and found zero ℓ₂ exceedances across 1,080,000 comparisons in those cells.

Published and reproduced exceedance

Each row uses five runs and 90,000 run-pair–instance comparisons. The paper rounds its percentages.

■ Paper  ■ Rerun
BackgroundTree modelPaperRerunComparison
RandomDecision Tree10%9.72%
RandomRandom Forest29%29.66%
RandomXGBoost42%42.26%
K-MeansDecision Tree2%2.16%
K-MeansRandom Forest6%5.20%
K-MeansXGBoost9%7.97%
PredStratDecision Tree37%13.82%
PredStratRandom Forest49%41.12%
PredStratXGBoost65%61.47%
CTEDecision Tree29%29.89%
CTERandom Forest40%33.14%
CTEXGBoost44%35.45%

PredStrat–DT is the largest top-three gap (37% to 13.82%). MLP and FT-Transformer were outside the run scope.

Rerun the experiment

Clone the Space and run the script with Bash and uv. The script creates a temporary Python 3.12 environment, prepares the data, runs all four background methods and writes the results locally.

git clone https://huggingface.co/spaces/esab/gmsc-kernelshap-fig4
cd gmsc-kernelshap-fig4
bash reproduce.sh

For a short decision-tree smoke test, run GMSC_MODEL=dt bash reproduce.sh 5.