Robust NAS under adversarial training: benchmark, theory, and beyond

Yongtao Wu, Fanghui Liu, Carl-Johann Simon-Gabriel, Grigorios Chrysos, Volkan Cevher

Introduction

Neural Architecture Search (NAS) has revolutionized the automated design of high-performing deep learning models. However, a significant gap remains: most NAS research prioritizes "clean accuracy" on standard datasets, often neglecting the inherent vulnerability of these models to adversarial attacks. While Adversarial Training (AT) is a proven defense mechanism, its high computational cost—typically 7-10 times that of standard training—makes it a bottleneck for architecture search. This paper introduces NAS-RobBench-201, the first large-scale benchmark for NAS evaluated under adversarial training, coupled with a theoretical framework based on Neural Tangent Kernels (NTK) to explain and predict architectural robustness.

The NAS-RobBench-201 Benchmark

To bridge the gap between NAS and robust design, the authors constructed an exhaustive benchmark based on the NAS-Bench-201 search space. They trained all 6,466 non-isomorphic architectures using 7-step Projected Gradient Descent (PGD) adversarial training. This massive undertaking required approximately 107,000 GPU hours.

The NAS-RobBench-201 search space and cell structure.

The benchmark provides a comprehensive "look-up table" for researchers, containing both clean and robust accuracy metrics (under FGSM, PGD, and AutoAttack) across three major datasets: CIFAR-10, CIFAR-100, and ImageNet-16-120. This resource allows for the instantaneous evaluation of new NAS algorithms without the prohibitive cost of retraining.

Theoretical Framework: NTK for Robustness

Beyond empirical data, the paper provides a theoretical foundation using the Neural Tangent Kernel (NTK). By extending NTK theory to multi-objective training (balancing clean and adversarial loss), the authors identify the "twice" perturbed NTK as a critical indicator of robust accuracy. This framework allows for "train-free" identification of resilient models by calculating NTK scores at initialization, which correlate strongly with final robust performance.

Key Insights and Results

The empirical analysis of NAS-RobBench-201 yielded several vital insights:

  • Robustness Inconsistency: Architectures that perform well under standard training are not necessarily the most robust when subjected to AT, highlighting the need for specialized benchmarks.
  • Transferability: Robustness rankings are highly consistent across datasets. An architecture that is robust on CIFAR-10 is likely to remain robust on ImageNet-16-120.
  • Structural Preferences: Within the search space, 3x3 convolutions generally contribute more to robustness than 1x1 convolutions or pooling operations.
Distribution of clean and robust accuracy across CIFAR-10, CIFAR-100, and ImageNet-16-120.

The authors also demonstrated that searching directly for robust metrics on this benchmark yields significantly better results than traditional search methods focused on clean accuracy.

Limitations and Future Work

While comprehensive, the study is currently limited to convolutional and fully connected networks, leaving the robustness of Vision Transformers (ViTs) for future exploration. Additionally, the NTK analysis relies on the "lazy training" regime, which may not fully capture the feature-learning dynamics of all real-world networks. Future research will aim to expand these insights into larger, more diverse search spaces and more complex architectural paradigms.

Summary updated

BibTeX
@inproceedings{wu2024robust,
  author = {Yongtao Wu and Fanghui Liu and Carl-Johann Simon-Gabriel and Grigorios Chrysos and Volkan Cevher},
  title = {{Robust NAS under adversarial training: benchmark, theory, and beyond}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=cdUpf6t6LZ},
}
Figure