Introduction
Neural Architecture Search (NAS) has revolutionized deep learning by automating the design of neural network architectures. By searching through a predefined space of operations, NAS algorithms like Efficient NAS (ENAS) can discover high-performing models without manual intervention. However, the security of this automated process remains under-explored. This paper introduces Search Space Poisoning (SSP), a data-agnostic attack that compromises NAS by injecting "junk" operations into the building blocks available to the search algorithm.
The Search Space Poisoning Attack
The core idea of SSP is to corrupt the "toolbox" used by the NAS controller. Unlike traditional poisoning attacks that target training data, SSP targets the search space itself.
The researchers propose two primary strategies to execute this attack:
- Ineffective Operations: The attacker introduces operations that are computationally valid but functionally detrimental. Examples include identity functions (which pass data through without transformation), transposed convolutions (used to "undo" feature extraction), and high-dropout layers (e.g., 90% dropout) that cause massive information loss.
- Multiple-Instance Poisoning: To prevent the RL controller from simply learning to avoid a single bad operation, the attacker injects multiple copies of these "junk" operations. This increases the probability of selection and exploits the weight-sharing mechanism of ENAS, making it difficult for the controller to distinguish between effective and ineffective paths.
Experimental Results
The attack was evaluated on the CIFAR-10 benchmark using the ENAS algorithm. While the baseline (unpoisoned) ENAS achieved a test error of 25.33%, the introduction of poisoned operations led to dramatic performance degradation.
As shown in the results, dropout-based poisoning was particularly devastating, pushing error rates above 80%—effectively rendering the model no better than random guessing. Identity poisoning also significantly impacted performance, reaching error rates of nearly 70% at high instance factors. Interestingly, the researchers found a "saturation point" where adding further junk operations yielded diminishing returns, suggesting that even a moderate level of poisoning is sufficient to compromise the search.
Discussion and Conclusion
A key insight from this work is that SSP is entirely data-agnostic; the attacker does not need access to the training set or knowledge of the specific task. Furthermore, the efficiency of ENAS—specifically its use of weight sharing—acts as a vulnerability, as the controller struggles to isolate the negative impact of shared weights in poisoned blocks.
This research highlights a critical security gap in automated machine learning. As NAS becomes a standard tool in industry and cloud services, developing adversarially robust architecture search methods is essential. Future work should focus on controllers capable of automatically detecting and pruning ineffective operations during the search phase to ensure the integrity of the discovered models.
Summary updated