arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.14536cs.LGcs.CVcs.NE
收藏

平滑对抗训练

Smooth Adversarial Training

Google(谷歌);Johns Hopkins University(约翰斯·霍普金斯大学)

Cihang Xie, Mingxing Tan, Boqing Gong, Alan Yuille, Quoc V. Le

摘要:

人们普遍认为,网络不可能既准确又健壮,获得健壮性意味着失去准确性。人们还普遍认为,除非使网络变得更大,否则网络架构元素在提高对抗鲁棒性方面几乎没有影响。在这里,我们通过对对抗训练的仔细研究,提出了挑战这些共同信念的证据。我们的关键观察结果是,广泛使用的ReLU激活函数由于其非平滑性质而显着削弱了对抗训练。因此,我们提出了平滑对抗训练(SAT),其中我们用它的平滑近似代替ReLU来加强对抗训练。SAT中平滑激活函数的目的是允许它在对抗训练期间找到更难的对抗示例并计算更好的梯度更新。与标准对抗训练相比,SAT提高了“免费”的对抗鲁棒性,即,不降低精度,不增加计算成本。例如,在不引入额外计算的情况下,SAT将ResNet-50的鲁棒性从33.0%显著提高到42.3%,同时还将ImageNet的准确性提高了0.9%。SAT也能很好地与更大的网络配合使用:它帮助EfficientNet-L1在ImageNet上实现了82.2%的准确性和58.6%的鲁棒性,在准确性和鲁棒性方面分别比之前的最先进防御高出9.5%和11.6%。模型可在https://github.com/cihangxie/SmoothAdversarialTraining上获得。

英文摘要:

It is commonly believed that networks cannot be both accurate and robust, that gaining robustness means losing accuracy. It is also generally believed that, unless making networks larger, network architectural elements would otherwise matter little in improving adversarial robustness. Here we present evidence to challenge these common beliefs by a careful study about adversarial training. Our key observation is that the widely-used ReLU activation function significantly weakens adversarial training due to its non-smooth nature. Hence we propose smooth adversarial training (SAT), in which we replace ReLU with its smooth approximations to strengthen adversarial training. The purpose of smooth activation functions in SAT is to allow it to find harder adversarial examples and compute better gradient updates during adversarial training. Compared to standard adversarial training, SAT improves adversarial robustness for "free", i.e., no drop in accuracy and no increase in computational cost. For example, without introducing additional computations, SAT significantly enhances ResNet-50's robustness from 33.0% to 42.3%, while also improving accuracy by 0.9% on ImageNet. SAT also works well with larger networks: it helps EfficientNet-L1 to achieve 82.2% accuracy and 58.6% robustness on ImageNet, outperforming the previous state-of-the-art defense by 9.5% for accuracy and 11.6% for robustness. Models are available at https://github.com/cihangxie/SmoothAdversarialTraining.

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

↑