In the ongoing cat-and-mouse game of adversarial machine learning, defensive strategies typically focus on the training phase—using techniques like adversarial training to "harden" a network against malicious perturbations. However, recent research from Kyushu University suggests a paradigm shift: what if the secret to defense lies not just in the training data, but in the very blueprint of the network itself?
The paper introduces Robust Architecture Search (RAS), an evolutionary algorithm designed to discover neural network structures that are inherently resistant to being fooled. By expanding the search space to include unconventional layer combinations, the researchers found architectures that rival state-of-the-art defenses even when trained only on standard, clean data.
The Problem: Structural Fragility
Deep neural networks are notoriously fragile. A tiny, invisible-to-humans perturbation of an image (an adversarial attack) can cause a state-of-the-art model to misclassify a "stop sign" as a "speed limit" sign. While many defenses exist, most are computationally expensive or inconsistent across different attack types.
Furthermore, standard Neural Architecture Search (NAS) algorithms—which automate AI design—focus almost exclusively on maximizing accuracy on clean data. These methods often fail to find robust models because their search spaces are too narrow, typically shuffling components of existing, vulnerable designs like ResNet. RAS addresses this by treating robustness as a primary objective in the evolutionary process.
The Robust Architecture Search (RAS) Framework
The RAS framework is built on a hierarchical evolutionary strategy that maintains three distinct "subpopulations": Layers (raw ingredients), Blocks (combinations of layers), and Models (the final architectures). This structure allows the system to evolve and reuse successful building blocks across different generations.
Evolutionary Strategy and Niching
To explore this vast search space, the algorithm employs several key mechanisms:
- Mutations: The system explores new designs by adding or removing layers, changing kernel sizes, and swapping blocks.
- Spectrum-based Niching: To prevent the search from converging prematurely on a single "good enough" design, RAS uses a niching scheme. It clusters models based on their structural "spectrum" (e.g., number of connections and layer types) to ensure the population remains diverse.
- Transferable Attack Fitness: Evaluating a model against new adversarial attacks in every generation is computationally prohibitive. To solve this, the authors used a pool of 2,812 "transferable" adversarial samples generated from other models. If a new architecture can correctly classify these pre-made attacks, it is considered robust.
Key Insights: The "Peculiar" Architecture
The most robust models discovered by RAS did not resemble standard human-designed networks. Instead, they featured "peculiar" configurations, such as Dense layers sandwiched between Convolutional layers.
These evolved models often used Dense layers to project data into higher dimensions. The authors cite Cover’s Theorem, which suggests that projecting data into a higher-dimensional space makes it more likely to be linearly separable and, consequently, harder to perturb maliciously. Additionally, the models utilized multiple parallel paths with varying constraints, forcing the network to learn a diverse set of features that are difficult for a single adversarial perturbation to disrupt simultaneously.
Experimental Results
The study primarily utilized the CIFAR-10 dataset, comparing RAS against standard NAS methods like DeepArchitect and SMASH. The results demonstrate a significant gap in robustness:
| Architecture Search | Testing Error (Clean) | Error on Adversarial Samples |
|---|---|---|
| DeepArchitect* | 25% | 75% |
| SMASH* | 23% | 82% |
| Ours (RAS) | 18% | 42% |
| *Modified to include robustness in their evaluation. |
The RAS-evolved model achieved a 42% adversarial error rate without any specialized adversarial training. In contrast, standard NAS methods were almost completely defeated, with error rates exceeding 75%. This inherent robustness is comparable to models that have undergone intensive, time-consuming adversarial training.
Conclusion and Future Directions
By shifting the focus from how we train to what we build, RAS opens a new front in the quest for secure AI. While the computational cost of evolution remains high and scaling to larger datasets like ImageNet is a challenge, the results prove that structural diversity is a powerful tool for defense. Future work may involve hybrid approaches, using RAS to find a robust structure and then applying adversarial training to harden it even further.
Summary updated