PolySHAP: Extending KernelSHAP with Interaction-Informed Polynomial Regression

Fabian Fumagalli, R. Teal Witter, Christopher Musco
1/26/2026
cs.AIcs.LG

No official code found. Best implementation: FFmgll/PolySHAP (3 stars, MIT, last commit 2026-02-16).

Abstract

Shapley values have emerged as a central game-theoretic tool in explainable AI (XAI). However, computing Shapley values exactly requires $2^d$ game evaluations for a model with $d$ features. Lundberg and Lee's KernelSHAP algorithm has emerged as a leading method for avoiding this exponential cost. KernelSHAP approximates Shapley values by approximating the game as a linear function, which is fit using a small number of game evaluations for random feature subsets. In this work, we extend KernelSHAP by approximating the game via higher degree polynomials, which capture non-linear interactions between features. Our resulting PolySHAP method yields empirically better Shapley value estimates for various benchmark datasets, and we prove that these estimates are consistent. Moreover, we connect our approach to paired sampling (antithetic sampling), a ubiquitous modification to KernelSHAP that improves empirical accuracy. We prove that paired sampling outputs exactly the same Shapley value approximations as second-order PolySHAP, without ever fitting a degree 2 polynomial. To the best of our knowledge, this finding provides the first strong theoretical justification for the excellent practical performance of the paired sampling heuristic.

View on arXivView PDF

Code Implementations(1)

FFmgll/PolySHAPCommunity67%
MIT

Supplementary Material for "PolySHAP: Extending KernelSHAP with Interaction-Informed Polynomial Regression"

30PythonFeb 13, 20268 months agoMIT

Similar Papers

Cite this paper

@article{fumagalli2026polyshap,
  title  = {PolySHAP: Extending KernelSHAP with Interaction-Informed Polynomial Regression},
  author = {Fabian Fumagalli and R. Teal Witter and Christopher Musco},
  year   = {2026},
  eprint = {2601.18608},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.18608v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.18608.svg)](https://codeofpaper.com/paper/2601.18608)

Discussion