Adaptive Perturbation for Adversarial Attack
Zheng Yuan, Jie Zhang, Zhaoyan Jiang, Liangliang Li, Shiguang Shan
TL;DR
This work identifies a fundamental limitation of sign-based gradient normalization in gradient-based adversarial attacks under the $L_\infty$ budget. It introduces Adaptive Perturbation for Adversarial Attack (APAA), which multiplies the exact loss gradient by a scaling factor $\gamma$ instead of normalizing with the sign function, enabling more accurate update directions and more aggressive early steps. APAA has two variants: a fixed-scaling version and an adaptive-scaling version that uses a per-step scaling-factor generator to tailor $\gamma_t$ to each image, with theoretical analysis (via Shapley interaction) arguing improved black-box transferability. Empirical results on CIFAR-10 and ImageNet show that APAA significantly improves transferability and attack success rates with fewer update steps and smaller perturbations across white-box and black-box settings, outperforming state-of-the-art gradient-based attacks and compatible with multiple baselines.
Abstract
In recent years, the security of deep learning models achieves more and more attentions with the rapid development of neural networks, which are vulnerable to adversarial examples. Almost all existing gradient-based attack methods use the sign function in the generation to meet the requirement of perturbation budget on $L_\infty$ norm. However, we find that the sign function may be improper for generating adversarial examples since it modifies the exact gradient direction. Instead of using the sign function, we propose to directly utilize the exact gradient direction with a scaling factor for generating adversarial perturbations, which improves the attack success rates of adversarial examples even with fewer perturbations. At the same time, we also theoretically prove that this method can achieve better black-box transferability. Moreover, considering that the best scaling factor varies across different images, we propose an adaptive scaling factor generator to seek an appropriate scaling factor for each image, which avoids the computational cost for manually searching the scaling factor. Our method can be integrated with almost all existing gradient-based attack methods to further improve their attack success rates. Extensive experiments on the CIFAR10 and ImageNet datasets show that our method exhibits higher transferability and outperforms the state-of-the-art methods.
