Improving Adversarial Transferability via Neuron Attribution-Based Attacks

Jianping Zhang, Weibin Wu, Jen-tse Huang, Yizhan Huang, Wenxuan Wang, Yuxin Su, Michael R. Lyu

Abstract

Adversarial transferability—the ability of an adversarial example generated on a surrogate model to deceive a black-box target model—remains a significant challenge in robust machine learning. Current feature-level attacks often suffer from overfitting to the surrogate model's specific architectures. This paper introduces the Neuron Attribution-based Attack (NAA), which leverages explainable AI techniques to identify and perturb critical neurons. By utilizing a computationally efficient approximation of neuron attribution, NAA achieves state-of-the-art transferability against both undefended and adversarially trained models.

Introduction

Deep Neural Networks (DNNs) are highly susceptible to adversarial examples: inputs modified by small, often imperceptible perturbations that trigger incorrect classifications. While "white-box" attacks are highly effective when model parameters are known, real-world scenarios typically involve "black-box" targets. Transfer-based attacks address this by crafting perturbations on a local surrogate model. However, these attacks frequently overfit the surrogate, leading to poor performance on diverse target architectures.

The Challenge of Feature-Level Attacks

To improve transferability, researchers have shifted from attacking the final output layer to disrupting intermediate feature maps. Existing methods like the Neural Representation Distortion Method (NRDM) attempt to maximize the distance between feature representations of benign and adversarial images. However, these methods often treat all neurons within a layer as equally important or rely on noisy gradient signals. This lack of specificity results in perturbations that do not consistently translate to the internal logic of a different target model.

Methodology: Neuron Attribution-based Attack (NAA)

The core innovation of NAA is the use of Neuron Attribution to pinpoint exactly which internal features contribute most to a model's decision.

1. Axiomatic Attribution

Inspired by the "Integrated Gradients" method from Explainable AI (XAI), the authors attribute the model's output to individual neurons. This ensures "completeness," where the sum of attributions for all neurons in a layer equals the total output value. This allows the attack to identify neurons that positively support the correct class and those that hinder it.

2. Linear Approximation Trick

Calculating full attribution is computationally prohibitive for real-time attacks. NAA introduces a simplification: treating the network's early and late stages as linearly independent. This reduces the complexity to a simple product of the change in a neuron's activation and its "Integrated Attention" (the average gradient along a path from a baseline image to the input). This approximation moves the computational cost from nearly a million operations to a constant time $O(1)$.

3. Weighted Perturbation

Unlike previous attacks that add uniform noise, NAA surgically suppresses "positive" neurons (those aiding correct classification) and enhances "negative" neurons. A hyperparameter ($\gamma$) is used to balance these two objectives, ensuring the perturbation is optimized for transferability rather than just surrogate error.

Visualizing Adversarial Transfer

Comparison of attention maps between benign and adversarial images across source and target models.

As shown in the figure above, the NAA attack successfully shifts the attention of both the source and target models. In the benign image, both models focus on the primary features of the subject. Once the adversarial perturbation is applied, the attention maps for both models are redirected toward irrelevant regions, demonstrating that the features targeted by NAA are indeed critical across different architectures.

Experimental Results

The authors evaluated NAA using a subset of 1,000 images from the ImageNet (ILSVRC 2012) validation set across various architectures, including Inception-v3, ResNet-v2, and ensemble-defended models.

  • Superior Transferability: NAA consistently outperformed existing benchmarks like the Feature Importance-aware Attack (FIA) and Momentum Iterative Method (MIM) on undefended models.
  • Breaking Defenses: The attack showed remarkable efficacy against adversarially trained models. For instance, when targeting an ensemble-defended Inception-v3 model, NAA improved the success rate by over 10% compared to previous state-of-the-art methods.
  • Synergy with Other Methods: NAA is highly compatible with other transfer-enhancing techniques. Combining NAA with Input Diversity (DIM) and Translation Invariance (TIM) pushed success rates above 80% against advanced defensive systems.

Conclusion

By bridging the gap between adversarial robustness and explainable AI, the Neuron Attribution-based Attack (NAA) provides a more surgical and effective means of generating transferable adversarial examples. The method's ability to identify and target class-relevant neurons through efficient approximation makes it a powerful tool for evaluating the security of black-box AI systems. Future work may extend this attribution-based logic to other domains such as natural language processing and object detection.

Summary updated

BibTeX
@inproceedings{zhang2022improving,
  author = {Jianping Zhang and Weibin Wu and Jen-tse Huang and Yizhan Huang and Wenxuan Wang and Yuxin Su and Michael R. Lyu},
  title = {{Improving Adversarial Transferability via Neuron Attribution-Based Attacks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure