When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attacks

Minghao Guo, Yuzhe Yang, Rui Xu, Ziwei Liu

Introduction

Deep neural networks are notoriously fragile; small, human-imperceptible perturbations known as adversarial attacks can easily trick them into making incorrect predictions. While the research community has largely focused on adversarial training—showing models "poisoned" examples during training—this paper explores the "intrinsic robustness" of the neural network architecture itself. By using one-shot Neural Architecture Search (NAS), the authors discovered a family of "RobNets" that consistently outperform standard architectures like ResNet and DenseNet under attack, often with significantly fewer parameters.

Methodology: Searching for Robustness

The authors employ a cell-based One-Shot NAS approach to systematically search for architectural patterns that are fundamentally more resistant to adversarial noise. Instead of training thousands of individual networks, they train a single "supernet" containing many possible sub-networks. The search space allows for complex, dense topologies using $3 \times 3$ separable convolutions and identity mappings. To manage computational costs, they use path dropout and the Flow of Solution Procedure (FSP) matrix—a measure of feature change between layers—to prune non-robust architectures before expensive fine-tuning.

Key Findings: Density as a Shield

A core insight from this study is the strong positive correlation between "architecture density" (the number of active connections) and adversarial accuracy.

Correlation between architecture density and adversarial accuracy.

As shown in the figure above, densely connected patterns appear to be more resilient to feature distortions. Furthermore, the authors found that under a strict parameter budget, adding convolution operations to "direct edges" (connections between adjacent nodes) is more effective for robustness than adding them to "skip edges." Robust networks also maintain a more consistent feature flow in their deeper layers even when under attack.

Results and Efficiency

The discovered RobNet family demonstrates superior robustness and efficiency across various benchmarks, including CIFAR-10 and ImageNet.

RobNet family performance compared to standard architectures.

On CIFAR-10, the best-discovered model, RobNet-free, achieved 52.57% accuracy under a PGD-100 white-box attack, outperforming WideResNet-28-10 (46.90%) despite being much smaller. Similarly, RobNet-small achieves better robustness than ResNet-18 while using only 4.41M parameters compared to ResNet's 11.17M. These architectural gains are orthogonal to existing defense techniques, meaning they can be stacked with methods like feature denoising for even higher total robustness.

Conclusion

This work highlights that the structural "wiring" of a neural network is a critical factor in its adversarial resilience. While there is a slight "robustness tax" on clean data accuracy, the efficiency and transferability of RobNets suggest that architecture-based defense is a promising and efficient frontier for building secure deep learning systems. Future research may explore whether these robust patterns generalize to newer primitives like Transformers or MLP-Mixers.

Summary updated

BibTeX
@inproceedings{guo2020when,
  author = {Minghao Guo and Yuzhe Yang and Rui Xu and Ziwei Liu},
  title = {{When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attacks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00071},
}
Figure