When is the Computation of a Feature Attribution Method Tractable?

P. Barceló, R. Cominetti, M. Morgado
1/4/2025
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Feature attribution methods have become essential for explaining machine learning models. Many popular approaches, such as SHAP and Banzhaf values, are grounded in power indices from cooperative game theory, which measure the contribution of features to model predictions. This work studies the computational complexity of power indices beyond SHAP, addressing the conditions under which they can be computed efficiently. We identify a simple condition on power indices that ensures that computation is polynomially equivalent to evaluating expected values, extending known results for SHAP. We also introduce Bernoulli power indices, showing that their computation can be simplified to a constant number of expected value evaluations. Furthermore, we explore interaction power indices that quantify the importance of feature subsets, proving that their computation complexity mirrors that of individual features.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{barcel2025when,
  title  = {When is the Computation of a Feature Attribution Method Tractable?},
  author = {P. Barceló and R. Cominetti and M. Morgado},
  year   = {2025},
  eprint = {2501.02356},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02356v1}
}

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/2501.02356.svg)](https://codeofpaper.com/paper/2501.02356)

Discussion