用输入梯度蒸馏消除$\ell_{\infty}$ -范数对抗训练中的不等式现象
Releasing Inequality Phenomenon in $\ell_{\infty}$-norm Adversarial Training via Input Gradient Distillation
摘要:
对抗性训练(AT)被认为是对抗对抗攻击最有效的防御手段。然而,最近的一项研究表明,\(\ell_{\infty}\) -norm对抗训练(\(\ell_{\infty}\) -AT)也会导致不均匀分布的输入梯度,这被称为不等式现象。这种现象使得当高属性或随机选择的像素被扰动时,\(\ell_{\infty}\) -范数对抗训练模型比标准训练模型更脆弱,从而实现针对\(\ell_{\infty}\) -对抗训练模型的鲁棒且实用的黑盒攻击。在本文中,我们提出了一个简单而有效的方法称为输入梯度蒸馏(IGD),以释放不等式现象的$\ell_{\infty}$ -AT。IGD通过将学生模型和标准训练模型的输入梯度与余弦相似性对齐,将标准训练的教师模型的平等决策模式提取到$\ell_{\infty}$ -对抗训练的学生模型中。实验表明,IGD可以减轻不平等现象及其威胁,同时保持对抗鲁棒性。与vanilla $\ell_{\infty}$ -AT相比,IGD将ImageNet-C中感应噪声、感应遮挡、随机噪声和噪声图像的出错率分别降低了60%、16%、50%和21%。除了实证实验之外,我们还进行了理论分析,以解释为什么释放不等式现象可以提高这种鲁棒性,并讨论为什么不等式现象的严重程度会根据数据集的图像分辨率而变化。我们的代码可在https://github.com/fhdnskfbeuv/Inuput-Gradient-Distillation上获得
英文摘要:
Adversarial training (AT) is considered the most effective defense against adversarial attacks. However, a recent study revealed that \(\ell_{\infty}\)-norm adversarial training (\(\ell_{\infty}\)-AT) will also induce unevenly distributed input gradients, which is called the inequality phenomenon. This phenomenon makes the \(\ell_{\infty}\)-norm adversarially trained model more vulnerable than the standard-trained model when high-attribution or randomly selected pixels are perturbed, enabling robust and practical black-box attacks against \(\ell_{\infty}\)-adversarially trained models. In this paper, we propose a simple yet effective method called Input Gradient Distillation (IGD) to release the inequality phenomenon in $\ell_{\infty}$-AT. IGD distills the standard-trained teacher model's equal decision pattern into the $\ell_{\infty}$-adversarially trained student model by aligning input gradients of the student model and the standard-trained model with the Cosine Similarity. Experiments show that IGD can mitigate the inequality phenomenon and its threats while preserving adversarial robustness. Compared to vanilla $\ell_{\infty}$-AT, IGD reduces error rates against inductive noise, inductive occlusion, random noise, and noisy images in ImageNet-C by up to 60\%, 16\%, 50\%, and 21\%, respectively. Other than empirical experiments, we also conduct a theoretical analysis to explain why releasing the inequality phenomenon can improve such robustness and discuss why the severity of the inequality phenomenon varies according to the dataset's image resolution. Our code is available at https://github.com/fhdnskfbeuv/Inuput-Gradient-Distillation
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。