Intermediate Level Adversarial Attack for Enhanced Transferability

Qian Huang, Zeqi Gu, Isay Katsman, Horace He, Pian Pawakapan, Zhiqiu Lin, Serge J. Belongie, Ser-Nam LimarXiv 2018

Introduction

Adversarial examples—carefully crafted perturbations that cause machine learning models to misclassify inputs—often exhibit a property known as "black-box transferability." This allows an attack generated on a known source model to successfully fool an unknown target model. However, standard attacks like I-FGSM often overfit to the specific, high-level features of the source architecture, limiting their effectiveness when transferred. This paper presents the Intermediate Level Attack (ILA), a method designed to enhance transferability by maximizing disruption at intermediate feature layers.

Methodology

ILA serves as a fine-tuning stage for existing adversarial examples. The process begins with a baseline attack (e.g., I-FGSM) generated on the source model. ILA then modifies this perturbation to maximize the magnitude of the disturbance at a selected intermediate layer $l$. Crucially, the optimization includes a directional constraint to ensure the new disturbance remains aligned with the original adversarial direction, preserving the intent of the attack while amplifying its impact.

A key challenge is selecting the optimal layer $l$ without access to the target models. The authors propose using "disturbance graphs," which plot the magnitude of the ILA-induced disturbance across the source model's layers. They observe that the latest layer exhibiting a peak in disturbance consistently serves as the optimal target for black-box transfer.

Experimental Results

Performance on Target Models

Experiments conducted on the CIFAR-10 dataset demonstrate that ILA significantly improves transferability across diverse architectures, including SENet18, DenseNet121, and GoogLeNet. When using ResNet18 as the source, ILA consistently outperforms the I-FGSM baseline.

Accuracy of target models after ILA and I-FGSM attacks based on ResNet18.

As seen in the figure above, targeting intermediate layers (indices 2-4) leads to the lowest accuracy on target models. For instance, an attack from ResNet18 to GoogLeNet reduced accuracy from 58.6% (baseline) to 36.1% when targeting layer 4. Interestingly, ILA adversarial examples perform slightly worse on the original source model (blue solid vs. dashed line) than the baseline. This indicates that ILA successfully "un-fits" the perturbation from the source model's specific quirks to achieve better generalization.

Identifying the Optimal Layer

The effectiveness of the attack is highly sensitive to the choice of the intermediate layer. The authors' heuristic for layer selection is supported by the disturbance patterns observed within the source model.

By plotting the magnitude of the ILA disturbance across all layers, the authors found that the latest layer that exhibits a peak in disturbance is consistently the optimal layer for black-box transfer. This allows for effective layer selection in a target-agnostic manner.

Conclusion

The Intermediate Level Attack (ILA) provides a robust framework for increasing the transferability of adversarial examples by targeting generalizable intermediate features rather than model-specific final outputs. While demonstrated on CIFAR-10, the principles of ILA suggest broad applicability for enhancing the black-box vulnerability of deep learning systems across various domains.

Summary updated

BibTeX
@misc{huang2018intermediate,
  author = {Qian Huang and Zeqi Gu and Isay Katsman and Horace He and Pian Pawakapan and Zhiqiu Lin and Serge J. Belongie and Ser-Nam Lim},
  title = {{Intermediate Level Adversarial Attack for Enhanced Transferability}},
  year = {2018},
  eprint = {1811.08458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.08458},
}
Figure