TL;DR
SIM-Shapley reformulates Shapley value estimation—traditionally solved via static Sample Average Approximation (SAA) in KernelSHAP—into a dynamic stochastic optimization problem with momentum updates. By combining mini-batch sampling, an $\ell_2$ penalty, and variance-monitoring stability controls, it slashes runtime by up to 85% compared to baseline methods while providing theoretical guarantees of linear $Q$-convergence.
What Problem Does This Paper Address?
Shapley values (SV) offer an axiomatic, theoretically grounded framework for feature attribution in explainable AI (XAI). However, computing exact SV requires evaluating an exponential number of feature subsets ($O(d \cdot 2^d)$ for $d$ features).
Widely used sampling-based estimators like KernelSHAP frame SV estimation as a weighted least squares (WLS) problem solved via Monte Carlo sample average approximation (SAA). In practice, SAA requires massive subset sample sizes to avoid singular matrices or large estimation variance. Meanwhile, amortized deep-learning alternatives like FastSHAP require training separate neural network explainer models, which undermines transparency and introduces heavy training overhead.
The paper aims to bridge this gap: providing a fast, model-agnostic, game-agnostic SV estimator that avoids training extra neural networks while converging much faster than standard SAA.
Methods
The authors introduce SIM-Shapley (Stochastic Iterative Momentum for Shapley values), which shifts from batch SAA to incremental Stochastic Approximation (SA):
-
Iterative Momentum Update: Rather than solving a massive WLS problem at once, the algorithm updates the attribution vector $\beta^{(n)}$ iteratively using an exponential moving average (EMA) scheme: $$\beta^{(n+1)} = t \beta^{(n)} + (1 - t) \delta^{(n+1)}$$ where $t \in (0, 1)$ is momentum, and $\delta^{(n+1)}$ is the closed-form solution to a constrained quadratic subproblem on a small mini-batch of sampled coalitions.
-
$\ell_2$ Regularization: An explicit $\ell_2$ penalty ($\lambda \|\delta^{(n+1)}\|_2^2$) ensures strict convexity and guarantees invertibility of the sample covariance matrix even with small mini-batch sizes.
- Variance-Based Stopping Criterion: Instead of fixed iteration counts, the algorithm tracks online feature variance via Welford’s algorithm and terminates when residual standard errors drop below an $\epsilon$-fraction of the attribution span.
- Stability Mechanisms (Stable-SIM-Shapley):
- Negative-Sampling Detection: Rejects mini-batches that spike variance ($r > \xi$) due to duplicate or low-quality coalitions.
- Initialization Bias Correction: Employs an Adam-style dynamic weighting to eliminate early-stage bias caused by initializing $\beta^{(0)} = 0$.
Datasets
The authors evaluate SIM-Shapley across tabular and high-dimensional image benchmarks:
- Census / Adult (14 features) — Binary classification
- South German Credit (20 features) — Binary classification
- Portuguese Bank Marketing (16 features) — Binary classification
- NYC Airbnb Listings (15 features) — Regression
- Bike Sharing Demand (12 features) — Regression
- MNIST (784 pixel features) — Computer vision / image classification
- MIMIC-IV Emergency Department (MIMIC-IV-ED) (56 clinical features) — Real-world clinical in-hospital mortality prediction
Key Insights and Ideas
- Stochastic Approximation Beats SAA: In stochastic optimization literature, SA often achieves better convergence rates than full-batch SAA; framing SV estimation around momentum mini-batching directly inherits these computational advantages.
- Provable Linear $Q$-Convergence: The authors prove that the fixed-point iteration mapping converges linearly with rate $\rho(G) = t \cdot \frac{\lambda}{\alpha + \lambda} < 1$, where $\alpha$ is the minimal eigenvalue of the subset second-moment matrix.
- Variance Contraction: Each momentum update guarantees that parameter variance shrinks geometrically: $\text{Var}(\beta^{(n+1)}_i) \le (1 - t)^2 \text{Var}(\hat{\beta}_i)$.
- Full Transparency Without Explainer Networks: Unlike amortized methods (FastSHAP) that introduce a black-box neural net to explain another black-box model, SIM-Shapley preserves the exact closed-form WLS formulation, retaining full mathematical transparency.
Key Results
- Runtime Reductions:
- On the MIMIC-IV-ED and standard ML benchmarks, SIM-Shapley and Stable-SIM-Shapley reduce computation time by up to 85%.
- For global explanations evaluated against SAGE, SIM-Shapley delivers 60% to 75% runtime reductions (e.g., Bank dataset time drops from 171.39s to 37.16s) while maintaining >0.95 Pearson correlation.
- On local explanations across tabular tasks, it achieves a 1.5× to 6× speedup over KernelSHAP with $\ge 0.91$ agreement.
- High-Dimensional Image Data (MNIST, $d=784$):
- SIM-Shapley runs in 8.53 seconds versus KernelSHAP’s 22.47 seconds (a 62% speedup) at comparable bias ($0.007$ vs. $0.006$).
- FastSHAP required over 11 minutes (703s) of explainer training and yielded $3.5\times$ worse bias ($0.025$).
- Clinical Alignment: On MIMIC-IV-ED, an independent board-certified emergency physician validated that the top-10 identified risk factors (e.g., vital signs, age, comorbidity burden) align with standard clinical triage scales like CTAS and Charlson Comorbidity Index.
Limitations and Future Work
- Heuristic Online Variance: The tracked online variance via Welford’s algorithm is technically biased because successive iterates $\beta^{(n)}$ are serially dependent through momentum. The authors note this serves as an effective practical stopping heuristic rather than a strict statistical variance estimator.
- First-Order Attributions Only: The paper restricts focus to classical, first-order Shapley feature attributions, leaving higher-order interaction effects (e.g., Shapley Interactions / Shapley-IQ) for future research.
- Adaptive Hyperparameters: Momentum $t$ and regularization $\lambda$ are currently fixed globally rather than adapted dynamically based on feature curvature or optimization progress.
Summary updated