KernelSHAP-IQ: Weighted Least-Square Optimization for Shapley Interactions
Fabian Fumagalli, Maximilian Muschalik, Patrick Kolpaczki, Eyke Hüllermeier, Barbara Hammer
TL;DR
This work extends the Shapley framework to higher-order interactions by showing that Shapley Interaction Index (SII) can be characterized as the solution to a weighted least-squares problem, enabling optimal $k$-additive approximations via $k$-SII. It provides rigorous results for the SV and pairwise SII, and introduces KernelSHAP-IQ, a practical, KernelSHAP-inspired method for estimating interactions with state-of-the-art performance. The authors also present a consistent variant that converges to SII and an inconsistent variant that can outperform baselines in low-budget settings, along with conjectures for higher orders supported by empirical evidence. The approach yields more informative local explanations by incorporating interactions, with broad potential for both model interpretability and data valuation in complex ML systems.
Abstract
The Shapley value (SV) is a prevalent approach of allocating credit to machine learning (ML) entities to understand black box ML models. Enriching such interpretations with higher-order interactions is inevitable for complex systems, where the Shapley Interaction Index (SII) is a direct axiomatic extension of the SV. While it is well-known that the SV yields an optimal approximation of any game via a weighted least square (WLS) objective, an extension of this result to SII has been a long-standing open problem, which even led to the proposal of an alternative index. In this work, we characterize higher-order SII as a solution to a WLS problem, which constructs an optimal approximation via SII and $k$-Shapley values ($k$-SII). We prove this representation for the SV and pairwise SII and give empirically validated conjectures for higher orders. As a result, we propose KernelSHAP-IQ, a direct extension of KernelSHAP for SII, and demonstrate state-of-the-art performance for feature interactions.
