Skip to main content
QUICK REVIEW

[论文解读] When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attacks

Minghao Guo, Yuzhe Yang|arXiv (Cornell University)|Nov 25, 2019
Adversarial Robustness in Machine LearningComputer Science参考文献 63被引用 20
一句话总结

本文提出 RobNets,一种通过一次完成神经架构搜索设计的神经网络架构家族,旨在提升对对抗攻击的鲁棒性。通过对1,000种搜索得到的架构进行分析,作者识别出密集连接模式、在直接连接边上战略性地放置卷积层,以及解法流程(FSP)矩阵,是鲁棒性的关键指标,在CIFAR、SVHN、Tiny-ImageNet和ImageNet上,无论是在白盒攻击还是黑盒攻击下,鲁棒准确率最高提升了5个百分点。

ABSTRACT

Recent advances in adversarial attacks uncover the intrinsic vulnerability of modern deep neural networks. Since then, extensive efforts have been devoted to enhancing the robustness of deep networks via specialized learning algorithms and loss functions. In this work, we take an architectural perspective and investigate the patterns of network architectures that are resilient to adversarial attacks. To obtain the large number of networks needed for this study, we adopt one-shot neural architecture search, training a large network for once and then finetuning the sub-networks sampled therefrom. The sampled architectures together with the accuracies they achieve provide a rich basis for our study. Our "robust architecture Odyssey" reveals several valuable observations: 1) densely connected patterns result in improved robustness; 2) under computational budget, adding convolution operations to direct connection edge is effective; 3) flow of solution procedure (FSP) matrix is a good indicator of network robustness. Based on these observations, we discover a family of robust architectures (RobNets). On various datasets, including CIFAR, SVHN, Tiny-ImageNet, and ImageNet, RobNets exhibit superior robustness performance to other widely used architectures. Notably, RobNets substantially improve the robust accuracy (~5% absolute gains) under both white-box and black-box attacks, even with fewer parameter numbers. Code is available at https://github.com/gmh14/RobNets.

研究动机与目标

  • 探究神经网络架构对对抗鲁棒性的内在影响,超越基于优化的防御方法。
  • 在计算资源受限的条件下,识别能增强对对抗扰动抵抗力的架构模式。
  • 开发一种可扩展的方法,利用一次完成神经架构搜索(NAS)发现鲁棒架构。
  • 验证架构改进可与现有防御技术(如特征去噪)正交且互补。

提出的方法

  • 采用一次完成神经架构搜索,训练单一超网络,并高效地采样和微调数千个子网络以评估鲁棒性。
  • 使用PGD攻击(7步)进行对抗训练,并通过PGD白盒攻击(100步)在多个数据集上评估鲁棒性。
  • 通过关联连接密度、直接连接边上的参数分配,以及干净数据流与对抗数据流之间FSP矩阵的距离,分析架构模式。
  • 基于实证发现设计RobNets:采用密集连接、在直接连接边上放置卷积层,以及基于FSP的架构选择。
  • 通过将RobNets在CIFAR-10上训练的模型直接迁移到SVHN、CIFAR-100和Tiny-ImageNet上,不重新训练,评估泛化能力。
  • 将RobNets与现有防御技术(如特征去噪)结合,评估其互补性与协同效应。

实验结果

研究问题

  • RQ1哪些架构模式在提升对抗鲁棒性方面最为有效?
  • RQ2在固定计算预算下,应如何分配模型参数以最大化鲁棒性?
  • RQ3解法流程(FSP)矩阵能否作为网络鲁棒性的统计指标?
  • RQ4在一种数据集上发现的鲁棒架构,能否在对抗训练下泛化到其他数据集?
  • RQ5架构改进与现有防御技术(如特征去噪)之间如何相互作用?

主要发现

  • 密集连接架构表现出显著更高的对抗鲁棒性,连接密度与鲁棒准确率之间存在强烈统计相关性。
  • 在直接连接边上添加卷积操作,比其他参数分配方式更能有效提升鲁棒性,尤其在计算预算较小时更为显著。
  • 在无单元(cell-free)搜索空间中,干净数据流与对抗数据流之间FSP矩阵的距离,是网络鲁棒性的可靠指标。
  • 在CIFAR-10上,RobNets在白盒和黑盒PGD攻击下,鲁棒准确率相比ResNet、DenseNet和WideResNet最高提升5个百分点。
  • RobNets泛化能力出色:在迁移到SVHN、CIFAR-100和Tiny-ImageNet时,相比基线模型,鲁棒准确率提升2%至10%。
  • RobNets与现有防御方法正交:与特征去噪结合后,鲁棒准确率平均额外提升0.7%,且在干净准确率上增益更大。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。