WOODELF-HD: Efficient Background SHAP for High-Depth Decision Trees
Abstract
Decision-tree ensembles are a cornerstone of predictive modeling, and SHAP is a standard framework for interpreting their predictions. Among its variants, Background SHAP offers high accuracy by modeling missing features using a background dataset. Historically, this approach did not scale well, as the time complexity for explaining instances using background samples included an component. Recent methods such as Woodelf and PLTreeSHAP reduce this to , but introduce a preprocessing bottleneck that grows as with tree depth , rendering them impractical for deep trees. We address this limitation with WoodelfHD, an extension of WoodelfHD that reduces the factor to . The key idea is a Strassen-like multiplication scheme that exploits the structure of Woodelf matrices, reducing matrix–vector multiplication from to through a fully vectorized, non-recursive implementation. In addition, we merge path nodes with identical features, further reducing cache size and memory usage. When run in standard environments, WoodelfHD enables exact Background SHAP computation for tree models with depths up to , whereas previous methods fail due to excessive memory usage. For ensembles with depths of and , it achieves speedups of and , respectively, over the state of the art.
est. 32% chance this paper gets accepted at ICLR 2027.
What do you think this paper will get?
All positions stay anonymous.