利用模型结构信息高效计算SHAP
Computing SHAP Efficiently Using Model Structure Information
AI总结:
本文提出利用模型结构信息(已知函数分解、已知模型阶数或未知阶数)在多项式时间内精确或近似计算SHAP的方法,显著提高计算效率。
摘要:
SHAP(SHapley Additive exPlanations,沙普利加法解释)已成为一种流行的机器学习模型预测归因方法,用于将模型对某个输入的预测归因于其特征。SHAP的一个主要挑战是计算时间。精确计算Shapley值需要指数级时间复杂度。因此,文献中提出了许多近似方法。在本文中,我们提出了一些方法,对于满足我们的可加性和哑变量假设的SHAP定义(例如,kernel SHAP和baseline SHAP),可以在多项式时间内甚至更快地精确计算SHAP。我们针对具有不同模型结构信息水平的模型开发了不同的策略:已知函数分解、已知模型阶数(定义为模型中交互的最高阶数)或未知阶数。对于第一种情况,我们展示了可加性属性以及从低阶函数组件计算SHAP的方法。对于第二种情况,我们推导了可以在多项式时间内计算SHAP的公式。这两种方法都能产生精确的SHAP结果。最后,如果模型阶数未知,我们提出了一种迭代方法来近似Shapley值。当模型阶数不高时(这在实践中通常是这种情况),我们提出的三种方法在计算上是高效的。我们通过模拟研究,与Castor & Gomez(2008)中提出的采样方法进行比较,以证明我们提出方法的有效性。
英文摘要:
SHAP (SHapley Additive exPlanations) has become a popular method to attribute the prediction of a machine learning model on an input to its features. One main challenge of SHAP is the computation time. An exact computation of Shapley values requires exponential time complexity. Therefore, many approximation methods are proposed in the literature. In this paper, we propose methods that can compute SHAP exactly in polynomial time or even faster for SHAP definitions that satisfy our additivity and dummy assumptions (eg, kernal SHAP and baseline SHAP). We develop different strategies for models with different levels of model structure information: known functional decomposition, known order of model (defined as highest order of interaction in the model), or unknown order. For the first case, we demonstrate an additive property and a way to compute SHAP from the lower-order functional components. For the second case, we derive formulas that can compute SHAP in polynomial time. Both methods yield exact SHAP results. Finally, if even the order of model is unknown, we propose an iterative way to approximate Shapley values. The three methods we propose are computationally efficient when the order of model is not high which is typically the case in practice. We compare with sampling approach proposed in Castor & Gomez (2008) using simulation studies to demonstrate the efficacy of our proposed methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。