Quadrature-TreeSHAP: Fast and Stable Shapley Values and Interactions at Any Depth
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:44 UTC · 984bdc0ed103 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "WiR8LMoIJi"- }- ],- "title": "Quadrature-TreeSHAP: Fast and Stable Shapley Values and Interactions at Any Depth",- "authors": [],- "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. \nOur implementation supports both CPU and GPU and is integrated into XGBoost.\n\nOur method is based on a weighted-Banzhaf interaction polynomial, which expresses Banzhaf interaction values as expectations under a feature participation probability $p$. Shapley values and any-order interaction values are then recovered by integrating these polynomials over $p$ from 0 to 1. We evaluate these integrals using Gauss--Legendre quadrature, and show that, in practice, only $8$ fixed quadrature points are sufficient to reach machine precision. In fact, Quadrature-TreeSHAP with $8$ fixed points achieves greater numerical stability than TreeSHAP. This fixed-point formulation removes depth dependence from the inner computation and enables efficient SIMD execution. \n\nWe confirm these advantages empirically. On 12 XGBoost benchmarks, Quadrature-TreeSHAP computes Shapley values $1.06\\times$ to $10.59\\times$ faster than TreeSHAP on CPU and $1.84\\times$ to $6.95\\times$ faster than GPUTreeSHAP on GPU. Shapley pairwise interactions are $3.80\\times$ to $58.11\\times$ faster on CPU, with higher-order interactions achieving speedups of up to $1200\\times$ compared to TreeSHAP-IQ.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "f6b259f5-f993-417f-b8ec-4b8e8a5303dd"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Quadrature-TreeSHAP: Fast and Stable Shapley Values and Interactions at Any Depth",+ "authors": [],+ "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. \nOur implementation supports both CPU and GPU and is integrated into XGBoost.\n\nOur method is based on a weighted-Banzhaf interaction polynomial, which expresses Banzhaf interaction values as expectations under a feature participation probability $p$. Shapley values and any-order interaction values are then recovered by integrating these polynomials over $p$ from 0 to 1. We evaluate these integrals using Gauss--Legendre quadrature, and show that, in practice, only $8$ fixed quadrature points are sufficient to reach machine precision. In fact, Quadrature-TreeSHAP with $8$ fixed points achieves greater numerical stability than TreeSHAP. This fixed-point formulation removes depth dependence from the inner computation and enables efficient SIMD execution. \n\nWe confirm these advantages empirically. On 12 XGBoost benchmarks, Quadrature-TreeSHAP computes Shapley values $1.06\\times$ to $10.59\\times$ faster than TreeSHAP on CPU and $1.84\\times$ to $6.95\\times$ faster than GPUTreeSHAP on GPU. Shapley pairwise interactions are $3.80\\times$ to $58.11\\times$ faster on CPU, with higher-order interactions achieving speedups of up to $1200\\times$ compared to TreeSHAP-IQ.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}