mlsanityData to 7 Oct 2026

From Decision Trees to Boolean Logic: A Fast and Unified SHAP Algorithm

arXiv 2511.09376 ↗First posted 12 Nov 2025cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

SHapley Additive exPlanations (SHAP) is a key tool for interpreting decision tree ensembles by assigning contribution values to features. It is widely used in finance, advertising, medicine, and other domains. Two main approaches to SHAP calculation exist: Path-Dependent SHAP, which leverages the tree structure for efficiency, and Background SHAP, which uses a background dataset to estimate feature distributions. We introduce WOODELF, a SHAP algorithm that integrates decision trees, game theory, and Boolean logic into a unified framework. For each consumer, WOODELF constructs a pseudo-Boolean formula that captures their feature values, the structure of the decision tree ensemble, and the entire background dataset. It then leverages this representation to compute Background SHAP in linear time. WOODELF can also compute Path-Dependent SHAP, Shapley interaction values, Banzhaf values, and Banzhaf interaction values. WOODELF is designed to run efficiently on CPU and GPU hardware alike. Available via the WOODELF Python package, it is implemented using NumPy, SciPy, and CuPy without relying on custom C++ or CUDA code. This design enables fast performance and seamless integration into existing frameworks, supporting large-scale computation of SHAP and other game-theoretic values in practice. For example, on a dataset with 3,000,000 rows, 5,000,000 background samples, and 127 features, WOODELF computed all Background Shapley values in 162 seconds on CPU and 16 seconds on GPU - compared to 44 minutes required by the best method on any hardware platform, representing 16x and 165x speedups, respectively.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 14 of its 58 references that are in the map. First posted on arXiv 12 Nov 2025.

Builds on

14 of 58 references.

References · 14

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  2. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  3. 2019The many Shapley values for model explanationcited by 341
  4. 2018Consistent Individualized Feature Attribution for Tree Ensemblescited by 279
  5. 2020True to the Model or True to the Data?cited by 123
  6. 2022Algorithms to estimate Shapley value feature attributionscited by 114
  7. 2020On the Tractability of SHAP Explanationscited by 92
  8. 2024shapiq: Shapley Interactions for Machine Learningcited by 42
  9. 2021Fast TreeSHAP: Accelerating SHAP Value Computation for Treescited by 28
  10. 2017CatBoost: unbiased boosting with categorical featurescited by 27
  11. 2019The Shapley Value of Tuples in Query Answeringcited by 23
  12. 2020GPUTreeShap: Massively Parallel Exact Calculation of SHAP Scores for Tree Ensemblescited by 14
2 more
  1. 2024SHAP values via sparse Fourier representationcited by 8
  2. 2022Understanding Interventional TreeSHAP : How and Why it Workscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.