arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.07941cs.LGcs.AI
收藏

CEnt:一个基于熵的模型不可知解释框架

CEnt: An Entropy-based Model-agnostic Explainability Framework to Contrast Classifiers' Decisions

American University of Beirut(贝鲁特美国大学)

Julia El Zini, Mohammad Mansour, Mariette Awad

摘要:

当前的可解释性方法侧重于通过当前输入特征解释特定模型的决策。这种方法不通知用户改变这些决定的充分条件,当他们不希望。对比解释通过提供“如果特征$X>x$,则输出$Y$将不同”的形式的解释来规避该问题。虽然开发了不同的方法来找到对比,但这些方法并不都处理可变性和可达性约束。在这项工作中,我们提出了一种新的方法来局部对比任何分类器的预测。我们的基于对比熵的解释方法,CEnt,近似一个模型局部的决策树计算熵信息的不同功能分裂。然后构建图G,其中通过一对多最短路径搜索找到对比节点。从最短路径生成对比示例,以反映在保持较低熵的同时改变模型决策的特征分割。我们对变分自动编码器计算的流形式距离进行局部采样,以反映数据密度。CEnt是第一个基于非梯度的对比方法,它生成不同的反事实,这些反事实不一定存在于训练数据中,同时满足不变性(例如,种族)和半不变性(例如,年龄只能在增加的方向上变化)。对四个真实世界数值数据集的实证评估表明,CENT在生成反事实方面的能力,这些反事实比现有方法实现了更好的接近率,而不会影响延迟,可行性和可达性。我们进一步扩展CENT图像数据,以获得视觉吸引力和有用的对比MNIST和时尚MNIST数据集上的类标签。最后,我们展示了如何CEnt可以作为一种工具来检测文本分类器的漏洞。

英文摘要:

Current interpretability methods focus on explaining a particular model's decision through present input features. Such methods do not inform the user of the sufficient conditions that alter these decisions when they are not desirable. Contrastive explanations circumvent this problem by providing explanations of the form "If the feature $X>x$, the output $Y$ would be different''. While different approaches are developed to find contrasts; these methods do not all deal with mutability and attainability constraints. In this work, we present a novel approach to locally contrast the prediction of any classifier. Our Contrastive Entropy-based explanation method, CEnt, approximates a model locally by a decision tree to compute entropy information of different feature splits. A graph, G, is then built where contrast nodes are found through a one-to-many shortest path search. Contrastive examples are generated from the shortest path to reflect feature splits that alter model decisions while maintaining lower entropy. We perform local sampling on manifold-like distances computed by variational auto-encoders to reflect data density. CEnt is the first non-gradient-based contrastive method generating diverse counterfactuals that do not necessarily exist in the training data while satisfying immutability (ex. race) and semi-immutability (ex. age can only change in an increasing direction). Empirical evaluation on four real-world numerical datasets demonstrates the ability of CEnt in generating counterfactuals that achieve better proximity rates than existing methods without compromising latency, feasibility, and attainability. We further extend CEnt to imagery data to derive visually appealing and useful contrasts between class labels on MNIST and Fashion MNIST datasets. Finally, we show how CEnt can serve as a tool to detect vulnerabilities of textual classifiers.

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

↑