Deep neural networks are vulnerable to small input perturbations known as adversarial attacks. Inspired by the fact that these adversaries are constructed by iteratively minimizing the confidence of a network for the true class label, we propose the anti-adversary layer, aimed at countering this effect. In particular, our layer generates an input perturbation in the opposite direction of the adversarial one and feeds the classifier a perturbed version of the input. Our approach is training-free and theoretically supported. We verify the effectiveness of our approach by combining our layer with both nominally and robustly trained models and conduct large-scale experiments from black-box to adaptive attacks on CIFAR10, CIFAR100, and ImageNet. Our layer significantly enhances model robustness while coming at no cost on clean accuracy.
翻译:深神经网络很容易受到被称为对抗性攻击的小型输入干扰。这些对手是靠反复降低真正等级标签网络的信任度来构建的,我们为此提议了反逆层,以对抗这一效应。特别是,我们的层在对抗性网络的相反方向产生输入扰动,为分类器输入一个扰动版本。我们的方法是免费培训和理论上支持的。我们通过将我们这一层与名义上和经过严格训练的模型相结合来核查我们的方法的有效性,并进行大规模实验,从黑箱到对CIFAR10、CIFAR100和图像网络的适应性攻击。我们的层大大增强了模型的坚固性,同时又不惜着干净的准确性代价。