Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

Reproduction of Figure 4 in Explanation Multiplicity in SHAP

Full-fold reproduction of the 12 tree-model cells in Figure 4, arXiv:2601.12654v3 (Give Me Some Credit, Kernel SHAP, K=100 background), built on the authors' own code at Aguno/SHAP_Multiplicity @ cc6ca11 (experiment_sampling.py, models.py, baseline.py, pairwise_aggregation.py are used nearly verbatim; driver.py in this repo orchestrates them).

Claim under test (Figure 4, p. 8): on GMSC with Kernel SHAP and K=100 background rows, the percentage of run-pair-instance comparisons exceeding the l2 randomized baseline rounds to 0% for every model and background sampling method, while the top-3 feature set differs between reruns in 10-65% of comparisons under Random / PredStrat / CTE backgrounds (Random: DT 10%, RF 29%, XGB 42%; PredStrat 37-65%; CTE 29-44%; K-Means 2-15%).

Setup (identical to the paper unless listed under Deviations)

  • Data: Give Me Some Credit (OpenML id 45577), median imputation, stratified subsample of 45,000 rows, 5-fold StratifiedKFold (shuffle, seed 42), fold 0 → test fold = 9,000 instances (full, no subsampling), d = 10 features, no categorical features.
  • Models: tuned DT / RF / XGB via the authors' models.py grid search, model seed 0, split seed 0.
  • Explainer: shap.KernelExplainer(f, bg, link="identity", seed=42), background size K=100, nsamples=1024 (covers the coalition space for d=10). Mean absolute additivity error rounded to zero on the runs checked. The driver skips that check for K-Means.
  • Background selectors bg_random / bg_kmeans_shap / bg_pred_stratified / bg_cte: verbatim copies of the authors' experiment_sampling.py; background seeds [0, 42, 84, 126, 168] → 5 explanation runs per (model, method) → 10 pairings × 9,000 instances = 90,000 comparisons per cell (same as the paper).
  • Metrics: authors' baseline.py + pairwise_aggregation.py; thresholds recomputed in-job (tau_l2 = 0.1250, tau_jac = 0.3008, tau_rbo = 0.1265, Mallows baselines with 20,000 trials); exceedance = strict > tau. Dependency pins: shap 0.54.1, xgboost 3.4.1, scikit-learn 1.9.1, pandas 3.1.2, numpy 2.5.5, huggingface_hub 2.5.0, pyarrow 26.0.1, goodpoints 0.6.3.

Results: my numbers vs the paper's Figure 4

l2 = exceedance of the l2 randomized baseline; top-3 = Jaccard (r=3) exceedance; RBO = 1-RBO exceedance. Published figure values are rounded percentages. Every cell is 90,000 run-pair-instance comparisons on the full 9,000-instance test fold.

Background Model top-3 (paper) top-3 (mine) l2 (paper) l2 (mine) RBO (paper) RBO (mine)
Random DT 10% 9.72% 0% 0.00% (0/90000) 23% 23.01%
Random RF 29% 29.66% 0% 0.00% (0/90000) 6% 6.22%
Random XGB 42% 42.26% 0% 0.00% (0/90000) 8% 8.57%
K-Means DT 2% 2.16% 0% 0.00% (0/90000) 0% 0.09%
K-Means RF 6% 5.20% 0% 0.00% (0/90000) 1% 0.71%
K-Means XGB 9% 7.97% 0% 0.00% (0/90000) 1% 0.47%
PredStrat DT 37% 13.82% 0% 0.00% (0/90000) 30% 23.10%
PredStrat RF 49% 41.12% 0% 0.00% (0/90000) 6% 22.01%
PredStrat XGB 65% 61.47% 0% 0.00% (0/90000) 25% 40.55%
CTE DT 29% 29.89% 0% 0.00% (0/90000) 26% 32.82%
CTE RF 40% 33.14% 0% 0.00% (0/90000) 8% 9.19%
CTE XGB 44% 35.45% 0% 0.00% (0/90000) 10% 8.13%

Verdict

Verified for the organizer's targeted Random-background test. Coverage is 12 of 20 Figure 4 cells.

Random-background top-3 churn reproduced to within one percentage point for DT, RF and XGB. The organizer's falsification conditions were not met: RF and XGB churn were 29.66% and 42.26% against 29% and 42% in the paper. We observed exactly zero l2 exceedances in 1,080,000 comparisons across the 12 reproduced cells. The ten pairs in a cell share the same five runs and test instances, so the comparison count supports descriptive reporting.

PredStrat–DT remains the largest top-3 gap (37% published, 13.82% reproduced). PredStrat–RF (49%, 41.12%), CTE–RF (40%, 33.14%) and CTE–XGB (44%, 35.45%) also differ. PredStrat–RF and PredStrat–XGB show higher 1-RBO exceedance in the rerun. The source of these gaps remains unresolved. Candidate checks include the authors' package versions, input row ordering, fitted model predictions, percentile-bin membership, and ties at the attribution rank cutoff.

The run covers three tree models on the full fold and all four background methods. The MLP and FT-Transformer cells remain untested. The calibrated exceedance thresholds are descriptive reference scales.

Reproducing

driver.py (v18) is self-contained: it downloads the author code snapshot, patches only torch/rtdl/tabpfn imports (unused by DT/RF/XGB), prepares the data, trains, explains, analyzes and pushes. After installing the Job dependency versions listed above in Python 3.12, run:

DRIVER_METHODS=random,kmeans,pred_stratified,cte python driver.py all --model all --n-test 9000 --outdir out --no-push

Per-run folders contain the SHAP objects and the corresponding aggregate JSONs. The driver stores test feature rows in its SHAP objects. See the archived job logs and the original Jobs links below.

Deviations from the paper (complete list)

  1. MLP / FTT models excluded (torch/GPU dependency); 12 of 20 Figure 4 cells (tree models × 4 backgrounds) run.
  2. OpenML's ARFF endpoint for GMSC (file_id 22116561) 404s; data fetched from OpenML's parquet mirror of the same file, then the authors' identical preprocessing (verified: 45,000×10, class balance 41,992/3,008).
  3. torch/rtdl/tabpfn imports stripped and torch-only class bodies deleted from models.py (never reachable for DT/RF/XGB); clean_memory's torch lines neutralized. Training code paths verbatim.
  4. The Jobs used the dependency versions listed above, which differ from the authors' environment; versions listed above.
  5. One trained model per configuration — same as the paper (no model-seed sweep).

Compute

The rerun used CPU-only Hugging Face Jobs. The six successful experiment jobs total about 18.6 job-wall-hours based on the durations below. ML Intern reported approximately $0.90 for the session, including execution attempts. The paper reports about 24 hours on an L40S for one GMSC configuration. These are different model and hardware workloads.

Submission package

See the public reproduction Space for the rerun kit and corrected comparison. The Space hosts the complete job-log archive, including the failed and cancelled jobs. The reviewed ML Intern trace is available separately.

Job log links

Downloads last month
61

Space using esab/gmsc-kernelshap-repro 1

Paper for esab/gmsc-kernelshap-repro