Interpretation of Neural Networks is Fragile

Amirata Ghorbani, Abubakar Abid, James Y. Zou

Introduction

As deep learning models are increasingly deployed in high-stakes domains such as healthcare and finance, the demand for explainability has grown. Interpretation methods, such as saliency maps, aim to provide transparency by highlighting the input features—like specific pixels in an image—that most influence a model's prediction. However, this research demonstrates that these interpretations are remarkably fragile. By applying imperceptible perturbations to an input, an adversary can drastically alter the resulting explanation without changing the model's output, undermining the trust and security of explainable AI (XAI).

Methodology: Adversarial Interpretations

The authors propose a new class of adversarial attacks designed specifically to manipulate interpretations rather than predictions. While standard adversarial attacks aim to flip a label (e.g., changing "dog" to "cat"), these attacks maintain the original prediction while forcing the interpretation method to produce a misleading explanation.

The study evaluates two primary types of interpretation:

  1. Feature Importance: Methods like Simple Gradient, Integrated Gradients, and DeepLIFT that rank input pixels by their contribution to the output.
  2. Sample Importance: Methods like Influence Functions that identify which training examples most influenced a specific prediction.

Three iterative optimization attacks were developed:

  • Top-$k$ Attack: Systematically reduces the importance scores of the pixels that were originally the most "salient."
  • Mass-Center Attack: Shifts the spatial "center of gravity" of the saliency map to a different part of the image.
  • Targeted Attack: Forces the model to "explain" its prediction using a specific, irrelevant region (e.g., making a truck prediction appear to be based on a cloud in the sky).

The Geometry of Fragility

The core reason for this instability lies in the high-dimensional geometry of neural network loss surfaces. Using Hessian analysis, the authors show that the loss contours are highly non-linear and "curvy."

Figure 1: Geometric intuition of interpretation fragility. A small perturbation $\delta$ can significantly rotate the gradient $\nabla_x L$, even if the input remains on the same side of the decision boundary.

As illustrated in the figure above, a tiny nudge in the input space can cause the gradient—which is perpendicular to these contours—to rotate dramatically. Because many interpretation methods rely on these gradients, the resulting saliency maps are inherently sensitive to minor input changes, even when the underlying classification remains robust.

Experimental Results

The fragility was tested across ImageNet, CIFAR-10, and a specialized flower classification task. The results consistently showed that interpretations could be manipulated with minimal noise (e.g., $\epsilon = 8$ on a 0-255 scale).

Figure 2: Visual examples of interpretation manipulation across different methods. Perturbations that are nearly invisible to the human eye cause the feature-importance maps to shift or disappear entirely while confidence remains high.

Key findings include:

  • Visual Disruption: In ImageNet experiments, the overlap between original and perturbed top-1000 salient pixels often dropped below 30% across all methods.
  • Semantic Deception: Attacks can be targeted to hide a model's true reasoning. For instance, an attacker could hide a biased model's true reasoning by manipulating the saliency map to focus on "fair" features while the model actually uses protected ones.
  • Influence Flipping: In the flower task, noise could make a "sunflower" prediction appear to be influenced by images of "roses," effectively reversing the influence ranking.
  • Method Resilience: While Integrated Gradients showed slightly more resilience than Simple Gradients or DeepLIFT, all tested post-hoc methods remained highly susceptible to targeted manipulation.

Discussion and Future Directions

The fragility of post-hoc interpretations suggests that they cannot yet be fully trusted for high-stakes decision-making or security audits. The authors suggest that future work should focus on "interpretable-by-design" architectures or defensive training techniques. Potential defenses include input discretization to break gradient-based optimization and training regularization to reduce the model's Lipschitz constant, thereby smoothing the loss contours and stabilizing the gradients.

Summary updated

BibTeX
@inproceedings{ghorbani2019interpretation,
  author = {Amirata Ghorbani and Abubakar Abid and James Y. Zou},
  title = {{Interpretation of Neural Networks is Fragile}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33013681},
}
Figure