Adversarial robustness has attracted extensive studies recently by revealing the vulnerability and intrinsic characteristics of deep networks. However, existing works on adversarial robustness mainly focus on balanced datasets, while real-world data usually exhibits a long-tailed distribution. To push adversarial robustness towards more realistic scenarios, in this work we investigate the adversarial vulnerability as well as defense under long-tailed distributions. In particular, we first reveal the negative impacts induced by imbalanced data on both recognition performance and adversarial robustness, uncovering the intrinsic challenges of this problem. We then perform a systematic study on existing long-tailed recognition methods in conjunction with the adversarial training framework. Several valuable observations are obtained: 1) natural accuracy is relatively easy to improve, 2) fake gain of robust accuracy exists under unreliable evaluation, and 3) boundary error limits the promotion of robustness. Inspired by these observations, we propose a clean yet effective framework, RoBal, which consists of two dedicated modules, a scale-invariant classifier and data re-balancing via both margin engineering at training stage and boundary adjustment during inference. Extensive experiments demonstrate the superiority of our approach over other state-of-the-art defense methods. To our best knowledge, we are the first to tackle adversarial robustness under long-tailed distributions, which we believe would be a significant step towards real-world robustness. Our code is available at: https://github.com/wutong16/Adversarial_Long-Tail .
翻译:通过揭示深度网络的脆弱性和内在特点,Aversarial稳健性最近吸引了广泛的研究;然而,现有的对抗性稳健性工作主要侧重于平衡的数据集,而现实世界数据通常显示长期的分布。为了将对抗性稳健性推向更现实的情景,我们在这项工作中调查对抗性脆弱性,并在长期的分布下进行防御。特别是,我们首先揭示了对承认性表现和对抗性稳健性的不平衡数据所产生的负面影响,16 揭示了这一问题的内在挑战。然后,我们结合对抗性培训框架对现有长期的识别方法进行了系统研究。取得了一些有价值的观察:1)自然精确性相对容易改进,2)在不可靠的评价下假地获得稳健的准确性,3)边界错误限制了对稳健性的促进。根据这些观察,我们提出了一个干净而有效的框架,即RoBal,它由两个专用模块组成,一个规模的逆性分类器和数据重新平衡,在培训阶段通过边际工程和边界调整进行。在推断过程中,我们进行了广泛的实验,1)自然精确的精确性是改进方法的优越性;2)在不可靠的评估之下,我们的方法比强的防御性,在另一个的防御性规则下,我们最强的正确性下,这是我们最强的防御性。