arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.03787cs.CV
收藏

大规模对抗训练的有趣特性

Intriguing properties of adversarial training at scale

Johns Hopkins University(约翰斯·霍普金斯大学)

Cihang Xie, Alan Yuille

摘要:

对抗性训练是对抗对抗攻击的主要手段之一。在本文中,我们首次对对抗性训练的诊断元素进行了严格的研究,揭示了两个有趣的特性。首先,我们要研究规范化的作用。批量归一化(BN)是在许多视觉任务中实现最先进性能的关键因素,但我们发现它可能会阻止网络在对抗训练中获得强大的鲁棒性。一个意想不到的观察结果是,对于使用BN训练的模型,简单地从训练数据中移除干净的图像可以大大提高对抗鲁棒性,即,百分之十八点三我们将这种现象与干净图像和对抗图像来自两个不同领域的假设联系起来。这种双域假设可以解释在使用干净图像和对抗图像的混合进行训练时的BN问题,因为估计这种混合分布的归一化统计是具有挑战性的。在这个两域假设的指导下,我们展示了用于归一化的混合分布的解纠缠,即,将单独的BN应用于干净和对抗图像以进行统计估计,实现了更强的鲁棒性。此外,我们发现,强制BN在训练和测试中表现一致可以进一步增强鲁棒性。其次,我们研究了网络容量的作用。我们发现我们所谓的“深度”网络对于对抗性学习的任务来说仍然很浅。与传统的分类任务不同,在传统的分类任务中,通过向“深度”网络添加更多层(例如,ResNet-152),对抗训练对更深的网络表现出更强的需求,以实现更高的对抗鲁棒性。甚至通过将网络容量推到前所未有的规模,即,ResNet-638.

英文摘要:

Adversarial training is one of the main defenses against adversarial attacks. In this paper, we provide the first rigorous study on diagnosing elements of adversarial training, which reveals two intriguing properties. First, we study the role of normalization. Batch normalization (BN) is a crucial element for achieving state-of-the-art performance on many vision tasks, but we show it may prevent networks from obtaining strong robustness in adversarial training. One unexpected observation is that, for models trained with BN, simply removing clean images from training data largely boosts adversarial robustness, i.e., 18.3%. We relate this phenomenon to the hypothesis that clean images and adversarial images are drawn from two different domains. This two-domain hypothesis may explain the issue of BN when training with a mixture of clean and adversarial images, as estimating normalization statistics of this mixture distribution is challenging. Guided by this two-domain hypothesis, we show disentangling the mixture distribution for normalization, i.e., applying separate BNs to clean and adversarial images for statistics estimation, achieves much stronger robustness. Additionally, we find that enforcing BNs to behave consistently at training and testing can further enhance robustness. Second, we study the role of network capacity. We find our so-called "deep" networks are still shallow for the task of adversarial learning. Unlike traditional classification tasks where accuracy is only marginally improved by adding more layers to "deep" networks (e.g., ResNet-152), adversarial training exhibits a much stronger demand on deeper networks to achieve higher adversarial robustness. This robustness improvement can be observed substantially and consistently even by pushing the network capacity to an unprecedented scale, i.e., ResNet-638.

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

↑