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| Background | Tree model | Paper | Rerun | Comparison |
|---|---|---|---|---|
| Random | Decision Tree | 10% | 9.72% | |
| Random | Random Forest | 29% | 29.66% | |
| Random | XGBoost | 42% | 42.26% | |
| K-Means | Decision Tree | 2% | 2.16% | |
| K-Means | Random Forest | 6% | 5.20% | |
| K-Means | XGBoost | 9% | 7.97% | |
| PredStrat | Decision Tree | 37% | 13.82% | |
| PredStrat | Random Forest | 49% | 41.12% | |
| PredStrat | XGBoost | 65% | 61.47% | |
| CTE | Decision Tree | 29% | 29.89% | |
| CTE | Random Forest | 40% | 33.14% | |
| CTE | XGBoost | 44% | 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.