arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.14240cs.CVcs.AI
收藏

对抗训练中类间鲁棒性的分析与应用

Analysis and Applications of Class-wise Robustness in Adversarial Training

Zhejiang University(浙江大学);Peking University(北京大学)

Qi Tian, Kun Kuang, Kelu Jiang, Fei Wu, Yisen Wang

摘要:

对抗性训练是提高模型对对抗性样本鲁棒性的最有效方法之一。然而,以往的工作主要集中在模型的整体鲁棒性上,对参与对抗训练的各个类的作用的深入分析仍然缺失。在本文中,我们提出分析对抗训练中的类鲁棒性。首先,我们在六个基准数据集上提供了对抗训练的详细诊断,即,MNIST、CIFAR-10、CIFAR-100、SVHN、STL-10和ImageNet。令人惊讶的是,我们发现类之间存在显着的鲁棒性差异,导致鲁棒模型中的类鲁棒性不平衡/不公平。此外,我们继续调查类之间的关系,发现不平衡类的鲁棒性是相当一致的不同的攻击和防御方法。此外,我们观察到对抗学习中更强的攻击方法主要通过对脆弱类的更成功的攻击来实现性能提高(即,类,具有较低的鲁棒性)。受这些有趣的发现的启发,我们设计了一个简单而有效的攻击方法的基础上,传统的PGD攻击,命名为Temperature-PGD攻击,提出了扩大类之间的鲁棒性差距与温度因子的置信度分布的每幅图像。实验结果表明,该方法可以实现比PGD攻击更高的攻击率。此外,从防御的角度来看,我们还在训练和推理阶段进行了一些修改,以提高最脆弱类的鲁棒性,从而减轻类间鲁棒性的巨大差异。我们相信我们的工作可以有助于更全面地理解对抗训练,并重新思考鲁棒模型中的类属性。

英文摘要:

Adversarial training is one of the most effective approaches to improve model robustness against adversarial examples. However, previous works mainly focus on the overall robustness of the model, and the in-depth analysis on the role of each class involved in adversarial training is still missing. In this paper, we propose to analyze the class-wise robustness in adversarial training. First, we provide a detailed diagnosis of adversarial training on six benchmark datasets, i.e., MNIST, CIFAR-10, CIFAR-100, SVHN, STL-10 and ImageNet. Surprisingly, we find that there are remarkable robustness discrepancies among classes, leading to unbalance/unfair class-wise robustness in the robust models. Furthermore, we keep investigating the relations between classes and find that the unbalanced class-wise robustness is pretty consistent among different attack and defense methods. Moreover, we observe that the stronger attack methods in adversarial learning achieve performance improvement mainly from a more successful attack on the vulnerable classes (i.e., classes with less robustness). Inspired by these interesting findings, we design a simple but effective attack method based on the traditional PGD attack, named Temperature-PGD attack, which proposes to enlarge the robustness disparity among classes with a temperature factor on the confidence distribution of each image. Experiments demonstrate our method can achieve a higher attack rate than the PGD attack. Furthermore, from the defense perspective, we also make some modifications in the training and inference phase to improve the robustness of the most vulnerable class, so as to mitigate the large difference in class-wise robustness. We believe our work can contribute to a more comprehensive understanding of adversarial training as well as rethinking the class-wise properties in robust models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑