Everywhere Attack: Attacking Locally and Globally to Boost Targeted Transferability
Hui Zeng, Sanshuai Cui, Biwei Chen, Anjie Peng
TL;DR
Targeted transferability of adversarial examples remains difficult due to model-specific attention patterns. The Everywhere Attack introduces a block-wise strategy that places multiple target instances across local image regions, aggregating them with the global image to better cover diverse victim-model attentions; this approach is compatible with existing attacks and is surprisingly effective across CNNs and transformers. Empirical results on ImageNet show broad improvements in targeted transferability for numerous attacks, including sizeable gains over Logit baselines, and the method also transfers to data-free UAPs and real-world systems like Google Cloud Vision. The technique offers a simple, scalable way to enhance targeted adversaries and provides new insights into attention-driven transfer phenomena with potential implications for defense strategies and robustness research.
Abstract
Adversarial examples' (AE) transferability refers to the phenomenon that AEs crafted with one surrogate model can also fool other models. Notwithstanding remarkable progress in untargeted transferability, its targeted counterpart remains challenging. This paper proposes an everywhere scheme to boost targeted transferability. Our idea is to attack a victim image both globally and locally. We aim to optimize 'an army of targets' in every local image region instead of the previous works that optimize a high-confidence target in the image. Specifically, we split a victim image into non-overlap blocks and jointly mount a targeted attack on each block. Such a strategy mitigates transfer failures caused by attention inconsistency between surrogate and victim models and thus results in stronger transferability. Our approach is method-agnostic, which means it can be easily combined with existing transferable attacks for even higher transferability. Extensive experiments on ImageNet demonstrate that the proposed approach universally improves the state-of-the-art targeted attacks by a clear margin, e.g., the transferability of the widely adopted Logit attack can be improved by 28.8%-300%.We also evaluate the crafted AEs on a real-world platform: Google Cloud Vision. Results further support the superiority of the proposed method.
