Abstract
Deep neural networks are notoriously vulnerable to adversarial attacks, where small, calculated perturbations to input data lead to incorrect classifications. Traditional defenses, such as adversarial training, are often computationally expensive and susceptible to adaptive attacks. This paper introduces Robust Architecture Search (RAS), an evolutionary approach that explores an unconventional search space to discover neural network architectures that are inherently robust by design. By utilizing hierarchical subpopulations and spectrum-based niching, RAS identifies structural motifs—such as high-dimensional projections—that provide defensive properties without the need for specialized training. Our results show that RAS-evolved models significantly outperform standard Neural Architecture Search (NAS) baselines in adversarial robustness while maintaining competitive accuracy.
Introduction
The vulnerability of deep learning models to adversarial examples remains a critical barrier to their deployment in security-sensitive applications. While various "bolt-on" defenses have been proposed, they often fail against new attack vectors. This research investigates whether robustness can be achieved through architectural design alone.
Standard Neural Architecture Search (NAS) typically focuses on maximizing accuracy within a narrow search space derived from human-designed architectures like ResNet. However, because these base architectures are inherently vulnerable, searching within their immediate neighborhood is unlikely to yield robust solutions. This paper proposes Robust Architecture Search (RAS), which expands the search space and optimizes for a dual-objective of accuracy and robustness.
Methods
The RAS framework is an evolutionary algorithm designed to navigate a vast and unconventional search space. Unlike standard NAS, RAS allows for highly unusual connections, such as direct links between dense and convolutional layers, and arbitrary concatenation.
Hierarchical Subpopulations
To manage the complexity of this expanded space, RAS maintains three distinct hierarchical populations: Layers, Blocks (combinations of layers), and Models (combinations of blocks). This structure allows the algorithm to efficiently evolve and reuse successful structural components at different scales.
Evolutionary Loop and Niching
The search process employs a dual-objective fitness function that sums standard validation accuracy and accuracy on a pre-generated pool of transferable adversarial samples. To prevent premature convergence on a single architecture, RAS uses Spectrum-based Niching. This diversity-preserving mechanism ensures the algorithm thoroughly explores the massive search space by comparing individuals based on their behavioral characteristics.
Experimental Setup
The algorithm was evaluated using the CIFAR-10 dataset. To ensure efficient evaluation of robustness during the search phase, a custom Adversarial Sample Pool of 2,812 images was created. This pool includes samples generated via $L_0$ (one-pixel) and $L_\infty$ attacks against a variety of standard and defended models, including ResNet, CapsNet, and models utilizing Feature Squeezing.
Results and Discussion
The experiments revealed that standard NAS methods, even when modified with robustness objectives, struggle to find secure architectures. DeepArchitect and SMASH exhibited error rates (ER) of 75% and 82%, respectively, on adversarial samples. In contrast, the proposed RAS method achieved a significantly lower adversarial error rate of 42%.
Key Insights
- Search Space as a Bottleneck: The primary constraint for robustness in automated design is the search space itself. Traditional design patterns are inherently fragile; breaking away from these patterns is necessary for security.
- Structural Defense Mechanisms: The most robust architectures evolved by RAS featured "anti-bottlenecks"—dense layers placed between convolutional layers that project data into higher-dimensional spaces. This aligns with Cover’s Theorem, suggesting that higher-dimensional projections improve linear separability and robustness.
- Feature Redundancy: Evolved models utilized multiple parallel paths with varying constraints, forcing the network to learn diverse and redundant feature sets, which are harder for attackers to exploit simultaneously.
Conclusion
Robust Architecture Search demonstrates that neural network structure is a potent, yet often overlooked, tool for adversarial defense. By evolving architectures in an unconstrained space, RAS discovers models that are inherently robust without requiring adversarial training. While current clean accuracy lags slightly behind state-of-the-art manual designs, the structural principles uncovered provide a promising foundation for future research in secure machine learning. Combining these robust architectures with training-time defenses remains a compelling direction for future work.
Summary updated