A Little Robustness Goes a Long Way: Leveraging Universal Features for Targeted Transfer Attacks

Jacob M. Springer, Melanie Mitchell, Garrett T. Kenyon

Introduction

Neural networks are notoriously vulnerable to adversarial examples—carefully crafted perturbations that induce misclassification. While untargeted attacks, which simply aim to cause any incorrect prediction, transfer readily between models, targeted attacks—which force a specific incorrect label—have historically struggled to transfer across different architectures. This paper investigates a novel approach to bridge this gap: instead of refining the optimization process, the authors focus on the properties of the source model used to generate the attack.

Methodology

The authors employ a state-of-the-art optimizer, TMDI-FGSM, to generate adversarial examples. The key innovation is the use of adversarially trained source models. These models are trained using Projected Gradient Descent (PGD) to be robust against perturbations of magnitude $\epsilon$. By varying $\epsilon$ from 0 (standard training) to 5 (high robustness), the researchers explore how source model robustness affects the transferability of targeted attacks to a diverse set of "destination" networks, including CNNs (e.g., ResNet, VGG) and Vision Transformers (e.g., ViT, CLIP). The primary experiments were conducted on the ImageNet dataset using a randomly selected subset of 1,000 validation images.

The "Goldilocks Zone" of Robustness

A central finding is the existence of a "Goldilocks zone" for source model robustness. Standard models ($\epsilon=0$) often rely on non-robust, dataset-specific features that do not generalize well. Conversely, highly robust models may ignore subtle features that standard destination models utilize. However, "slightly robust" models (typically around $\epsilon=0.1$ to $1.0$) appear to learn a set of universal features shared across diverse architectures.

Targeted transfer success rates across various destination networks as a function of source model robustness.

As shown in Figure 1, the transfer success rate typically peaks at low but non-zero values of $\epsilon$. This peak is consistent across a wide range of destination architectures, suggesting that slight adversarial training helps the source model isolate features that are "universal" to the task of image recognition.

Bridging the CNN-Transformer Gap

Perhaps the most striking result is the significant improvement in transferability from CNN-based source models to Transformer-based destination models. Historically, the architectural differences between CNNs and ViTs have made targeted transfers nearly impossible.

Comparison of targeted transfer success rates (%) for different loss functions and source model robustness levels.

Table 1 (Figure 4) quantifies these improvements. For instance, using a standard ResNet-50 source model with a logit loss, the targeted transfer success rate to ViT is a negligible 3.9%. By using a slightly robust source model ($\epsilon=1$), this rate jumps to 36.0%. Even more impressively, transfer to CLIP—a model trained with a completely different language-image contrastive objective—increases from 0.4% to 26.7%.

Representation Transferability and Universal Features

The authors hypothesize that these attacks succeed by hijacking the internal feature representations of the destination models. By measuring representation similarity, they found that attacks generated from slightly robust models are better at forcing the destination model's penultimate layer to mimic the target image's features. This supports the "universality hypothesis": there exists a set of fundamental features that most high-performing models, regardless of architecture, eventually learn to utilize. Slight adversarial training acts as a filter, helping the source model isolate and utilize these universally shared features.

Conclusion and Implications

This research demonstrates that source model robustness is a critical factor in adversarial transferability. While providing deep insights into the nature of learned features, the results also raise significant security concerns. The ability to craft highly effective targeted attacks against black-box systems—even those with radically different architectures—suggests that current defenses may be more fragile than previously thought. Future work may explore ensemble attacks using multiple robust source models to further push the boundaries of transferability.

Summary updated

BibTeX
@inproceedings{springer2021little,
  author = {Jacob M. Springer and Melanie Mitchell and Garrett T. Kenyon},
  title = {{A Little Robustness Goes a Long Way: Leveraging Universal Features for Targeted Transfer Attacks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=XXxoCgHsiRv},
}
Figure