Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles

Maximilian Muschalik, Fabian Fumagalli, Barbara Hammer, Eyke Hüllermeier
1/22/2024
cs.LG

No official code found. Best implementation: mmschlk/TreeSHAP-IQ (3 stars, last commit 2023-12-10).

Abstract

While shallow decision trees may be interpretable, larger ensemble models like gradient-boosted trees, which often set the state of the art in machine learning problems involving tabular data, still remain black box models. As a remedy, the Shapley value (SV) is a well-known concept in explainable artificial intelligence (XAI) research for quantifying additive feature attributions of predictions. The model-specific TreeSHAP methodology solves the exponential complexity for retrieving exact SVs from tree-based models. Expanding beyond individual feature attribution, Shapley interactions reveal the impact of intricate feature interactions of any order. In this work, we present TreeSHAP-IQ, an efficient method to compute any-order additive Shapley interactions for predictions of tree-based models. TreeSHAP-IQ is supported by a mathematical framework that exploits polynomial arithmetic to compute the interaction scores in a single recursive traversal of the tree, akin to Linear TreeSHAP. We apply TreeSHAP-IQ on state-of-the-art tree ensembles and explore interactions on well-established benchmark datasets.

View on arXivView PDF

Code Implementations(1)

mmschlk/TreeSHAP-IQCommunity100%

Supplement Material for research project

31PythonJun 26, 20232 years ago

Similar Papers

Cite this paper

@article{muschalik2024beyond,
  title  = {Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles},
  author = {Maximilian Muschalik and Fabian Fumagalli and Barbara Hammer and Eyke Hüllermeier},
  year   = {2024},
  eprint = {2401.12069},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.12069v1}
}

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

Discussion