[论文解读] Generalized SHAP: Generating multiple types of explanations in machine learning
G-SHAP extends SHAP to compute feature importances for general functions of a model’s output, enabling general classification, intergroup difference, and model failure explanations with demonstrations on Iris, recidivism, and GDP forecasting.
Many important questions about a model cannot be answered just by explaining how much each feature contributes to its output. To answer a broader set of questions, we generalize a popular, mathematically well-grounded explanation technique, Shapley Additive Explanations (SHAP). Our new method - Generalized Shapley Additive Explanations (G-SHAP) - produces many additional types of explanations, including: 1) General classification explanations; Why is this sample more likely to belong to one class rather than another? 2) Intergroup differences; Why do our model's predictions differ between groups of observations? 3) Model failure; Why does our model perform poorly on a given sample? We formally define these types of explanations and illustrate their practical use on real data.
研究动机与目标
- 动机:通过关注模型输出的函数来解释模型行为,而不仅仅是简单的特征重要性。
- 将 SHAP 泛化,以便对更广泛的问题进行解释,例如类别比较、组间差异和模型失效。
- 形式化一个统一框架(G-SHAP),以推导任何模型输出函数 g 的解释。
- 展示使用真实数据的 G-SHAP 的实际应用,体现新型解释类型。
提出的方法
- 定义广义 SHAP 值:φ_g^j(f) = sum_S⊆{x^1,...,x^p} (|S|!(p-|S|-1)!/p!) [ g(f,S∪{x^j},Ω) − g(f,S,Ω) ] (方程 2)。
- 将 g 实例化以产生三种解释类型:通用分类、组间差异和模型失效(相应地给出 Ω 与 d 或 L)。
- 对于通用分类,使用对 X 和背景 Z 汇聚类别概率的 g 来衡量观测值 X 属于正类与负类的概率(方程 3/4)。
- 对于组间差异,使用差分函数 d 与比较组均值的 g 来衡量 X0 与 X1 组之间输出的差异(方程 5)。
- 对于模型失效,衡量在 X 与背景 Z 上的损失 L 以解释性能下降(方程 6)。
- 提供具体示例和数据集(iris、criminal recidivism、GDP forecasting)以说明 G-SHAP 如何揭示对非标准解释的特征贡献。
实验结果
研究问题
- RQ1如何将类似 SHAP 的解释泛化到解释模型输出的函数,而不仅仅是单个特征贡献?
- RQ2在统一的 G-SHAP 框架内可以推导出哪些新型解释(通用分类、组间差异、模型失效)?
- RQ3这些泛化解释在真实数据集(例如 Iris、recidivism、GDP)上表现如何,哪些特征驱动它们?
- RQ4G-SHAP 能否揭示标准 SHAP 分析未捕捉到的偏差或失效?
主要发现
- G-SHAP 提供了三种前人方法未能清晰提供的新型解释:通用分类、组间差异和模型失效解释。
- 在 Iris 示例中,花瓣长度是区分 Versicolour 与 Setosa 或 Virginica 的最重要特征,相对重要性因比较对象而异。
- 在组间差异示例中,前科、年龄和种族最能解释黑人对白人罪犯的再犯预测更高。
- 在 GDP 预测示例中,2007-2008 年房地产贷款占 GDP 的比例对模型 2008-2009 预测不佳有显著贡献,并对特征 j 有量化归因。
- 该框架支持多种 Ω 配置,并且可以扩展到其他差异度量(例如中位数、Wasserstein 距离)超出所示的那些。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。