Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles
Maximilian Muschalik, Fabian Fumagalli, Barbara Hammer, Eyke Hüllermeier
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Tree Ensemble Explainability through the Hoeffding Functional Decomposition and TreeHFD Algorithm cites Problems with Shapley-value-based explanations as feature importance measures
- TreeGrad-Ranker: Feature Ranking via O(L)-Time Gradients for Decision Trees cites FastSHAP: Real-Time Shapley Value Estimation
- KernelSHAP-IQ: Weighted Least Square Optimization for Shapley Interactions cites Problems with Shapley-value-based explanations as feature importance measures
- KernelSHAP-IQ: Weighted Least Square Optimization for Shapley Interactions cites FastSHAP: Real-Time Shapley Value Estimation
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites The Many Shapley Values for Model Explanation
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites KernelSHAP-IQ: Weighted Least Square Optimization for Shapley Interactions
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites Problems with Shapley-value-based explanations as feature importance measures
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites The Shapley Taylor Interaction Index
- SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism cites FastSHAP: Real-Time Shapley Value Estimation
- A Comprehensive Study of Shapley Value in Data Analytics cites The Many Shapley Values for Model Explanation
- A Comprehensive Study of Shapley Value in Data Analytics cites Problems with Shapley-value-based explanations as feature importance measures
- FastSHAP: Real-Time Shapley Value Estimation cites Understanding Global Feature Contributions With Additive Importance Measures
Cited by top-tier papers12
- KernelSHAP-IQ: Weighted Least Square Optimization for Shapley InteractionsFabian Fumagalli, Maximilian Muschalik, Patrick Kolpaczki, Eyke Hüllermeier et al.ICML 2024 · 20 citations
- SHAP Meets Tensor Networks: Provably Tractable Explanations with ParallelismReda Marzouk, Shahaf Bassan, Guy KatzNeurIPS 2025 · 9 citations
- Tree Ensemble Explainability through the Hoeffding Functional Decomposition and TreeHFD AlgorithmClément BénardNeurIPS 2025 · 7 citations
- TreeGrad-Ranker: Feature Ranking via O(L)-Time Gradients for Decision TreesWeida Li, Yaoliang Yu, Bryan Kian Hsiang LowICLR 2026 · 5 citations
- A Comprehensive Study of Shapley Value in Data AnalyticsHong Lin, Shixin Wan, Zhongle Xie, Ke Chen et al.VLDB 2025 · 4 citations
Builds on12
- The Many Shapley Values for Model ExplanationMukund Sundararajan, Amir NajmiICML 2020 · 799 citations
- Understanding Global Feature Contributions With Additive Importance MeasuresIan Covert, Scott M. Lundberg, Su-In LeeNeurIPS 2020 · 476 citations
- Problems with Shapley-value-based explanations as feature importance measuresI. Elizabeth Kumar, Suresh Venkatasubramanian, Carlos Scheidegger, Sorelle A. FriedlerICML 2020 · 458 citations
- The Shapley Taylor Interaction IndexMukund Sundararajan, Kedar Dhamdhere, Ashish AgarwalICML 2020 · 199 citations
- FastSHAP: Real-Time Shapley Value EstimationNeil Jethani, Mukund Sudarshan, Ian Connick Covert, Su-In Lee et al.ICLR 2022 · 186 citations
Related papers
- SHAP-IQ: Unified Approximation of any-order Shapley InteractionsFabian Fumagalli, Maximilian Muschalik, Patrick Kolpaczki, Eyke Hüllermeier et al.NeurIPS 2023 · 80 citations
- Exact Computation of Any-Order Shapley Interactions for Graph Neural NetworksMaximilian Muschalik, Fabian Fumagalli, Paolo Frazzetto, Janine Strotherm et al.ICLR 2025
- Interventional SHAP Values and Interaction Values for Piecewise Linear Regression TreesArtjom Zern, Klaus Broelemann, Gjergji KasneciAAAI 2023 · 27 citations
- Linear tree shapPeng Yu, Albert Bifet, Jesse Read, Chao XuNeurIPS 2022 · 27 citations
- Succinct Interaction-Aware ExplanationsSascha Xu, Joscha Cüppers, Jilles VreekenKDD 2025
