Towards One Shot Search Space Poisoning in Neural Architecture Search (Student Abstract)

Nayan Saxena, Robert Wu, Rohan Jain

Introduction

Neural Architecture Search (NAS) has significantly advanced deep learning by automating the design of neural network structures. Algorithms like Efficient NAS (ENAS) sample operations from a predefined search space to construct optimal models. While research has addressed the robustness of NAS-generated networks, the security of the NAS process itself is a nascent field. This paper introduces Search Space Poisoning (SSP), a novel attack vector where an adversary injects "toxic" building blocks into the NAS library to compromise the resulting architecture's performance.

Methodology

The researchers explore two primary strategies for poisoning the ENAS search space:

  1. Multiple-Instance Poisoning: This probabilistic approach involves flooding the search space with numerous "ineffective" operations, such as Gaussian noise or identity layers. The goal is to increase the likelihood that the NAS controller selects a sub-optimal operation.
  2. One-Shot Poisoning: This surgical approach involves injecting a minimal number of highly destructive operations. Specifically, the authors test Dropout(p=1), which nullifies information flow, and "Stretched Conv," a convolution with extreme dilation (50) that induces gradient instability or "Not-a-Number" (NaN) values.
The Search Space Poisoning (SSP) framework, illustrating the injection of a poisoning set into the search space.

The vulnerability stems from weight sharing, a common efficiency feature in NAS. In ENAS, candidate architectures share weights to accelerate performance estimation. When a toxic operation is selected, its catastrophic effects (e.g., zeroed gradients) propagate through these shared weights, effectively "poisoning the well" and preventing the controller from accurately ranking even healthy candidate architectures.

Experimental Results

The attack was evaluated using the CIFAR-10 dataset. The baseline (clean) ENAS search achieved a test error of 19.8%. In contrast, the poisoning strategies significantly degraded performance:

  • Multiple-Instance (300 Dropout ops): Test error increased to 84.3%.
  • One-Shot (2 toxic ops): Test error reached a staggering 90.0%.
Validation error progression during the search process and the resulting distribution of bad operations in the final network.

As illustrated in the validation error plots, the one-shot attack causes the error to spike almost immediately and remain high throughout the search. This indicates that the ENAS controller becomes entirely incapable of identifying functional architectures once the shared weights are compromised.

Discussion and Future Work

The study reveals that "One-Shot" poisoning is more effective than brute-force "Multiple-Instance" poisoning, demonstrating that quality of toxicity outweighs quantity. Furthermore, SSP is data-agnostic, requiring no knowledge of the training set, only access to the search space configuration.

Future research is required to determine if modern NAS variants (e.g., DARTS) share this vulnerability. Additionally, there is a critical need for detection mechanisms and "adversarially robust NAS" protocols to identify and prune toxic operations before the search process begins.

Summary updated

BibTeX
@inproceedings{saxena2022towards,
  author = {Nayan Saxena and Robert Wu and Rohan Jain},
  title = {{Towards One Shot Search Space Poisoning in Neural Architecture Search (Student Abstract)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i11.21658},
}
Figure