回归模型中的删除与插入测试
Deletion and Insertion Tests in Regression Models
AI总结:
该研究针对回归场景下的特征重要性评估问题,推导了插入-删除测试AUC的解析表达式,提出回归适配的新指标,对比多种XAI方法后发现IG性价比接近KS,还验证了Shapley排序的最优性适用条件。
摘要:
可解释人工智能(XAI)的一项基本任务是识别黑盒函数$f$做出预测背后最重要的特征。Petsiuk等人(2018)提出的插入与删除测试可用于评估将像素按对分类任务的重要性从高到低排序的算法质量。受回归问题的启发,我们基于$f$的锚定分解中的若干主效应与交互作用,推导了其曲线下面积(AUC)指标的计算公式。我们得到了输入$f$的特征为随机排序时AUC期望值的表达式,并针对回归场景提出了一种替代的直线上方面积指标。我们使用该指标将集成梯度(IG)计算的特征重要性与Kernel SHAP(KS)、LIME、DeepLIFT、普通梯度以及输入×梯度方法计算的特征重要性进行了对比。在我们研究的两个数据集中,KS的整体表现最佳,但计算成本极高。我们发现IG的表现几乎与KS相当,而计算速度要快得多。我们的对比问题包含部分二值输入,这对IG构成了挑战,因为IG必须使用变量可能取值之间的中间值,因此我们研究了在IG中处理二值变量的方法。我们证明,按Shapley值对变量排序并不一定能得到插入-删除测试的最优排序。但对于加性模型的单调函数(如逻辑回归),这种排序方式确实能得到最优结果。
英文摘要:
A basic task in explainable AI (XAI) is to identify the most important features behind a prediction made by a black box function $f$. The insertion and deletion tests of Petsiuk et al. (2018) can be used to judge the quality of algorithms that rank pixels from most to least important for a classification. Motivated by regression problems we establish a formula for their area under the curve (AUC) criteria in terms of certain main effects and interactions in an anchored decomposition of $f$. We find an expression for the expected value of the AUC under a random ordering of inputs to $f$ and propose an alternative area above a straight line for the regression setting. We use this criterion to compare feature importances computed by integrated gradients (IG) to those computed by Kernel SHAP (KS) as well as LIME, DeepLIFT, vanilla gradient and input$\times$gradient methods. KS has the best overall performance in two datasets we consider but it is very expensive to compute. We find that IG is nearly as good as KS while being much faster. Our comparison problems include some binary inputs that pose a challenge to IG because it must use values between the possible variable levels and so we consider ways to handle binary variables in IG. We show that sorting variables by their Shapley value does not necessarily give the optimal ordering for an insertion-deletion test. It will however do that for monotone functions of additive models, such as logistic regression.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。