Shapley Value Approximation Based on k-Additive Games

Guilherme Dean Pelegrina, Patrick Kolpaczki, Eyke Hüllermeier · OpenReview

Abstract

The Shapley value is the prevalent solution for fair division problems in which a payout is to be divided among multiple agents. By adopting a game-theoretic view, the idea of fair division and the Shapley value can also be used in machine learning to quantify the individual contribution of features or data points to the performance of a predictive model. Despite its popularity and axiomatic justification, the Shapley value suffers from a computational complexity that scales exponentially with the number of entities involved, and hence requires approximation methods for its reliable estimation. We propose SVA$k_{\text{ADD}}$, a novel approximation method that fits a $k$-additive surrogate game. By taking advantage of $k$-additivity, we are able to elicit the exact Shapley values of the surrogate game and then use these values as estimates for the original fair division problem. The efficacy of our method is evaluated empirically and compared to competing methods.

Introduction

In the field of Explainable AI (XAI), the Shapley value is considered the gold standard for fairly assigning credit to features. For instance, in a house price prediction model, it quantifies exactly how much the "number of bedrooms" contributed relative to the "zip code." However, calculating exact Shapley values for $n$ features requires $2^n$ model evaluations. This exponential complexity makes exact calculation impossible for real-world models with many features, necessitating efficient approximation methods.

This paper introduces SVA$k_{\text{ADD}}$, a novel method to approximate Shapley values by fitting a simplified "k-additive" surrogate game to a small number of samples. By focusing on interactions between small groups of features (up to size $k$), the method achieves faster convergence and higher accuracy than current state-of-the-art approximation methods like KernelSHAP.

Methodology: The SVA$k_{\text{ADD}}$ Framework

The core innovation of SVA$k_{\text{ADD}}$ (Shapley Value Approximation under k-additivity) is shifting the problem from simple sample averaging to fitting a structured surrogate model.

Workflow of the SVA$k_{\text{ADD}}$ approximation method, illustrating the transition from a cooperative game to a $k$-additive surrogate game.

The process involves three main steps:

  1. The Surrogate Game: Instead of estimating the full complex game, the method fits a $k$-additive game. This assumes interactions between features only occur in groups of size $k$ or smaller.
  2. Weighted Least Squares: A small number of feature combinations (coalitions) are sampled, and their model outputs are recorded. A weighted least squares optimization problem is then solved to find the $k$-additive game that best mimics the real model.
  3. Analytic Weights and Exact Elicitation: The authors derived specific weights ($w^*_A$) for the optimization. They proved that for $k \leq 3$, the solution to this optimization yields the true Shapley values of the original game if sufficient data is available. Once the surrogate game is fitted, Shapley values are calculated instantly from its parameters.

Experimental Evaluation

The authors evaluated SVA$k_{\text{ADD}}$ across nine datasets covering global importance, local attribution, and unsupervised importance tasks.

Average MSE vs. number of value function evaluations for the Titanic dataset ($n=11$), showing convergence for different values of $k$.

Key Results

  • Faster Convergence: SVA$k_{\text{ADD}}$ consistently reached lower Mean Squared Error (MSE) with fewer model evaluations compared to KernelSHAP and Stratified SVARM.
  • The "Goldilocks" Zone: Experiments suggest that $k=3$ (considering interactions up to triplets) provides the best balance, offering enough flexibility to capture complex behavior while remaining computationally efficient.
  • Superior Local Explanations: The method was particularly effective in local feature attribution tasks, such as explaining individual ImageNet predictions, where it significantly outperformed competitors.

Discussion and Conclusion

SVA$k_{\text{ADD}}$ demonstrates that $k$-additivity is a powerful structural prior for Shapley value estimation. Even if the underlying model has higher-order interactions, the $k$-additive framework helps the approximation converge faster.

While highly effective, the method faces a "cold start" problem: a minimum number of samples is required to solve the least-squares equations, which increases with $k$ and the number of features. Future work may explore proving the theorem for $k > 3$ and utilizing the framework's inherent ability to produce interaction indices to explain feature dependencies.

Summary updated

BibTeX
@misc{pelegrina2025shapley,
  author = {Guilherme Dean Pelegrina and Patrick Kolpaczki and Eyke Hüllermeier},
  title = {{Shapley Value Approximation Based on k-Additive Games}},
  year = {2025},
  eprint = {2502.04763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.04763},
}
Figure