Abstract
While Neural Architecture Search (NAS) has revolutionized the design of high-performance models, the resulting architectures often exhibit significant vulnerability to adversarial attacks. This paper introduces DSRNA (Differentiable Search of Robust Neural Architectures), a framework that treats adversarial resilience as a primary objective during the search process. By utilizing two differentiable metrics—Certified Lower Bounds and Jacobian Norm Bounds—DSRNA explicitly optimizes network structures for stability. Experimental results across CIFAR-10, ImageNet, and MNIST demonstrate that DSRNA produces models that are substantially more robust than those found by standard NAS or existing robust NAS methods, while maintaining competitive clean accuracy.
1. Introduction
Automated NAS has successfully identified architectures like DARTS and AmoebaNet that surpass human-designed models in accuracy. However, these models are often fragile; minor, human-imperceptible perturbations can lead to catastrophic failure. Traditional defenses rely on adversarial training—incorporating noisy examples during weight optimization. DSRNA argues that this approach is insufficient as it ignores the inherent stability of the architecture itself. The primary challenge in optimizing for robustness during NAS is the non-differentiable nature of standard robustness metrics. DSRNA overcomes this by introducing differentiable proxies that allow for gradient-based architecture optimization.
2. Methodology
DSRNA formulates robust NAS as a bi-level optimization problem. The inner loop optimizes network weights, while the outer loop optimizes architecture parameters ($\alpha$) to maximize a joint objective of validation accuracy and a differentiable robustness metric. Two distinct metrics are proposed:
2.1 DSRNA-CB (Certified Bound)
DSRNA-CB utilizes linear bounding techniques (inspired by CNN-Cert) to compute a certified lower bound. This provides a mathematical guarantee that the model's prediction remains unchanged for any input perturbation within a specific threshold. By propagating these bounds through the directed acyclic graph (DAG) of the search space, the framework creates a differentiable objective that favors structurally stable cells.
2.2 DSRNA-Jacobian
For improved computational efficiency, DSRNA-Jacobian employs a first-order Taylor expansion to estimate the network's sensitivity to input changes. By minimizing the norm of the Jacobian matrix, the search algorithm identifies architectures where small input variations result in minimal output shifts. This method offers a significantly faster alternative to the certified bound approach, reducing search costs while maintaining robustness.
3. Experimental Evaluation
The framework was evaluated on CIFAR-10, ImageNet, and MNIST. The search was primarily conducted on CIFAR-10, with the resulting cells transferred to ImageNet to test scalability.
3.1 Robustness under Attack
DSRNA was tested against several adversarial attacks, including Projected Gradient Descent (PGD), Fast Gradient Sign Method (FGSM), and Carlini & Wagner (C&W).
As shown in Table 1, DSRNA-CB achieved 60.31% accuracy under PGD-10 attacks on CIFAR-10, outperforming RobNet-large (49.49%) and SDARTS-ADV (56.94%). The resilience against the C&W attack was particularly notable, with DSRNA-CB maintaining 63.01% accuracy compared to 42.67% for SDARTS-ADV.
3.2 Clean Accuracy and Efficiency
A common concern in robust modeling is the "robustness tax"—the drop in accuracy on un-attacked data. DSRNA effectively mitigates this.
Table 2 highlights that DSRNA-Jacobian achieves a clean test accuracy of 97.50% on CIFAR-10, matching or exceeding standard NAS models like DARTS. Furthermore, DSRNA-Jacobian demonstrates high efficiency, requiring significantly fewer GPU days for the search process compared to the certified bound method.
4. Discussion and Conclusion
DSRNA demonstrates that robustness is a structural property that can be explicitly optimized during the architecture search phase. By making robustness metrics differentiable, the framework bridges the gap between high-performance NAS and adversarial resilience. The searched cells also transfer successfully to ImageNet, outperforming RobNet by nearly 14% in clean accuracy while remaining more robust under attack. Future work includes exploring these metrics in macro search spaces and non-convolutional architectures like Transformers.
Summary updated