InstaNAS: Instance-Aware Neural Architecture Search


  • An-Chieh Cheng National Tsing-Hua University
  • Chieh Hubert Lin National Tsing-Hua University
  • Da-Cheng Juan Google Research
  • Wei Wei Google Research
  • Min Sun National Tsing-Hua University



Conventional Neural Architecture Search (NAS) aims at finding a single architecture that achieves the best performance, which usually optimizes task related learning objectives such as accuracy. However, a single architecture may not be representative enough for the whole dataset with high diversity and variety. Intuitively, electing domain-expert architectures that are proficient in domain-specific features can further benefit architecture related objectives such as latency. In this paper, we propose InstaNAS—an instance-aware NAS framework—that employs a controller trained to search for a “distribution of architectures” instead of a single architecture; This allows the model to use sophisticated architectures for the difficult samples, which usually comes with large architecture related cost, and shallow architectures for those easy samples. During the inference phase, the controller assigns each of the unseen input samples with a domain expert architecture that can achieve high accuracy with customized inference costs. Experiments within a search space inspired by MobileNetV2 show InstaNAS can achieve up to 48.8% latency reduction without compromising accuracy on a series of datasets against MobileNetV2.




How to Cite

Cheng, A.-C., Lin, C. H., Juan, D.-C., Wei, W., & Sun, M. (2020). InstaNAS: Instance-Aware Neural Architecture Search. Proceedings of the AAAI Conference on Artificial Intelligence, 34(04), 3577-3584.



AAAI Technical Track: Machine Learning