TreeGrad-Ranker: Feature Ranking via O(L)-Time Gradients for Decision Trees
Not on the map. Why?
Abstract (arXiv)
We revisit the use of probabilistic values, which include the well-known Shapley and Banzhaf values, to rank features for explaining the local predicted values of decision trees. The quality of feature rankings is typically assessed with the insertion and deletion metrics. Empirically, we observe that co-optimizing these two metrics is closely related to a joint optimization that selects a subset of features to maximize the local predicted value while minimizing it for the complement. However, we theoretically show that probabilistic values are generally unreliable for solving this joint optimization. Therefore, we explore deriving feature rankings by directly optimizing the joint objective. As the backbone, we propose TreeGrad, which computes the gradients of the multilinear extension of the joint objective in O(L) time for decision trees with L leaves; these gradients include weighted Banzhaf values. Building upon TreeGrad, we introduce TreeGrad-Ranker, which aggregates the gradients while optimizing the joint objective to produce feature rankings, and TreeGrad-Shap, a numerically stable algorithm for computing Beta Shapley values with integral parameters. In particular, the feature scores computed by TreeGrad-Ranker satisfy all the axioms uniquely characterizing probabilistic values, except for linearity, which itself leads to the established unreliability. Empirically, we demonstrate that the numerical error of Linear TreeShap can be up to 1015 times larger than that of TreeGrad-Shap when computing the Shapley value. As a by-product, we also develop TreeProb, which generalizes Linear TreeShap to support all probabilistic values. In our experiments, TreeGrad-Ranker performs significantly better on both insertion and deletion metrics. Our code is available at https://github.com/watml/TreeGrad.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 19 of its 43 references that are in the map. First posted on arXiv 12 Feb 2026.
Builds on
19 of 43 references.
References · 19
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
- 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
- 2019Towards Efficient Data Valuation Based on the Shapley Valuecited by 279
- 2023When Do Neural Nets Outperform Boosted Trees on Tabular Data?cited by 218
- 2021Beta Shapley: a Unified and Noise-reduced Data Valuation Framework for Machine Learningcited by 162
- 2020Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regressioncited by 153
- 2021FastSHAP: Real-Time Shapley Value Estimationcited by 123
- 2020Shapley explainability on the data manifoldcited by 88
- 2022Impossibility Theorems for Feature Attributioncited by 78
- 2022Learning to Estimate Shapley Values with Vision Transformerscited by 44
- 2022WeightedSHAP: analyzing and improving Shapley based feature attributionscited by 36
7 more
- 2023Approximating the Shapley Value without Marginal Contributionscited by 34
- 2024Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensemblescited by 30
- 2024Rethinking Data Shapley for Data Selection Tasks: Misleads and Meritscited by 29
- 2021Fast TreeSHAP: Accelerating SHAP Value Computation for Treescited by 28
- 2022Linear TreeShapcited by 12
- 2024One Sample Fits All: Approximating All Probabilistic Values Simultaneously and Efficientlycited by 9
- 2024Fast Calculation of Feature Contributions in Boosting Treescited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Adalina: Adaptive Linear Approximation for the Shapley Value and Beyondcited by 1
- 2026Quadrature-TreeSHAP: Depth-Independent TreeSHAP and Shapley Interactionscited by 1
- 2026WOODELF-HD: Efficient Background SHAP for High-Depth Decision Treescited by 0
- 2026Nonlinear Axiomatic Attribution for Cooperative Gamescited by 0
- 2026Nonlinear Axiomatic Attribution for Cooperative Games10 Jul 2026
- 2026Quadrature-TreeSHAP: Depth-Independent TreeSHAP and Shapley Interactions6 May 2026
- 2026WOODELF-HD: Efficient Background SHAP for High-Depth Decision Trees12 Apr 2026
- 2026Adalina: Adaptive Linear Approximation for the Shapley Value and Beyond9 Apr 2026