Skip to main content
QUICK REVIEW

[论文解读] Evaluating the Robustness of Interpretability Methods through Explanation Invariance and Equivariance

Jonathan Crabbé, Mihaela van der Schaar|arXiv (Cornell University)|Apr 13, 2023
Explainable Artificial Intelligence (XAI)Computer Science被引用 3
一句话总结

本文提出了一种基于几何深度学习的正式框架,通过神经网络中对称性群的不变性和等变性来评估可解释性方法的鲁棒性。它提出了两种度量——解释不变性和等变性——实现了对不同架构和模态下可解释性方法的系统性评估与改进,实证验证表明,如Integrated Gradients和DeepLift等流行方法通常无法保持对称性,并提供了增强鲁棒性的指导原则。

ABSTRACT

Interpretability methods are valuable only if their explanations faithfully describe the explained model. In this work, we consider neural networks whose predictions are invariant under a specific symmetry group. This includes popular architectures, ranging from convolutional to graph neural networks. Any explanation that faithfully explains this type of model needs to be in agreement with this invariance property. We formalize this intuition through the notion of explanation invariance and equivariance by leveraging the formalism from geometric deep learning. Through this rigorous formalism, we derive (1) two metrics to measure the robustness of any interpretability method with respect to the model symmetry group; (2) theoretical robustness guarantees for some popular interpretability methods and (3) a systematic approach to increase the invariance of any interpretability method with respect to a symmetry group. By empirically measuring our metrics for explanations of models associated with various modalities and symmetry groups, we derive a set of 5 guidelines to allow users and developers of interpretability methods to produce robust explanations.

研究动机与目标

  • 解决在简单扰动之外的复杂输入对称性下,可解释性方法缺乏系统性评估的问题。
  • 利用几何深度学习形式化鲁棒性准则——解释不变性和等变性,针对在对称性群下不变的模型。
  • 开发可度量的指标,评估可解释性方法在多大程度上忠实反映底层模型的对称性特性。
  • 提出一个通用框架,以提高任何可解释性方法针对给定对称性群的鲁棒性。
  • 为开发者和用户提供实用指导,以在多种数据模态下生成更可靠且不变的解释。

提出的方法

  • 使用群论和几何深度学习形式化模型不变性与解释鲁棒性,定义在群作用下解释的不变性和等变性。
  • 提出两种评估度量:不变性(在对称变换下保持解释不变)和等变性(在群作用下正确变换解释)。
  • 推导出如Integrated Gradients和DeepLift等流行可解释性方法在特定对称性群下的理论鲁棒性保证。
  • 提出一种系统性方法,通过将解释投影到对称性群的不可约表示上来增强任何可解释性方法的不变性。
  • 在图像、图结构和时间序列数据上训练的模型上实证评估度量,使用如二面体群D4和置换群等对称性群。
  • 使用CINIC-10作为与STL-10不同的测试分布,验证度量在分布偏移下的稳定性。
Figure 2: Examples of non-robust explanations obtained with Gradient Shap on the FashionMNIST dataset. From left to right: the original image for which the invariant model predicts t-shirt with a given probability, the Gradient Shap saliency map to explain the model’s prediction for this image, the
Figure 2: Examples of non-robust explanations obtained with Gradient Shap on the FashionMNIST dataset. From left to right: the original image for which the invariant model predicts t-shirt with a given probability, the Gradient Shap saliency map to explain the model’s prediction for this image, the

实验结果

研究问题

  • RQ1如何在模型对称性的背景下,正式定义可解释性方法的鲁棒性?
  • RQ2现有可解释性方法在输入数据对称变换下,其不变性和等变性保持程度如何?
  • RQ3能否设计一个通用框架,以评估并提高可解释性方法针对任意对称性群的鲁棒性?
  • RQ4鲁棒性度量与现有敏感性度量之间有何相关性?它们能否作为互补的评估标准?
  • RQ5当在与训练分布不同的数据分布上评估时,解释的鲁棒性是否保持一致?

主要发现

  • 所提出的不变性和等变性度量能够检测出流行可解释性方法的失败:例如,在FashionMNIST上,Gradient Shap和DeepLift在D4变换下表现出较低的等变性(余弦相似度 < 0.21)。
  • 敏感性与等变性之间存在弱负相关性(Integrated Gradients的r = -0.62),表明高敏感性并不意味着高鲁棒性,且这些度量具有互补性。
  • 在与STL-10训练分布不同的CINIC-10数据集上,鲁棒性度量与在STL-10上的结果保持一致,表明对分布偏移具有鲁棒性。
  • 在CINIC-10上,特征重要性方法如Integrated Gradients和DeepLift在D4对称性下表现出高不变性(0.87和0.85)和等变性(0.87和0.85),表明其在不同数据集上的泛化能力。
  • 示例重要性方法如TracIN和Influence Functions表现出近乎完美的不变性(0.99),表明其与模型对称性高度一致。
  • 本研究推导出五条实用指导原则,以提升可解释性方法的鲁棒性,强调需使解释行为与模型不变性特性保持一致。
(a) Feature Importance
(a) Feature Importance

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。