TL;DR
This paper introduces NAS-RobBench-201, the first large-scale benchmark for Neural Architecture Search (NAS) specifically designed for adversarially trained models. By combining this massive empirical dataset with a new theoretical framework based on Neural Tangent Kernels (NTK), the authors provide both the tools and the mathematical foundation needed to discover architectures that are inherently robust to malicious data.
What Problem Does This Paper Address?
Deep learning's success is often credited to expert-designed architectures like ResNet or Transformers. Neural Architecture Search (NAS) aims to automate this design process. However, most NAS research focuses on "clean" accuracy—how well a model performs on normal data. In reality, neural networks are notoriously fragile; tiny, calculated "adversarial" perturbations can cause them to fail spectacularly.
While some researchers have looked for robust architectures, they lacked a standardized way to compare results. Existing NAS benchmarks are almost exclusively built using standard training. Furthermore, there has been a lack of theoretical understanding regarding how architecture search interacts with adversarial training (a defense method where models are trained on adversarial examples). This paper fills these gaps by providing the first comprehensive robust NAS benchmark and a generalization theory to back it up.
Methods
The authors take a two-pronged approach:
- Empirical Benchmarking: They utilized the popular NAS-Bench-201 search space, which consists of a cell-based structure with 6 edges and 5 possible operations (like 3x3 convolution or skip connections). They exhaustively trained all 6,466 non-isomorphic architectures in this space using adversarial training (specifically, 7-step PGD). This required a massive computational effort of approximately 107,000 GPU hours.
- Theoretical Analysis: They leveraged the Neural Tangent Kernel (NTK)—a tool from deep learning theory that describes how a network's outputs evolve during training. They established generalization bounds for both clean and robust accuracy under a multi-objective training setting (balancing clean and adversarial loss).
- Standard vs. Robust NTK: They introduced the concept of a "joint NTK" that combines standard (clean) inputs and adversarial inputs.
- "Twice" Perturbed Inputs: A key theoretical finding is that robust accuracy is influenced by a version of the NTK that considers inputs where adversarial noise is effectively added twice, providing a stronger signal for robustness.
Datasets
The benchmark evaluates architectures across three major image classification datasets:
- CIFAR-10
- CIFAR-100
- ImageNet-16-120 (a downsampled variant of ImageNet)
Additionally, they tested for distribution shift using CIFAR-10-C, which includes 15 types of common visual corruptions (like blur, snow, or noise) at various severity levels.
Key Insights and Ideas
- Rankings Shift Under Defense: An architecture that is "robust" when trained normally might not be the best choice when adversarial training is actually employed. Table 1 in the paper shows that rankings change significantly depending on whether adversarial training is involved, highlighting the need for this specific benchmark.
- The Power of 3x3 Convolutions: In the top-performing robust architectures, 3x3 convolutions were frequently selected for almost every edge in the cell, except for specific skip-connection nodes.
- NTK as a Proxy for Robustness: The authors found that "Robust NTK" scores (calculated at initialization without full training) correlate strongly with final robust accuracy. This suggests the possibility of "train-free" robust NAS, which would be orders of magnitude faster than current methods.
- Transferability: Robustness rankings are highly correlated across different datasets. This means researchers can search for a robust architecture on a small dataset like CIFAR-10 and have high confidence that it will also perform well on larger datasets like ImageNet.
Key Results
- Performance Variance: There is a significant gap in robustness across the search space. For example, on CIFAR-10 under FGSM attack, architecture performance ranged from 40% to 70% accuracy.
- Algorithmic Validation: The authors tested several NAS algorithms (Regularized Evolution, Local Search, Random Search) on their benchmark. They found that algorithms searching specifically for robust metrics successfully identified architectures superior to those found using clean accuracy alone.
- Correlation with Corruptions: Adversarially trained architectures in the benchmark also showed high resilience to common corruptions (distribution shifts), except for contrast-related corruptions.
Limitations and Future Work
- Architecture Scope: The study is limited to Fully Connected (FCNN) and Convolutional Neural Networks (CNN). It does not yet explore cutting-edge Vision Transformers (ViTs).
- Search Space Size: While 6,466 architectures is significant, it is still a relatively constrained search space compared to the infinite possibilities in modern architecture design.
- Linear Regime: The NTK-based theoretical analysis assumes the network operates in a "linear regime" (infinite width), which may not fully capture the complex feature learning that happens in real-world, finite-width networks.
The authors hope this benchmark will serve as a foundation for the community to develop more efficient, reproducible, and theoretically grounded robust NAS algorithms.
Summary updated