WOODELF-HD:高效高深度决策树的背景SHAP
WOODELF-HD: Efficient Background SHAP for High-Depth Decision Trees
AI总结:
本文提出WoodelfHD,通过Strassen-like乘法方案和路径节点合并,将背景SHAP计算复杂度从3^D降至2^D,实现高深度决策树的高效解释。
摘要:
决策树集成是预测建模的核心,SHAP是解释其预测的标准框架。其中,背景SHAP通过背景数据集建模缺失特征以实现高精度。历史上,这一方法扩展性差,因为解释n个实例使用m个背景样本的时间复杂度包含O(mn)项。最近的方法如Woodelf和PLTreeSHAP将此降至O(m+n),但引入了随树深度D增长为3^D的预处理瓶颈,使深树难以应用。本文通过WoodelfHD扩展,将3^D因子降至2^D。关键思想是利用Woodelf矩阵的结构,通过完全向量化、非递归实现,将矩阵-向量乘法复杂度从O(k^2)降至O(k log k)。此外,合并具有相同特征的路径节点,减少缓存大小和内存使用。在标准环境中,WoodelfHD可精确计算深度达21的决策树的背景SHAP,而先前方法因内存不足而失败。对于深度12和15的集成,其速度分别比最先进方法快33倍和162倍。
英文摘要:
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 n instances using m background samples included an O(mn) component. Recent methods such as Woodelf and PLTreeSHAP reduce this to O(m+n), but introduce a preprocessing bottleneck that grows as 3^D with tree depth D, making them impractical for deep trees. We address this limitation with WoodelfHD, a Woodelf extension that reduces the 3^D factor to 2^D. The key idea is a Strassen-like multiplication scheme that exploits the structure of Woodelf matrices, reducing matrix-vector multiplication from O(k^2) to O(k*log(k)) via a fully vectorized, non-recursive implementation. In addition, we merge path nodes with identical features, reducing cache size and memory usage. When running on standard environments, WoodelfHD enables exact Background SHAP computation for trees with depths up to 21, where previous methods fail due to excessive memory usage. For ensembles of depths 12 and 15, it achieves speedups of 33x and 162x, respectively, over the state-of-the-art.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。