SIM-Shapley: A Stable and Computationally Efficient Approach to Shapley Value Approximation
Wangxuan Fan, Siqi Li, Doudou Zhou, Yohei Okada, Chuan Hong, Molei Liu, Nan Liu
TL;DR
The paper tackles the high computational cost of Shapley-value based feature attribution in high-dimensional models. It introduces SIM-Shapley, a stochastic iterative momentum method with an ℓ2 penalty that reframes KernelSHAP estimation as a mini-batch stochastic optimization, achieving linear $Q$-convergence with rate $\rho = t \cdot \frac{\lambda}{\alpha+\lambda}$. Two stability enhancements—negative-sampling rejection and initialization bias correction—further improve convergence without harming attribution quality. Empirically, SIM-Shapley reaches up to 85% speedups while maintaining accuracy across classification, regression, and image tasks (including MNIST and MIMIC-IV-ED), and scales to global explanations with strong agreement to SAGE. The approach is model- and imputer-agnostic, compatible with KernelSHAP enhancements, and extends to broader sample-average-approximation objectives.
Abstract
Explainable artificial intelligence (XAI) is essential for trustworthy machine learning (ML), particularly in high-stakes domains such as healthcare and finance. Shapley value (SV) methods provide a principled framework for feature attribution in complex models but incur high computational costs, limiting their scalability in high-dimensional settings. We propose Stochastic Iterative Momentum for Shapley Value Approximation (SIM-Shapley), a stable and efficient SV approximation method inspired by stochastic optimization. We analyze variance theoretically, prove linear $Q$-convergence, and demonstrate improved empirical stability and low bias in practice on real-world datasets. In our numerical experiments, SIM-Shapley reduces computation time by up to 85% relative to state-of-the-art baselines while maintaining comparable feature attribution quality. Beyond feature attribution, our stochastic mini-batch iterative framework extends naturally to a broader class of sample average approximation problems, offering a new avenue for improving computational efficiency with stability guarantees. Code is publicly available at https://github.com/nliulab/SIM-Shapley.
