Bag of Tricks to Boost Adversarial Transferability
Zeliang Zhang, Wei Yao, Xiaosen Wang
TL;DR
Adversarial transferability is a critical risk when perturbations are crafted on a surrogate model for black-box targets. This work systematically studies how hyperparameters like the number of iterations $T$, step size $\alpha$, and momentum factors influence cross-model success under an $l_\infty$ budget $\epsilon=16/255$, and then proposes a bag of tricks: momentum initialization, scheduled step size, dual examples, spectral-based input transformations, and ensemble strategies. Through extensive ImageNet experiments, the authors show that integrating these tricks yields sizable gains over baselines and remains effective against defenses and real-world systems such as Google's Vision API. The results provide practical guidance for evaluating and enhancing adversarial transferability in real-world, black-box settings, while also motivating theoretical questions about optimization dynamics and step-size schedules in attack generation.
Abstract
Deep neural networks are widely known to be vulnerable to adversarial examples. However, vanilla adversarial examples generated under the white-box setting often exhibit low transferability across different models. Since adversarial transferability poses more severe threats to practical applications, various approaches have been proposed for better transferability, including gradient-based, input transformation-based, and model-related attacks, \etc. In this work, we find that several tiny changes in the existing adversarial attacks can significantly affect the attack performance, \eg, the number of iterations and step size. Based on careful studies of existing adversarial attacks, we propose a bag of tricks to enhance adversarial transferability, including momentum initialization, scheduled step size, dual example, spectral-based input transformation, and several ensemble strategies. Extensive experiments on the ImageNet dataset validate the high effectiveness of our proposed tricks and show that combining them can further boost adversarial transferability. Our work provides practical insights and techniques to enhance adversarial transferability, and offers guidance to improve the attack performance on the real-world application through simple adjustments.
