Enhancing Adversarial Attacks: The Similar Target Method
Shuo Zhang, Ziruo Wang, Zikai Zhou, Huanran Chen
TL;DR
Adversarial examples exhibit strong transferability, threatening deployed models even without access to their internals. The paper introduces the Similar Target (ST) method and its instantiation MI-ST, which regularizes attack optimization by maximizing gradient cosine similarity across surrogate models while preserving the original loss objective. Through a Taylor-based derivation, the authors show MI-ST achieves lower approximation error than prior cosine-based approaches and can be integrated with existing attacks and transformations. Empirical results on ImageNet-related tasks demonstrate substantial gains in transferability against both standard and adversarially trained models, underscoring the need for more robust defenses against gradient-alignment strategies.
Abstract
Deep neural networks are vulnerable to adversarial examples, posing a threat to the models' applications and raising security concerns. An intriguing property of adversarial examples is their strong transferability. Several methods have been proposed to enhance transferability, including ensemble attacks which have demonstrated their efficacy. However, prior approaches simply average logits, probabilities, or losses for model ensembling, lacking a comprehensive analysis of how and why model ensembling significantly improves transferability. In this paper, we propose a similar targeted attack method named Similar Target~(ST). By promoting cosine similarity between the gradients of each model, our method regularizes the optimization direction to simultaneously attack all surrogate models. This strategy has been proven to enhance generalization ability. Experimental results on ImageNet validate the effectiveness of our approach in improving adversarial transferability. Our method outperforms state-of-the-art attackers on 18 discriminative classifiers and adversarially trained models.
