Towards One Shot Search Space Poisoning in Neural Architecture Search

Nayan Saxena, Robert Wu, Rohan Jain

TL;DR

This paper introduces a novel "search space poisoning" attack against Neural Architecture Search (NAS) algorithms, specifically targeting Efficient NAS (ENAS). By injecting just two carefully chosen "bad" operations into the search space, the authors demonstrate they can drastically degrade the performance of discovered neural networks, increasing error rates to over 90% on CIFAR-10. This highlights a significant security vulnerability in NAS that could be exploited by attackers with no prior knowledge of the target task.

What Problem Does This Paper Address?

Neural Architecture Search (NAS) automates the process of finding optimal deep learning architectures, significantly reducing human effort. NAS algorithms work by sampling operations from a predefined "search space" to construct and evaluate candidate neural networks. While powerful, the security implications of this search space have been largely overlooked. This paper addresses the vulnerability of NAS algorithms to adversarial attacks that target the search space itself, rather than the training data. Specifically, they investigate how an attacker could manipulate the NAS search space to force the discovery of poor-performing architectures, even when the attacker has no prior knowledge of the dataset or task.

Methods

The core contribution is a "Search Space Poisoning" (SSP) attack. Instead of poisoning the training data, SSP injects carefully designed, ineffective operations into the NAS algorithm's predefined search space. The ENAS controller, which samples operations, is then tricked into selecting these "poisoned" operations more frequently.

The paper explores two main strategies:

  • Multiple-Instance Poisoning: This involves simply duplicating "bad" operations within the search space to increase their sampling probability. While effective at raising error rates, it requires a very high ratio of bad to good operations (e.g., 300 bad operations for every original one), making it impractical.
  • One-Shot Poisoning: This is the more significant contribution. The authors aim to achieve high error rates with a minimal number of injected operations. They identify two specific operations that, when added to the original search space, cause substantial degradation:
  • Dropout with p=1: This operation effectively zeroes out all input information, leading to catastrophic performance.
  • Stretched Convolution: A convolution with specific parameters (k=3, padding, dilation=50) that is designed to be ineffective.

By combining these two operations, they achieve a "one-shot" attack that drastically impacts performance.

Datasets

The experiments were conducted using the CIFAR-10 dataset.

Key Insights and Ideas

  • NAS is vulnerable to search space manipulation: The paper demonstrates that the search space itself, not just the training data, is a critical attack surface for NAS algorithms.
  • Minimal poisoning can be devastating: The "one-shot" attack, using just two carefully chosen operations, is surprisingly effective, highlighting that sophisticated attacks don't necessarily require overwhelming the search space.
  • Exploiting ENAS's design: The attack specifically targets ENAS's reliance on weight sharing, which can make its controller less robust to subtle changes in the search space.
  • "Bad" operations can be simple yet effective: Operations like a full dropout (p=1) or a specifically parameterized convolution can be highly detrimental when integrated into the NAS search process.

Key Results

  • Multiple-Instance Poisoning: Required a ratio of 300 bad operations per original operation to achieve error rates exceeding 80%.
  • One-Shot Poisoning: With just two injected operations (Dropout(p=1) and a Stretched Conv), the error rate on CIFAR-10 was inflated to over 90%. This is a dramatic increase from the baseline error rate of around 19.5%.
  • Table 1 shows that the one-shot poisoning with only 2 points achieved comparable high error rates (90.1% and 90.0%) to the multiple-instance poisoning with 300 points (84.8% and 84.3%).

Limitations and Future Work

  • Limited to ENAS: The current study focuses specifically on the ENAS algorithm. The generalizability of these SSP attacks to other NAS algorithms (e.g., those using different search strategies or controllers) is not fully explored.
  • Specific Operations: While the paper identifies effective poisoning operations, the optimal choice of operations might vary depending on the target NAS algorithm and dataset.
  • Future Work: The authors suggest that future work should explore more robust NAS architectures and defense mechanisms against such search space poisoning attacks. They also highlight the need for further research into the security implications of NAS in general.

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}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i11.21658},
}
Figure