arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.04883cs.LGstat.ML
收藏

改进KernelSHAP中的权重策略

Improving the Weighting Strategy in KernelSHAP

Department of Mathematics, University of Oslo(奥斯陆大学数学系);Norwegian Computing Center(挪威计算中心)

Lars Henry Berge Olsen, Martin Jullum

AI总结:

本文提出改进KernelSHAP的权重策略,通过确定性权重降低方差,提高计算效率,减少50%的运行时间,提升Shapley值解释的准确性。

摘要:

在可解释人工智能(XAI)中,Shapley值是一种流行的模型无关框架,用于解释复杂机器学习模型的预测结果。计算Shapley值需要估计非平凡的贡献函数,这些函数仅使用部分特征来表示预测。随着这些术语数量随特征数量呈指数增长,计算成本迅速上升,迫切需要高效且准确的近似方法。对于表格数据,KernelSHAP框架被认为是当前最先进的模型无关近似框架。KernelSHAP通过不同特征子集的贡献函数的加权样本来近似Shapley值。我们提出了一种新的KernelSHAP修改方法,用确定性权重替代随机权重,以减少所得Shapley值近似值的方差。此外,我们还提供了一种简单的、但有效的KernelSHAP变体的修改方法,该变体在流行的Python库SHAP中实现。此外,我们还概述了已建立的方法。数值实验表明,我们的方法可以在保持近似Shapley值相同精度的情况下,将所需贡献函数评估次数减少5%到50%,即几乎将运行时间减少50%。这些计算进步推动了Shapley值在可行运行时间内能够准确解释的特征维度和预测数量的边界。

英文摘要:

In Explainable AI (XAI), Shapley values are a popular model-agnostic framework for explaining predictions made by complex machine learning models. The computation of Shapley values requires estimating non-trivial contribution functions representing predictions with only a subset of the features present. As the number of these terms grows exponentially with the number of features, computational costs escalate rapidly, creating a pressing need for efficient and accurate approximation methods. For tabular data, the KernelSHAP framework is considered the state-of-the-art model-agnostic approximation framework. KernelSHAP approximates the Shapley values using a weighted sample of the contribution functions for different feature subsets. We propose a novel modification of KernelSHAP which replaces the stochastic weights with deterministic ones to reduce the variance of the resulting Shapley value approximations. This may also be combined with our simple, yet effective modification to the KernelSHAP variant implemented in the popular Python library SHAP. Additionally, we provide an overview of established methods. Numerical experiments demonstrate that our methods can reduce the required number of contribution function evaluations by $5\%$ to $50\%$ while preserving the same accuracy of the approximated Shapley values -- essentially reducing the running time by up to $50\%$. These computational advancements push the boundaries of the feature dimensionality and number of predictions that can be accurately explained with Shapley values within a feasible runtime.

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

↑