Towards Hiding Adversarial Examples from Network Interpretation

Akshayvarun Subramanya, Vipin Pillai, Hamed PirsiavasharXiv 2018

Abstract

Deep neural networks have been shown to be fooled rather easily using adversarial attack algorithms. Practical methods such as adversarial patches have been shown to be extremely effective in causing misclassification. However, these patches are highlighted using standard network interpretation algorithms, thus revealing the identity of the adversary. We show that it is possible to create adversarial patches which not only fool the prediction, but also change what we interpret regarding the cause of the prediction. Moreover, we introduce our attack as a controlled setting to measure the accuracy of interpretation algorithms. We show this using extensive experiments for Grad-CAM interpretation that transfers to occluding patch interpretation as well. We believe our algorithms can facilitate developing more robust network interpretation tools that truly explain the network's underlying decision making process.

Introduction: The Vulnerability of XAI

As deep learning models are increasingly deployed in high-stakes environments like healthcare and autonomous driving, Explainable AI (XAI) has become a critical requirement. Stakeholders need to understand why a model makes a specific prediction to ensure safety and fairness. Tools like Grad-CAM have become industry standards, generating heatmaps that highlight the spatial regions most responsible for a network's output.

However, the reliability of these interpretation tools is often taken for granted. While it is well-known that models are vulnerable to "adversarial patches"—localized stickers that force misclassification—standard XAI tools typically succeed in identifying these patches as the root cause of the error. This paper explores a more insidious threat: can an attacker create a "stealth" patch that fools the classifier while simultaneously deceiving the interpretation tool?

Methodology: Creating Stealthy Adversarial Patches

Standard adversarial patches are generated by optimizing pixels within a restricted region to maximize the network's confidence in a target (incorrect) class. The authors propose a novel optimization objective that incorporates a penalty term to hide the patch from interpretation.

Overview of the proposed attack compared to a standard adversarial patch.

As shown in Figure 1, while a regular adversarial patch is clearly highlighted by Grad-CAM, the proposed attack tweaks the patch pixels to minimize heatmap activations within the patch area. The authors explored several variants:

  • Targeted & Non-Targeted Hiding: Forcing a specific or arbitrary incorrect class while suppressing the patch's signature in the heatmap.
  • Uniform Heatmap Patches: Instead of just suppressing the patch, this variant redirects the heatmap to a different, innocent-looking part of the image to avoid raising suspicion.
  • Universal Targeted Patches: Training a single patch that can be applied to any unseen image to achieve both misclassification and interpretation deception.

Key Results and Insights

The effectiveness of these stealth patches was evaluated across multiple architectures (VGG19-BN, ResNet-34, DenseNet-121) and datasets (ImageNet, PASCAL VOC-2012).

Quantitative Performance

On ImageNet using VGG19-BN, standard adversarial patches resulted in 76.26% of the Grad-CAM heatmap energy being concentrated on the patch. The proposed stealth patch reduced this "Energy Ratio" to just 6.80%, while maintaining a high attack success rate of 77.88%. This demonstrates that the true cause of the prediction (the patch) can be almost entirely hidden from the observer.

Transferability and Robustness

A significant finding is that attacks optimized to fool Grad-CAM also successfully deceived the "Occluding Patch" method, a fundamentally different interpretation algorithm. This suggests that the vulnerability is not specific to one XAI technique but reflects a deeper issue in how models process spatial importance.

Transferability of the attack from Grad-CAM to the Occluding Patch interpretation method.

Furthermore, even models like GAIN, which are explicitly trained with supervised attention to produce more accurate heatmaps, proved vulnerable. For instance, a universal patch targeting the "aeroplane" class on the GAIN model achieved a 94.5% success rate with an Energy Ratio of 0.0%.

Conclusion and Future Directions

This research exposes a critical flaw in current XAI methods: they can be easily spoofed. If an interpretation tool can be manipulated to point away from the actual cause of a prediction, its utility as a safety or verification mechanism is compromised.

The authors suggest that their attack framework should serve as a "sanity check" for the development of future interpretation algorithms. Robustness to such deception is a necessary condition for any XAI tool intended for use in sensitive, real-world applications.

Summary updated

BibTeX
@misc{subramanya2018towards,
  author = {Akshayvarun Subramanya and Vipin Pillai and Hamed Pirsiavash},
  title = {{Towards Hiding Adversarial Examples from Network Interpretation}},
  year = {2018},
  eprint = {1812.02843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.02843},
}
Figure