快速梯度无符号方法
Fast Gradient Non-sign Methods
摘要:
对抗攻击在DNN中取得了成功,其中基于梯度的算法成为主流之一。基于线性假设,在$\ell_\infty$约束下,对梯度进行$sign$运算是产生扰动的良好选择。然而,这种操作存在副作用,因为它导致实际梯度和扰动之间的方向偏差。换句话说,当前的方法包含真实梯度和实际噪声之间的差距,这导致有偏见和低效的攻击。为此,本文基于泰勒展开式,从理论上分析了这种偏差,并对$sign$进行了修正,进一步提出了快速梯度无符号方法。值得注意的是,FGNM是一种通用例程,其以可忽略的额外计算成本无缝地替换基于梯度的攻击中的常规$sign$操作。大量的实验证明了我们的方法的有效性。具体来说,对于无目标的黑盒攻击,我们的性能最多超过27.5%,平均超过9.5%。对于针对防御模型的有针对性的攻击,它是15.1%和12.7%。我们的匿名代码可在https://github.com/yaya-cheng/FGNM上公开获取
英文摘要:
Adversarial attacks make their success in DNNs, and among them, gradient-based algorithms become one of the mainstreams. Based on the linearity hypothesis, under $\ell_\infty$ constraint, $sign$ operation applied to the gradients is a good choice for generating perturbations. However, side-effects from such operation exist since it leads to the bias of direction between real gradients and perturbations. In other words, current methods contain a gap between real gradients and actual noises, which leads to biased and inefficient attacks. Therefore in this paper, based on the Taylor expansion, the bias is analyzed theoretically, and the correction of $sign$, i.e., Fast Gradient Non-sign Method (FGNM), is further proposed. Notably, FGNM is a general routine that seamlessly replaces the conventional $sign$ operation in gradient-based attacks with negligible extra computational cost. Extensive experiments demonstrate the effectiveness of our methods. Specifically, for untargeted black-box attacks, ours outperform them by 27.5% at most and 9.5% on average. For targeted attacks against defense models, it is 15.1% and 12.7%. Our anonymous code is publicly available at https://github.com/yaya-cheng/FGNM
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。