arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.11623cs.LG
收藏

TreeGrad-Ranker: 通过 $O(L)$-时间梯度进行决策树的特征排名

TreeGrad-Ranker: Feature Ranking via $O(L)$-Time Gradients for Decision Trees

Department of Computer Science, National University of Singapore, Republic of Singapore(新加坡国立大学计算机科学系);School of Computer Science, University of Waterloo, Canada(滑铁卢大学计算机科学学院);Vector Institute, Canada(加拿大向量研究所)

Weida Li, Yaoliang Yu, Bryan Kian Hsiang Low

AI总结:

本文提出TreeGrad-Ranker,通过直接优化联合目标来生成特征排名,解决了传统概率值方法在联合优化中的不可靠问题,并展示了其在插入和删除指标上的优越性能。

摘要:

我们重新审视了概率值(包括著名的Shapley和Banzhaf值)在解释决策树局部预测值的特征排名中的应用。特征排名的质量通常通过插入和删除指标来评估。经验上,我们发现同时优化这两个指标与选择一个子集以最大化局部预测值同时最小化其补集的联合优化密切相关。然而,我们理论证明概率值通常无法解决这一联合优化问题。因此,我们探索通过直接优化联合目标来推导特征排名。作为基础,我们提出了TreeGrad,它在$O(L)$时间内计算决策树(有$L$个叶子)的联合目标的多线性扩展的梯度;这些梯度包括加权Banzhaf值。基于TreeGrad,我们引入TreeGrad-Ranker,通过优化联合目标聚合梯度以生成特征排名,并提出TreeGrad-Shap,一种用于计算具有积分参数的Beta Shapley值的数值稳定算法。特别是,TreeGrad-Ranker计算的特征评分满足所有唯一定义概率值的公理,除了线性性,这本身导致已知的不可靠性。经验上,我们展示了计算Shapley值时,Linear TreeShap的数值误差可能比TreeGrad-Shap大高达$10^{15}$倍。作为副产品,我们还开发了TreeProb,将其推广到支持所有概率值。在我们的实验中,TreeGrad-Ranker在插入和删除指标上表现显著更好。我们的代码可在https://github.com/watml/TreeGrad获得。

英文摘要:

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 $10^{15}$ 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑