Analyzing the Interpretability Robustness of Self-Explaining Models

Haizhong Zheng, Earlence Fernandes, Atul PrakasharXiv 2019

Introduction

Self-Explaining Models (SEMs) were introduced to provide built-in interpretability, moving away from the fragility of "post-hoc" explanation methods. By design, SEMs extract human-understandable "basis concepts" and apply stable coefficients to make predictions. However, this research demonstrates a critical vulnerability: while the coefficients are mathematically protected, the concept extraction phase remains exposed. We show that adversarial perturbations can decouple a model's explanation from its prediction, leading to a "false sense of security" in high-stakes applications.

Methodology: Attacking the Concept Extractor

SEMs typically follow the functional form $f(x) = \theta(x)^T h(x)$, where $h(x)$ represents interpretable basis concepts (such as prototypes or strokes) and $\theta(x)$ denotes importance coefficients. Current SEM designs focus on enforcing Lipschitz continuity on $\theta(x)$ to ensure stability. However, $h(x)$ is often left unconstrained.

We developed two adaptive adversarial attacks using Projected Gradient Descent (PGD) to exploit this:

  1. Targeted Attack (SENN): The objective is to perturb an input $x$ such that its extracted concepts $h(x)$ match those of a target image from a different class, while maintaining the original classification label.
  2. Untargeted Attack (PrototypeDL): This attack pushes the latent representation of an input away from its correct class prototypes and toward incorrect ones, without altering the final output.

Experimental Results

The attacks were evaluated on the MNIST handwritten digits dataset, demonstrating that the logical link between what the model sees and what it explains can be easily broken.

Vulnerability in SENN

In the case of Self-Explaining Neural Networks (SENN), we successfully generated adversarial examples where the explanation was completely misleading. For instance, an image of a '9' was perturbed to produce an internal concept representation $h(x)$ nearly identical to that of a '2', while the model continued to predict '9'.

Visualizing the targeted attack on SENN: A perturbed '9' (middle) yields an explanation $h(x)$ similar to a '2' (bottom), despite the model's correct prediction.

Vulnerability in PrototypeDL

For PrototypeDL, which explains predictions via distance to learned prototypes, the attack successfully shifted the "closest" prototype to an incorrect class. Quantitatively, for an adversarial '2', the distance to a '0' prototype was reduced to 0.94, which is smaller than its distance to the actual '2' prototype (1.12).

Distance metrics for natural (Nat.) and adversarial (Adv.) images across various prototypes. Red values indicate the minimum distance for adversarial inputs, often pointing to incorrect classes.

Discussion and Future Directions

The primary insight is that SEMs are only as robust as their weakest link. By decoupling prediction from explanation, an adversary can manipulate the "why" behind a decision without changing the "what." This is particularly dangerous in fields like medicine, where a correct diagnosis based on the wrong visual evidence could lead to a total loss of trust.

To address these vulnerabilities, future research should focus on:

  • Adversarial Training: Specifically targeting the concept extraction stage ($h(x)$) during the training process.
  • Architectural Constraints: Extending mathematical stability guarantees (like local-Lipschitz properties) to the concept extractor $h(x)$ itself, ensuring that small input perturbations cannot cause significant shifts in the explanation space.

Summary updated

BibTeX
@misc{zheng2019analyzing,
  author = {Haizhong Zheng and Earlence Fernandes and Atul Prakash},
  title = {{Analyzing the Interpretability Robustness of Self-Explaining Models}},
  year = {2019},
  eprint = {1905.12429},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.12429},
}
Figure