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.
翻译:深度神经网络易受对抗样本攻击,这对模型的应用构成威胁并引发安全隐患。对抗样本的强可迁移性是其引人注目的特性之一。现有多种增强可迁移性的方法,其中集成攻击已被证明有效。然而,以往方法仅对模型集成中的对数几率、概率或损失进行简单平均,缺乏对模型集成如何及为何显著提升可迁移性的全面分析。本文提出一种名为相似目标(Similar Target, ST)的相似目标攻击方法。通过提升各模型梯度间的余弦相似度,该方法规范优化方向以同时攻击所有替代模型。该策略已被证明能增强泛化能力。在ImageNet数据集上的实验结果验证了本方法在提升对抗样本可迁移性方面的有效性。在18个判别分类器及对抗训练模型上,我们的方法优于现有最优攻击方法。