提升对抗攻击的阶梯符号方法
Staircase Sign Method for Boosting Adversarial Attacks
摘要:
为基于传输的攻击制作对抗性示例具有挑战性,并且仍然是研究热点。目前,这样的攻击方法是基于替代模型和受害者模型学习相似的决策边界的假设,并且它们常规地应用符号方法(SM)来操纵梯度作为结果扰动。虽然SM是有效的,但它只提取梯度单元的符号,而忽略了它们的值的差异,这不可避免地导致偏差。因此,我们提出了一种新的阶梯符号方法(S $^2$ M)来缓解这个问题,从而提高攻击。从技术上讲,我们的方法根据梯度单元的值将梯度符号划分为几个部分,然后为每个部分分配一个阶梯权重,以便更好地制作对抗性扰动。因此,我们的对抗性示例在白盒和黑盒方式下都表现得更好,而不会更明显。由于S $^2$ M只对合成梯度进行操作,因此我们的方法可以被集成到FGSM算法族中,并且计算开销可以忽略不计。在ImageNet数据集上的大量实验证明了我们提出的方法的有效性,这些方法显着提高了可转移性(即,平均而言,\textbf{5.1\%}用于正常训练的模型,而\textbf{12.8\%}用于对抗训练的防御)。我们的代码可在\url{https://github.com/qilong-zhang/Staircase-sign-method}上找到。
英文摘要:
Crafting adversarial examples for the transfer-based attack is challenging and remains a research hot spot. Currently, such attack methods are based on the hypothesis that the substitute model and the victim model learn similar decision boundaries, and they conventionally apply Sign Method (SM) to manipulate the gradient as the resultant perturbation. Although SM is efficient, it only extracts the sign of gradient units but ignores their value difference, which inevitably leads to a deviation. Therefore, we propose a novel Staircase Sign Method (S$^2$M) to alleviate this issue, thus boosting attacks. Technically, our method heuristically divides the gradient sign into several segments according to the values of the gradient units, and then assigns each segment with a staircase weight for better crafting adversarial perturbation. As a result, our adversarial examples perform better in both white-box and black-box manner without being more visible. Since S$^2$M just manipulates the resultant gradient, our method can be generally integrated into the family of FGSM algorithms, and the computational overhead is negligible. Extensive experiments on the ImageNet dataset demonstrate the effectiveness of our proposed methods, which significantly improve the transferability (i.e., on average, \textbf{5.1\%} for normally trained models and \textbf{12.8\%} for adversarially trained defenses). Our code is available at \url{https://github.com/qilong-zhang/Staircase-sign-method}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。