Interpretation of Neural Networks is Susceptible to Universal Adversarial Perturbations

Haniyeh Ehsani Oskouie, Farzan Farnia · DOI

Abstract

Neural network interpretations, specifically gradient-based saliency maps, are shown to be vulnerable to Universal Perturbations for Interpretation (UPI). Unlike previous per-image attacks, a single noise pattern can systematically mislead model explanations across an entire dataset while leaving classification accuracy largely intact. This work demonstrates that the "why" of a model's decision can be manipulated independently of the "what," raising significant concerns about the reliability of current explainable AI (XAI) techniques.

Introduction

Deep learning models are often criticized for being "black boxes." To address this, researchers use gradient-based saliency maps to explain model decisions by highlighting the pixels most influential to a specific prediction. While it was previously known that these maps are fragile to per-image adversarial noise, this paper explores the more systemic threat of Universal Adversarial Perturbations (UAPs). The authors investigate whether a single, static noise pattern can be designed to "blind" or mislead interpretation logic across thousands of unseen images.

Methodology

The researchers propose two primary algorithms for generating Universal Perturbations for Interpretation (UPIs):

  1. UPI-Grad: A projected gradient ascent method that optimizes a perturbation ($\delta$) to maximize the average dissimilarity between original and perturbed saliency maps across a training set. Gaussian noise is added during optimization to improve smoothness and convergence.
  2. UPI-PCA: A spectral approach based on the observation that optimal perturbation directions correspond to the top singular vectors of the gradients of the interpretation function. By applying Principal Component Analysis (PCA) to these gradients, the authors identify robust universal directions that generalize effectively to unseen data.

These attacks were evaluated against Simple Gradient and Integrated Gradients interpretation schemes across MNIST, CIFAR-10, and Tiny-ImageNet datasets using architectures like VGG-16 and MobileNet.

Key Insights and Visual Analysis

Interpretations are More Fragile than Predictions

A critical finding is that saliency maps can be drastically altered with minimal impact on the model's classification accuracy. This decoupling allows an attacker to hide the true reasoning behind a correct prediction, potentially masking biased or flawed decision-making processes.

Visual impact of UPIs on saliency maps across different images.

As shown in the figure above, localized saliency maps that originally highlighted relevant features (like a bird's head or a stocking's texture) are transformed into scattered, meaningless noise patterns by the universal perturbation, while the underlying image remains visually similar to the original.

Visual Structure of UPIs

Unlike random noise, generated UPIs often exhibit clear, non-random structures. For MNIST, these patterns resemble ghostly, overlapping digits. For natural images, they manifest as high-frequency textures designed to systematically distract the model's gradient-based attention.

The structured nature of universal perturbations for different interpretation methods.

Results and Generalization

The effectiveness of these attacks was measured using a "dissimilarity score." On Tiny-ImageNet with VGG-16, UPI-Grad achieved a dissimilarity of 0.598, approaching the 0.777 score of custom per-image attacks. Notably, the UPI-PCA method demonstrated superior transferability, remaining highly effective on test sets entirely separate from the training data. Furthermore, perturbations designed to fool Simple Gradient methods often successfully compromised Integrated Gradients, suggesting a shared underlying vulnerability across different interpretation frameworks.

Conclusion

This research highlights a fundamental weakness in current neural network interpretation methods. The susceptibility to universal perturbations suggests that saliency maps may provide a false sense of security regarding model transparency. Understanding these vulnerabilities is a necessary precursor to developing more robust and "un-foolable" explanation techniques in the future.

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