Skip to main content
QUICK REVIEW

[Paper 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 Science3 citations
TL;DR

This paper introduces a formal framework based on geometric deep learning to evaluate the robustness of interpretability methods through invariance and equivariance with respect to symmetry groups in neural networks. It proposes two metrics—explanation invariance and equivariance—enabling systematic assessment and improvement of interpretability methods across diverse architectures and modalities, with empirical validation showing that popular methods like Integrated Gradients and DeepLift often fail to preserve symmetry, and providing guidelines to enhance robustness.

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.

Motivation & Objective

  • To address the lack of systematic evaluation of interpretability methods under complex input symmetries beyond simple perturbations.
  • To formalize robustness criteria—explanation invariance and equivariance—using geometric deep learning for models invariant under symmetry groups.
  • To develop measurable metrics that assess how faithfully interpretability methods reflect the symmetry properties of the underlying model.
  • To provide a generalizable framework to improve the robustness of any interpretability method with respect to a given symmetry group.
  • To derive practical guidelines for developers and users to produce more reliable and invariant explanations across diverse data modalities.

Proposed method

  • Formalizes model invariance and explanation robustness using group theory and geometric deep learning, defining invariance and equivariance of explanations under group actions.
  • Proposes two evaluation metrics: invariance (preservation of explanation under symmetry transformations) and equivariance (correct transformation of explanations under group actions).
  • Derives theoretical robustness guarantees for popular interpretability methods such as Integrated Gradients and DeepLift under specific symmetry groups.
  • Introduces a systematic method to enhance the invariance of any interpretability method by projecting explanations onto the irreducible representations of the symmetry group.
  • Empirically evaluates metrics on models trained on image, graph, and time-series data, using symmetry groups like dihedral group D4 and permutation groups.
  • Validates consistency of metrics across distribution shifts using CINIC-10 as a test distribution distinct from 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

Experimental results

Research questions

  • RQ1How can we formally define robustness of interpretability methods in the presence of model symmetries?
  • RQ2To what extent do existing interpretability methods preserve invariance and equivariance under symmetry transformations of the input data?
  • RQ3Can we design a general-purpose framework to assess and improve the robustness of interpretability methods with respect to arbitrary symmetry groups?
  • RQ4How do robustness metrics correlate with existing sensitivity metrics, and can they serve as complementary evaluation criteria?
  • RQ5Does the robustness of explanations remain consistent when evaluated on data distributions different from the training distribution?

Key findings

  • The proposed invariance and equivariance metrics detect failures in popular interpretability methods: for example, Gradient Shap and DeepLift exhibit low equivariance (cosine similarity < 0.21) under D4 transformations on FashionMNIST.
  • A weak negative correlation (r = -0.62 for Integrated Gradients) exists between sensitivity and equivariance, indicating that high sensitivity does not imply high robustness, and the metrics are complementary.
  • On the CINIC-10 dataset, which differs from the STL-10 training distribution, the robustness metrics remain consistent with those on STL-10, indicating robustness to distribution shift.
  • Feature importance methods like Integrated Gradients and DeepLift achieve high invariance (0.87 and 0.85) and equivariance (0.87 and 0.85) under D4 symmetry on CINIC-10, suggesting generalizability across datasets.
  • Example importance methods such as TracIN and Influence Functions achieve near-perfect invariance (0.99), indicating strong alignment with model symmetry.
  • The study derives five practical guidelines for improving interpretability method robustness, emphasizing the need to align explanation behavior with model invariance properties.
(a) Feature Importance
(a) Feature Importance

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.