The Bottleneck in Explainable AI
In Explainable AI (XAI), Shapley values are considered the gold standard for "credit assignment"—determining exactly how much each input feature contributed to a model's specific prediction. However, calculating them exactly is computationally prohibitive for large models because it requires evaluating $2^d$ feature combinations (where $d$ is the number of features).
The popular KernelSHAP algorithm addresses this by treating the problem as a weighted linear regression: it samples a few feature subsets, observes the model's reaction, and fits a linear model to estimate the contributions. The critical gap in this approach is that real-world models are rarely linear; features interact in complex, non-additive ways. KernelSHAP’s linear assumption ignores these interactions, leading to less accurate explanations unless a massive number of samples are taken.
Introducing PolySHAP
To capture these complex feature dynamics, the authors introduce PolySHAP, which extends the KernelSHAP regression framework to include higher-order interaction terms (polynomials).
Instead of just fitting $\phi_i$ (the isolated effect of feature $i$), PolySHAP fits terms like $\phi_{ij}$ (the interaction between feature $i$ and $j$).
A vital contribution of the paper is the Recovery Theorem (Theorem 4.3). The authors prove a consistency result demonstrating that you can mathematically "collapse" a high-degree polynomial back into standard Shapley values. This means practitioners can use a complex, interaction-aware model to get a much better fit of the underlying data, and then extract the simple, one-dimensional feature importance values that users expect.
Solving the "Paired Sampling" Mystery
For years, practitioners have known that sampling subsets in pairs (a set $S$ and its complement $D \setminus S$) made KernelSHAP much more accurate. Until now, this was largely treated as a variance-reduction heuristic.
The most significant theoretical leap in this paper (Theorem 5.1) proves that Paired KernelSHAP produces the exact same results as a second-order PolySHAP model. This reveals that paired sampling isn't just a statistical trick; it is implicitly capturing all second-order feature interactions for free, without ever explicitly fitting a degree-2 polynomial.
Key Results and Performance
The authors evaluated PolySHAP across 15 different "explanation games" spanning tabular data (e.g., Housing, Breast Cancer), image classification (ResNet18, ViT), and language modeling (DistilBERT).
- Superior Accuracy: By explicitly modeling interactions (e.g., "Feature A only matters if Feature B is also present"), PolySHAP achieves a much better fit of the underlying model with fewer samples. Across almost all datasets, 3-PolySHAP (using 3rd-degree interactions) significantly outperformed KernelSHAP and other baselines in terms of Mean Squared Error (MSE).
- Better Rankings: In the
Precision@5metric (how well the algorithm identifies the top 5 most important features), PolySHAP variants consistently reached high accuracy with lower sampling budgets than traditional methods. - Consistency: Unlike some recent tree-based estimators, PolySHAP is a "consistent" estimator. As the number of samples increases, it is guaranteed to converge to the true Shapley values regardless of the interaction frontier chosen.
Limitations and Future Work
While PolySHAP offers a more accurate path to Shapley values, it is not without challenges:
- The Dimensionality Curse: As the number of features ($d$) grows, the number of possible interactions grows combinatorially ($d^k$). For very high-dimensional models (e.g., $d > 100$), it becomes computationally impossible to include all 3rd-order interactions.
- Frontier Selection: Currently, PolySHAP uses a "k-additive" frontier (modeling all interactions up to degree $k$). Future work could involve "Interaction-Informed" frontiers—automatically detecting which specific feature pairs are most important to model, rather than brute-forcing them all.
- Higher-Order Proofs: While the authors proved the equivalence for $k=2$ (paired sampling), they empirically observed that paired sampling also collapses the hierarchy for odd $k$ (e.g., paired 3-PolySHAP equals 4-PolySHAP). The formal proof for this higher-order equivalence remains an open challenge.
Summary updated