Adversarial robustness of deep learning models has gained much traction in the last few years. Various attacks and defenses are proposed to improve the adversarial robustness of modern-day deep learning architectures. While all these approaches help improve the robustness, one promising direction for improving adversarial robustness is unexplored, i.e., the complex topology of the neural network architecture. In this work, we address the following question: Can the complex topology of a neural network give adversarial robustness without any form of adversarial training?. We answer this empirically by experimenting with different hand-crafted and NAS-based architectures. Our findings show that, for small-scale attacks, NAS-based architectures are more robust for small-scale datasets and simple tasks than hand-crafted architectures. However, as the size of the dataset or the complexity of task increases, hand-crafted architectures are more robust than NAS-based architectures. Our work is the first large-scale study to understand adversarial robustness purely from an architectural perspective. Our study shows that random sampling in the search space of DARTS (a popular NAS method) with simple ensembling can improve the robustness to PGD attack by nearly~12\%. We show that NAS, which is popular for achieving SoTA accuracy, can provide adversarial accuracy as a free add-on without any form of adversarial training. Our results show that leveraging the search space of NAS methods with methods like ensembles can be an excellent way to achieve adversarial robustness without any form of adversarial training. We also introduce a metric that can be used to calculate the trade-off between clean accuracy and adversarial robustness. Code and pre-trained models will be made available at \url{https://github.com/tdchaitanya/nas-robustness}
翻译:在过去几年里,深层次学习模式的强健性得到了很大的推动。 我们提出了各种攻击和防御方法来改进现代深层次学习结构的对抗性强力。 虽然所有这些方法都有助于提高强健性, 但对于小规模攻击而言, 以NAS为基础的建筑比手工设计的建筑更具有希望, 也就是神经网络结构的复杂地形。 在这项工作中, 我们处理的一个问题是: 一个神经网络的复杂地形能否在没有任何对抗性培训形式的情况下提供对抗性强力? 我们通过实验不同的手工艺型和NAS为基础的结构来应对这一经验性强力。 我们的研究结果显示, 对于小规模攻击来说, NAS 基础建筑对于小型数据组和简单的任务来说是更强有力的方向。 然而, 由于数据组的大小或任务的复杂性, 手工艺型建筑比NAS 基础结构更强大。 我们的工作是第一次大规模研究, 以便从建筑角度来理解对抗性强的强力性。 我们的研究显示, 在小规模的搜索方法中, NAS 的随机性空间取样方法可以用来显示一个干净的方法。