Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networks

Hanxun Huang, Yisen Wang, Sarah Monazam Erfani, Quanquan Gu, James Bailey +1 more
10/7/2021
cs.LGcs.CVstat.ML

Official code: HanxunH/RobustWRN (33 stars, Python, MIT, PyTorch, last commit 2024-07-05).

Abstract

Deep neural networks (DNNs) are known to be vulnerable to adversarial attacks. A range of defense methods have been proposed to train adversarially robust DNNs, among which adversarial training has demonstrated promising results.

Show full abstract

However, despite preliminary understandings developed for adversarial training, it is still not clear, from the architectural perspective, what configurations can lead to more robust DNNs. In this paper, we address this gap via a comprehensive investigation on the impact of network width and depth on the robustness of adversarially trained DNNs. Specifically, we make the following key observations: 1) more parameters (higher model capacity) does not necessarily help adversarial robustness; 2) reducing capacity at the last stage (the last group of blocks) of the network can actually improve adversarial robustness; and 3) under the same parameter budget, there exists an optimal architectural configuration for adversarial robustness. We also provide a theoretical analysis explaning why such network configuration can help robustness. These architectural insights can help design adversarially robust DNNs. Code is available at \url{https://github.com/HanxunH/RobustWRN}.

View on arXivView PDF

Code Implementations(1)

HanxunH/RobustWRNOfficial100%
PyTorchMIT

[NeurIPS2021] Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networks

331PythonOct 4, 20212 years agoMIT
adversarial-attacksdeep-learningdeep-neural-networkspytorch

Similar Papers

Cite this paper

@article{huang2021exploring,
  title  = {Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networks},
  author = {Hanxun Huang and Yisen Wang and Sarah Monazam Erfani and Quanquan Gu and James Bailey and Xingjun Ma},
  year   = {2021},
  eprint = {2110.03825},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.03825}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.03825.svg)](https://codeofpaper.com/paper/2110.03825)

Discussion