Interpretation of Neural Networks is Susceptible to Universal Adversarial Perturbations

Haniyeh Ehsani Oskouie, Farzan Farnia

TL;DR

Researchers have discovered that the "explanations" provided by neural networks (saliency maps) can be systematically manipulated using a single, universal noise pattern. By applying a "Universal Perturbation for Interpretation" (UPI), an attacker can drastically alter what a model appears to be focusing on across an entire dataset, without needing to know the specific input image beforehand.

What Problem Does This Paper Address?

Deep learning models are often "black boxes," so researchers use gradient-based saliency maps to understand why a model made a specific prediction. These maps highlight which pixels in an image were most influential to the model's decision.

While we already knew these maps were "fragile"—meaning a custom-made noise pattern could ruin the explanation for a specific image—those attacks require the attacker to see the image first. This paper addresses the much more dangerous possibility of Universal Adversarial Perturbations (UAPs). Could a single, static noise pattern be designed to "blind" or mislead a model's interpretation logic across thousands of different, unseen images? If so, it suggests that our current methods for "explaining" AI are fundamentally vulnerable to systematic subversion.

Methods

The authors propose two primary algorithms to generate these Universal Perturbations for Interpretation (UPIs):

  1. UPI-Grad: This is a projected gradient ascent method. It formulates an optimization problem to find a perturbation ($\delta$) that maximizes the average distance between the original saliency map and the perturbed one across a training set. To make the optimization smoother, they add a small amount of Gaussian noise during training to prevent the algorithm from getting stuck.
  2. UPI-PCA: Recognizing that the optimization problem is non-convex and tricky, the authors developed a spectral approach. They show that the optimal perturbation direction is actually the top singular vector of the gradients of the interpretation function. By using Principal Component Analysis (PCA) on these gradients, they can find a more robust universal direction that generalizes better to new, unseen data.

They tested these attacks against two popular interpretation schemes: Simple Gradient (the raw sensitivity of the output to the input) and Integrated Gradients (a more advanced method that averages gradients along a path).

Datasets

The researchers evaluated their methods across three standard computer vision benchmarks:

  • MNIST: Handwritten digits (the "Hello World" of computer vision).
  • CIFAR-10: Small color images of 10 different classes (airplanes, cats, etc.).
  • Tiny-ImageNet: A subset of the massive ImageNet dataset, featuring 200 classes with 500 images each.

They tested these on various architectures, including VGG-16, MobileNet, and simple multi-layer perceptrons (FCNs).

Key Insights and Ideas

  • Interpretations are more fragile than predictions: The paper shows that you can drastically change a model's saliency map (the "why") while barely affecting its actual classification accuracy (the "what"). This means a model could give a correct answer for the wrong reasons, and the attacker can hide that fact.
  • UPIs are Visually Structured: Unlike random noise, the generated UPIs often show clear patterns. For MNIST, the perturbations actually look like ghostly, overlapping numbers. For natural images, they look like high-frequency textures that seem to "distract" the model's attention.
  • Generalizability of UPI-PCA: The spectral (PCA-based) approach proved to be highly effective at finding "directions of vulnerability" that exist across the entire data distribution, not just the training samples.
  • Cross-Method Vulnerability: UPIs designed to fool Simple Gradient methods often successfully fool Integrated Gradients as well, suggesting that different interpretation methods share similar underlying weaknesses.

Key Results

The authors used a "dissimilarity score" to measure how much the saliency map changed.

  • Effectiveness: In many cases, the UPIs achieved dissimilarity scores nearly as high as per-image attacks. For example, on Tiny-ImageNet with VGG-16, the UPI-Grad method achieved a dissimilarity of 0.598, compared to 0.777 for a custom per-image attack.
  • Generalization: The UPI-PCA method showed superior "transferability," meaning a perturbation designed on one set of images remained highly effective on a completely different test set.
  • Visual Impact: Qualitative results (Figure 1 in the paper) show that a clear, localized saliency map (e.g., highlighting a bird's head) can be turned into a scattered, meaningless cloud of noise by the universal perturbation.

Limitations and Future Work

  • Defense Mechanisms: The paper focuses entirely on the attack side. The authors note that understanding these mechanisms is a first step toward building more robust, "un-foolable" interpretation methods, but they do not propose a specific defense in this work.
  • Targeted Attacks: The current UPIs are designed to change the interpretation (make it noisy or different), but not necessarily to make it look like a specific other object (e.g., making a dog look like the model is focusing on a cat).
  • Fooling Rates: While the primary goal was to change the interpretation, the authors noted that these perturbations do sometimes change the model's final prediction (the "fooling rate"), though usually at a much lower rate than dedicated classification attacks. Future work could look at decoupling these even further.

Summary updated

BibTeX
@inproceedings{oskouie2023interpretation,
  author = {Haniyeh Ehsani Oskouie and Farzan Farnia},
  title = {{Interpretation of Neural Networks is Susceptible to Universal Adversarial Perturbations}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10097188},
}
Figure