In the world of machine learning security, we usually think of "backdoors" as malicious patterns hidden within a model's weights, typically planted by poisoning the training data. But what if the vulnerability wasn't in the data or the weights at all? What if it was baked into the very structure of the neural network?
A team of researchers recently presented EVAS (Exploitable and Vulnerable Arch Search) at ICLR 2023. Their work reveals a startling new attack vector: using Neural Architecture Search (NAS) to find "inherently vulnerable" designs.
TL;DR
EVAS is a novel backdoor attack that exploits Neural Architecture Search to identify model structures with inherent, exploitable vulnerabilities. Unlike traditional attacks, it requires no data poisoning or weight manipulation, remains effective even if the model is re-trained from scratch on clean data, and easily evades state-of-the-art defenses.
What Problem Does This Paper Address?
Most backdoor attacks follow a predictable script: an adversary poisons a small portion of the training set or modifies the model's parameters directly. However, these methods have "tells." Defenders can use data filtering to spot poisoned samples or model inspection (like NeuralCleanse) to find anomalies in the weights. Furthermore, if a suspicious user decides to re-train the provided architecture from scratch on their own clean data, a weight-based backdoor usually vanishes.
The authors ask: Is it possible to launch a backdoor attack where the vulnerability is carried by the architecture itself? If so, the attack would be "agnostic" to the training process. Even if a victim trains the model perfectly on pristine data, the architectural "shortcuts" would still be there, waiting for the adversary to trigger them.
Methods
The researchers developed EVAS, a framework that treats "vulnerability" as a searchable architectural property.
- Input-Aware Triggers: Instead of a static "patch" (like a white square in the corner), EVAS uses a trigger generator—a small separate network that creates unique, subtle perturbations for every input. This makes the attack much harder to detect via input filtering.
- Search Without Training: Searching for architectures is computationally expensive. To find vulnerable ones efficiently, the authors used the Neural Tangent Kernel (NTK) as a proxy. They discovered that the "condition number" of the NTK (a measure of how easily a model can be trained) for a trigger generator relative to a specific architecture is a strong predictor of Attack Success Rate (ASR).
- Evolutionary Search: Using a variant of regularized evolution, the algorithm starts with a pool of random architectures and iteratively mutates them (e.g., swapping a 3x3 convolution for a 1x1 convolution) to minimize the NTK condition number, effectively "breeding" more vulnerable architectures.
Datasets
The authors evaluated EVAS using standard NAS benchmarks:
- CIFAR-10 & CIFAR-100: Standard image classification datasets.
- ImageNet16: A downsampled (16x16) version of ImageNet with 120 classes.
- NATS-Bench: A searchable space of 15,625 candidate architectures.
Key Insights and Ideas
- Architectural "Shortcuts": The core "aha moment" is that certain combinations of operations (like specific sequences of 1x1 and 3x3 convolutions) act as high-capacity feature extractors for trigger patterns. These structures make it "too easy" for the model to learn the adversary's malicious mapping.
- Persistence Through Re-training: Because the vulnerability is structural, it survives "Model Cold Starts." If a victim takes the EVAS-discovered architecture and trains it on their own clean data, the model still learns the backdoor because the architecture is naturally biased toward picking up the trigger's signal.
- Dataset Agnostic: An architecture found to be vulnerable on CIFAR-10 remains highly vulnerable when trained on CIFAR-100 or ImageNet16. The weakness is a property of the graph, not the pixels.
- Invisible to Defenses: Since the weights aren't "forced" into a weird state (they are naturally optimized on clean data), weight-based inspection tools like NeuralCleanse see nothing wrong.
Key Results
- High Success Rate: On CIFAR-10, EVAS-found architectures achieved an 81.51% Attack Success Rate (ASR), significantly higher than standard architectures like ResNet18 (~59%) or random architectures (~47-53%) under the same conditions.
- Robustness to Re-training: When the victim re-trained the EVAS architecture from scratch on clean data, the ASR remained high at 64.57%, whereas traditional backdoors would drop to near 0%.
- Defense Evasion:
- NeuralCleanse: The MAD (Median Absolute Deviation) scores were all below the detection threshold of 2.
- STRIP: The AUROC for detecting trigger inputs was ~0.5, meaning the defense performed no better than a random guess.
- Fine-Pruning Resistance: Even after pruning 90% of the neurons and fine-tuning, the ASR for EVAS remained significantly higher than for ResNet18.
Limitations and Future Work
- Causality: While the authors identified that certain operator combinations create these vulnerabilities, the exact mathematical reason why specific graph topologies favor backdoor learning is still being characterized.
- Mitigation: The paper focuses on the attack to raise awareness. Developing "NAS-guard" tools that can audit architectures for these structural shortcuts before they are deployed is a critical next step.
- Search Space: The study was conducted on the NATS-Bench space; exploring how this scales to much larger, more complex search spaces (like those used for Transformers) remains an open question.
Paper Citation: Ren Pang, Changjiang Li, Zhaohan Xi, Shouling Ji, Ting Wang. "The Dark Side of AutoML: Towards Architectural Backdoor Search." Published as a conference paper at ICLR 2023. Link to Code
Summary updated