使用树快速估计部分依赖函数
Fast Estimation of Partial Dependence Functions using Trees
AI总结:
本文提出基于树的FastPD估计器,可一致且高效地估计任意部分依赖函数,并将计算复杂度从二次降为线性,用于提取SHAP、PD图及高阶交互效应等解释。
摘要:
许多现有的解释方法基于部分依赖(Partial Dependence, PD)函数,对于预训练的机器学习模型,PD函数通过对剩余特征取平均来刻画某个特征子集如何影响预测。值得注意的方法包括Shapley加性解释(SHAP),它基于博弈论解释计算特征贡献,以及PD图(即一维PD函数),它捕捉平均边际主效应。最近的工作使用函数分解将这些方法联系起来,并认为SHAP值可能具有误导性,因为它们将主效应和交互效应合并为单一的局部效应。然而,与其他基于PD的解释相比,SHAP的一个主要优势是一直存在快速估计技术,例如TreeSHAP。在本文中,我们提出了一种新的基于树的估计器FastPD,它可以高效地估计任意PD函数。我们证明,FastPD能够一致地估计所期望的总体量——相比之下,路径依赖的TreeSHAP在特征相关时是不一致的。对于中等深度的树,FastPD将现有方法的复杂度从观测数量的二次方改进为线性。通过估计任意特征子集的PD函数,FastPD可用于提取基于PD的解释,例如SHAP、PD图和高阶交互效应。
英文摘要:
Many existing interpretation methods are based on Partial Dependence (PD) functions that, for a pre-trained machine learning model, capture how a subset of the features affects the predictions by averaging over the remaining features. Notable methods include Shapley additive explanations (SHAP) which computes feature contributions based on a game theoretical interpretation and PD plots (i.e., 1-dim PD functions) that capture average marginal main effects. Recent work has connected these approaches using a functional decomposition and argues that SHAP values can be misleading since they merge main and interaction effects into a single local effect. However, a major advantage of SHAP compared to other PD-based interpretations has been the availability of fast estimation techniques, such as \texttt{TreeSHAP}. In this paper, we propose a new tree-based estimator, \texttt{FastPD}, which efficiently estimates arbitrary PD functions. We show that \texttt{FastPD} consistently estimates the desired population quantity -- in contrast to path-dependent \texttt{TreeSHAP} which is inconsistent when features are correlated. For moderately deep trees, \texttt{FastPD} improves the complexity of existing methods from quadratic to linear in the number of observations. By estimating PD functions for arbitrary feature subsets, \texttt{FastPD} can be used to extract PD-based interpretations such as SHAP, PD plots and higher-order interaction effects.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。