Enhancing Transferability of Targeted Adversarial Examples: A Self-Universal Perspective

Bowen Peng, Li Liu, Tianpeng Liu, Zhen Liu, Yongxiang LiuarXiv 2024

Introduction

Adversarial attacks involve making subtle, imperceptible modifications to an image to deceive Deep Neural Networks (DNNs). While untargeted attacks—simply making a model incorrect—are relatively straightforward, targeted attacks represent a much higher bar. In a targeted attack, the goal is to force a model to misclassify an image as a specific, pre-defined label (e.g., making a "stop sign" appear as a "bird").

The primary obstacle in this field is transferability: an adversarial example crafted to fool one model (the surrogate) often fails when tested against a different, unseen model (the victim).

The Challenge of Targeted Transferability

Historically, researchers have approached targeted transferability in two ways. Simple gradient-based attacks are fast but often "overfit" to the surrogate model, resulting in poor transfer performance. Conversely, resource-intensive generative methods train complex models on massive datasets to learn "universal" features. While effective, these methods require significant data and time-consuming retraining for every new target label, limiting their practical utility.

Comparison between resource-intensive generative methods and the proposed self-universal approach.

The Self-Universal Perspective

This paper introduces a "self-universal" perspective, suggesting that a single image contains sufficient "overlooked semantics" to achieve high transferability without external data. The authors hypothesize that by applying diverse transformations to a single image, an attack can exploit intrinsic features that are consistent across different model architectures. This approach mimics the diversity found in large datasets but does so using only the target image itself.

The $S^4ST$ Method

To operationalize this perspective, the authors propose $S^4ST$ (Simple, faSt, Self-universal yet Strong Scale Transformation). This method centers on the surprising effectiveness of image scaling as a foundational transformation.

The S4ST pipeline and the impact of transformation strength on success rate and time.

The $S^4ST$ framework consists of three key components:

  1. $S^4ST$-Base: A refined scaling approach that randomly resizes, pads, or crops the image, forcing the attack to find features that persist across various scales.
  2. $S^4ST$-Aug: Incorporates a pool of orthogonal transformations—such as random flips, shifts, and noise—to increase the diversity of the input.
  3. $S^4ST$-Block: Applies transformations locally by splitting the image into blocks, further increasing the complexity and robustness of the generated noise.

Unlike traditional untargeted attacks that use "mild" transformations to preserve loss, $S^4ST$ utilizes "strong" transformations and a high iteration count ($T=900$) to ensure the adversarial noise converges on truly transferable features.

Experimental Results

The authors evaluated $S^4ST$ on the ImageNet-Compatible benchmark against 14 diverse black-box models, including CNNs (ResNet, ConvNeXt) and Vision Transformers (ViT, Swin).

  • State-of-the-Art Performance: $S^4ST$ achieved a 79.8% average targeted success rate (tSuc), representing a 19.8% absolute improvement over existing transformation-based methods.
  • Efficiency: The method is remarkably efficient, requiring only 36% of the time of previous top-tier methods (reducing time per image from 1.14s to 0.41s).
  • Outperforming Generative Models: Despite using only the target image, $S^4ST$ outperformed resource-intensive methods like M3D, which require training on 50,000+ additional images.
  • Real-World Application: In tests against the Google Cloud Vision API, the method achieved a 70% success rate using an ensemble of surrogates, demonstrating its effectiveness against commercial-grade defenses.

Conclusion

The "self-universal" perspective reveals that the key to targeted transferability lies not in massive external datasets, but in the intelligent exploitation of the semantic information already present within a single image. By leveraging simple yet powerful transformations like scaling, $S^4ST$ provides a fast, flexible, and highly effective solution for black-box targeted adversarial attacks.

Summary updated

BibTeX
@misc{peng2024enhancing,
  author = {Bowen Peng and Li Liu and Tianpeng Liu and Zhen Liu and Yongxiang Liu},
  title = {{Enhancing Transferability of Targeted Adversarial Examples: A Self-Universal Perspective}},
  year = {2024},
  eprint = {2407.15683},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.15683},
}
Figure