Towards Evaluating Transfer-based Attacks Systematically, Practically, and Fairly

Qizhang Li, Yiwen Guo, Wangmeng Zuo, Hao Chen

Introduction

Transfer-based adversarial attacks represent a significant security threat to deep learning systems in real-world "black-box" scenarios. In these attacks, an adversary generates perturbations on a substitute model to deceive a target victim model whose architecture and parameters are unknown. Despite the proliferation of proposed attack methods, the field has lacked a rigorous, standardized framework for evaluation. This paper introduces TA-Bench, a comprehensive benchmark designed to evaluate transfer-based attacks systematically, practically, and fairly.

The Crisis of Evaluation in Transfer Attacks

The current research landscape for transfer-based attacks often resembles a "Wild West." Many studies report "state-of-the-art" performance by comparing new, complex methods against outdated or weak baselines, such as simple I-FGSM. Furthermore, evaluations frequently ignore standard image pre-processing steps—such as resizing and cropping—that are ubiquitous in production environments. By omitting these practical constraints, researchers often overestimate the real-world effectiveness of their attacks. TA-Bench addresses these issues by implementing over 30 methods across 25 diverse deep learning architectures, providing a unified platform for rigorous testing.

The TA-Bench Framework

The authors categorize existing transfer-based attacks into four primary methodological buckets:

  1. Input Augmentation and Optimizer: Techniques that apply transformations (e.g., scaling, translation) to the input or utilize advanced optimizers (e.g., momentum) to find more generalizable perturbations.
  2. Gradient Computation (DNN-Specific): Methods that modify backpropagation or analyze internal layer activations to identify features that are more likely to transfer across models.
  3. Substitute Model Training: Strategies focused on fine-tuning the substitute model to better approximate the decision boundaries of potential victim models.
  4. Generative Modeling: The use of separate neural networks (generators) to produce adversarial examples directly.

The Advanced Optimization Back-end

A central contribution of this work is the development of a "super-baseline" referred to as the Advanced Optimization Back-end. By integrating multiple input augmentations—including Uniform Noise (UN), Patch Dropping (DP), Diverse Inputs (DI²), Translation-Invariant (TI), and Propagation-Invariant (PI) methods—into a single framework (UN-DP-DI²-TI-PI-FGSM), the authors established a formidable performance standard. This baseline is so effective that many specialized gradient-based methods fail to outperform it when evaluated under identical conditions.

Empirical Insights and Practical Considerations

The systematic evaluation provided by TA-Bench yielded several critical insights into the nature of adversarial transferability:

The Pre-processing "Gotcha"

The study demonstrates that re-introducing standard test-time pre-processing (resize and crop) significantly impacts attack success rates. In one instance, victim model accuracy rose from 86.16% to 87.79% simply by accounting for these steps. This highlights the necessity of including practical image pipelines in security evaluations.

Vision Transformers as Superior Proxies

The benchmark reveals a clear hierarchy in substitute model effectiveness. Vision Transformers (ViTs) consistently outperform CNNs as substitute models. Attacks generated using a ViT-B substitute achieved a 28.80% average accuracy on victim models, compared to 31.97% when using a ResNet-50 substitute (lower accuracy indicates higher attack success). ViTs appear to capture more transferable adversarial features that generalize even to traditional CNN architectures.

The Averaging Illusion

Many methods claiming to improve transferability through sophisticated gradient mathematics were found to benefit primarily from implicit "gradient averaging" across multiple augmented inputs. When compared to a baseline that uses an equivalent computational budget for simple averaging, these "clever" methods often lose their competitive edge.

Limits of Augmentation

While combining various augmentations generally enhances transferability, there is a point of diminishing returns. Excessive augmentation (e.g., combining Patch Dropping with aggressive Input Scaling) can push the adversarial image out of the model's expected data distribution, ultimately reducing the effectiveness of the attack.

Key Results and Performance Standards

TA-Bench utilizes the Average Average Accuracy (AAA) metric to provide a holistic view of model vulnerability. The authors' combined optimization back-end achieved an AAA of 42.42%, setting a new bar for future research. Under this fair evaluation framework, NAA (Neuron Attribution-based Attack) was identified as the most potent gradient computation method, while MoreBayesian proved to be the most effective strategy for substitute model training.

Conclusion and Future Work

TA-Bench provides the necessary infrastructure to move the field of adversarial machine learning toward more transparent and reproducible science. While the current benchmark focuses on ImageNet and classification tasks, it lays the groundwork for future expansions into object detection, semantic segmentation, and the investigation of "stealthy" attacks that maintain high visual quality while maximizing transferability. By standardizing the "Advanced Optimization Back-end," the authors provide a rigorous yardstick for the next generation of transfer-based adversarial research.

Summary updated

BibTeX
@inproceedings{li2023towards,
  author = {Qizhang Li and Yiwen Guo and Wangmeng Zuo and Hao Chen},
  title = {{Towards Evaluating Transfer-based Attacks Systematically, Practically, and Fairly}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=X5MH7iut9K},
}
Figure