Feature Importance-aware Transferable Adversarial Attacks

Zhibo Wang, Hengchang Guo, Zhifei Zhang, Wenxin Liu, Zhan Qin, Kui Ren

Abstract

Adversarial transferability is a critical property for black-box attacks, where perturbations crafted for a source model are used to deceive unknown target models. However, current attacks often overfit to model-specific artifacts, leading to poor transfer performance. This paper introduces the Feature Importance-aware Attack (FIA), a novel approach that prioritizes the disruption of intrinsic, object-aware features. By utilizing an aggregate gradient technique to neutralize model-specific noise, FIA identifies features essential for object recognition across different architectures. Experimental results demonstrate that FIA consistently outperforms existing state-of-the-art attacks, achieving significant improvements in success rates against both normally trained and robustly defended models.

Introduction

Deep Neural Networks (DNNs) are susceptible to adversarial examples—inputs modified with imperceptible perturbations that cause misclassification. In real-world "black-box" scenarios, attackers lack access to the target model's architecture and parameters. Consequently, they rely on the transferability of adversarial examples generated from a known source model.

A major bottleneck in transferability is the tendency of attacks to get trapped in model-specific local optima. These "brute-force" distortions often exploit quirks unique to the source model's training or architecture rather than the fundamental features of the object itself. To address this, we propose shifting the focus of adversarial optimization toward features that are consistently important across different models.

Methodology: Feature Importance-aware Attack (FIA)

The core philosophy of FIA is to disrupt the intrinsic features that all models rely on for classification. The method consists of three primary components:

  1. Aggregate Gradient: To identify robust features, FIA applies a batch of random transformations (specifically, random pixel masking) to the input image. By averaging the gradients across these variations, model-specific "noisy" features that fluctuate with the masks are neutralized, while stable, intrinsic object features are highlighted.
  2. Feature Importance Mapping: The aggregated gradients provide a map of "feature importance." This map indicates which regions and features in the intermediate layers are most critical for the source model's prediction.
  3. Guided Optimization: FIA uses this importance map to weight the adversarial loss. The optimization objective is designed to suppress these "important" features while promoting "trivial" or background features, effectively blinding the model to the actual object.
The FIA framework: from input image to weighted feature map optimization.

The authors found that targeting the middle layers of a network provides a "sweet spot" for transferability. Early layers capture generic textures, while late layers are too specialized; middle layers offer the best balance of semantic information and model-agnosticism.

Experimental Results

The proposed method was evaluated on the ImageNet-compatible dataset across various architectures, including Inception-v3, ResNet-152, and VGG-16, as well as adversarially trained defense models like Adv-Inc-v3.

FIA demonstrated superior performance compared to existing methods like MIM and DIM. On average, it improved attack success rates by 9.5% against standard models and 12.8% against robust defense models. Notably, when using VGG-16 as a source, success rates exceeded 90% on several target models.

Visual comparison of attention maps (Grad-CAM) for traditional attacks versus FIA. FIA successfully shifts the model's focus away from the object to irrelevant background regions.

Visual evidence using Grad-CAM attention maps confirms that while traditional attacks might only slightly perturb a model's focus, FIA causes the target model to completely ignore the primary object, focusing instead on trivial background regions.

Discussion and Limitations

While FIA significantly boosts transferability, it introduces higher computational overhead due to the requirement of calculating gradients for an ensemble of masked images (typically $N=30$). Additionally, the effectiveness of the attack is sensitive to hyperparameters such as the choice of intermediate layer and the mask drop probability. Despite these challenges, the "averaging" filter approach provides a robust framework for separating true semantic signals from model-specific artifacts.

Conclusion

FIA represents a significant advancement in transferable adversarial attacks by focusing on intrinsic feature importance rather than generic pixel distortion. By leveraging aggregate gradients to filter out model-specific noise, FIA generates adversarial examples with high transferability across diverse and even robustly trained architectures. Future work may explore combining FIA with other input diversity techniques to further enhance attack potency.

Summary updated

BibTeX
@inproceedings{wang2021feature,
  author = {Zhibo Wang and Hengchang Guo and Zhifei Zhang and Wenxin Liu and Zhan Qin and Kui Ren},
  title = {{Feature Importance-aware Transferable Adversarial Attacks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00754},
}
Figure