Beyond Shapley: Efficient Computation of Asymmetric Shapley Values

Ezequiel Companeetz, Santiago Cifuentes, Sergio Abriola
6/23/2026
cs.AI

No confident code implementation found for this paper.

Abstract

We address the problem of explainability in machine learning models through feature attribution methods. In particular, we consider a variant of Shapley values known as Asymmetric Shapley Values (ASV), which enables the incorporation of causal knowledge into model-agnostic explanations through the use of a causal graph. We show that in certain contexts in which the computation of SHAP is $\#P$-hard, the exact computation of ASV can be done in polynomial time. To extend this algorithmic result, we introduce a notion of equivalence classes over the topological orderings of the underlying causal graph, which is useful to reduce the time to compute ASV. In particular, we present a polynomial-time algorithm (in the number of equivalence classes) to compute it whenever the causal graph is a rooted directed tree. Finally, we develop an algorithm for approximating ASV in arbitrary causal DAGs which relies on a procedure to sample topological orderings uniformly at random. To implement this sampling mechanism we leverage known algorithms as well as simpler alternatives. Our experimental results demonstrate the practical viability of the proposed approach in realistic causal structures.

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!

Similar Papers

Cite this paper

@article{companeetz2026beyond,
  title  = {Beyond Shapley: Efficient Computation of Asymmetric Shapley Values},
  author = {Ezequiel Companeetz and Santiago Cifuentes and Sergio Abriola},
  year   = {2026},
  eprint = {2606.25103},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.25103v1}
}

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

Discussion