Quadrature-TreeSHAP: Depth-Independent TreeSHAP and Shapley Interactions
Ron Wettenstein, Rory Mitchell, Peng Yu

TL;DR
Quadrature-TreeSHAP offers a numerically stable, depth-independent method for computing Shapley values and interactions in tree ensembles, significantly improving speed and stability over existing approaches.
Contribution
It introduces a quadrature-based reformulation of TreeSHAP that extends support to any-order interactions and enhances computational efficiency and stability.
Findings
Achieves greater numerical stability than TreeSHAP.
Faster computation of Shapley values and interactions on benchmarks.
Supports both CPU and GPU implementations with significant speedups.
Abstract
Shapley values are a standard tool for explaining predictions of tree ensembles, with Path-Dependent SHAP being the most widely used variant. Despite substantial progress, existing methods still exhibit trade-offs between depth-dependent runtime, numerical stability, and support for higher-order interactions. To address these challenges, we introduce Quadrature-TreeSHAP, a quadrature-based reformulation of Path-Dependent TreeSHAP that is numerically stable, naturally extends to any-order Shapley interaction values and is practically insensitive to tree depth. Our implementation supports both CPU and GPU and is integrated into XGBoost. Our method is based on a weighted-Banzhaf interaction polynomial, which expresses Banzhaf interaction values as expectations under a feature participation probability . Shapley values and any-order interaction values are then recovered by integrating…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
