Skip to main content
QUICK REVIEW

[Paper Review] Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regression

Ian Covert, Su‐In Lee|arXiv (Cornell University)|Dec 2, 2020
Explainable Artificial Intelligence (XAI)Computer Science9 citations
TL;DR

This paper improves KernelSHAP by introducing an unbiased linear regression-based estimator for Shapley values, enabling convergence detection, uncertainty quantification, and variance reduction. It demonstrates that the original KernelSHAP has negligible bias but significantly lower variance, and proposes a practical framework for efficient, reliable Shapley value estimation in model-agnostic and stochastic cooperative game settings.

ABSTRACT

The Shapley value concept from cooperative game theory has become a popular technique for interpreting ML models, but efficiently estimating these values remains challenging, particularly in the model-agnostic setting. Here, we revisit the idea of estimating Shapley values via linear regression to understand and improve upon this approach. By analyzing the original KernelSHAP alongside a newly proposed unbiased version, we develop techniques to detect its convergence and calculate uncertainty estimates. We also find that the original version incurs a negligible increase in bias in exchange for significantly lower variance, and we propose a variance reduction technique that further accelerates the convergence of both estimators. Finally, we develop a version of KernelSHAP for stochastic cooperative games that yields fast new estimators for two global explanation methods.

Motivation & Objective

  • To address the lack of convergence detection and uncertainty quantification in the original KernelSHAP method.
  • To analyze the bias-variance trade-off between the original and a newly proposed unbiased version of KernelSHAP.
  • To develop a variance reduction technique that accelerates convergence of Shapley value estimators.
  • To extend the regression-based approach to stochastic cooperative games for faster global explanation methods like SAGE and Shapley Effects.
  • To provide practical tools for determining sample size and assessing estimator reliability in real-world applications.

Proposed method

  • Proposes an unbiased variant of KernelSHAP by reformulating the regression objective to eliminate systematic error in estimation.
  • Uses Welford’s algorithm for online estimation of mean and covariance to enable real-time convergence monitoring.
  • Introduces a convergence criterion based on the ratio of uncertainty (standard deviation) to the range of estimated Shapley values.
  • Applies variance reduction via antithetic sampling, where each sample is paired with its complement to reduce estimator variance.
  • Adapts the regression framework to stochastic cooperative games by modeling expected game values over random variables, enabling fast approximations for global explanation methods.
  • Derives uncertainty estimates using the empirical covariance of intermediate regression estimates, scaled by the number of samples.

Experimental results

Research questions

  • RQ1Does the original KernelSHAP estimator have significant bias, and how does its variance compare to an unbiased alternative?
  • RQ2Can convergence of the Shapley value estimator be reliably detected during sampling without full computation?
  • RQ3Can uncertainty estimates be meaningfully derived for regression-based Shapley value estimation?
  • RQ4How effective is variance reduction via antithetic sampling in accelerating convergence of Shapley value estimators?
  • RQ5Can the regression-based approach be extended to stochastic cooperative games to enable fast global explanation methods?

Key findings

  • The original KernelSHAP estimator incurs a negligible increase in bias compared to the unbiased version but exhibits significantly lower variance, making it more stable and faster to converge.
  • The proposed convergence detection method, based on the ratio of uncertainty to value range, reliably identifies when sufficient samples have been collected.
  • Uncertainty estimates derived from the empirical covariance of intermediate regression results provide a valid measure of estimation reliability.
  • The variance reduction technique using antithetic sampling reduces estimator variance and accelerates convergence, particularly in high-dimensional settings.
  • The extension to stochastic cooperative games enables fast, accurate approximations for global explanation methods such as SAGE and Shapley Effects, with reduced computational cost.
  • Empirical results confirm that the unbiased regression-based estimator achieves comparable or better performance than sampling-based alternatives while providing uncertainty quantification and convergence monitoring.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.