Skip to main content
QUICK REVIEW

[Paper Review] InstaNAS: Instance-aware Neural Architecture Search

An-Chieh Cheng, Chieh Hubert Lin|arXiv (Cornell University)|Nov 26, 2018
Advanced Neural Network ApplicationsComputer Science38 references8 citations
TL;DR

InstaNAS introduces an instance-aware neural architecture search framework that learns a distribution of task-specific expert architectures instead of a single architecture, dynamically assigning each input sample to the most suitable model based on its complexity. This approach achieves up to 48.8% latency reduction over MobileNetV2 with no accuracy drop on CIFAR-10, while maintaining strong performance across multiple datasets by adapting architecture choice to instance-level characteristics.

ABSTRACT

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.

Motivation & Objective

  • To address the limitation of conventional NAS in optimizing for architecture-related metrics like latency, which are not well-served by a single fixed architecture.
  • To explore whether modeling architecture diversity per input instance can improve the accuracy-latency trade-off in real-world deployment scenarios.
  • To develop a controller that learns to assign instance-specific expert architectures based on low-level visual characteristics such as texture, background, and object complexity.
  • To enable dynamic, conditional inference by training a controller to select from a distribution of architectures, improving efficiency without sacrificing accuracy.
  • To demonstrate that instance-aware architecture selection aligns with human perception of image difficulty and leads to measurable efficiency gains.

Proposed method

  • InstaNAS employs a controller trained via reinforcement learning to search over a meta-graph of candidate architectures, learning to assign a unique architecture to each input instance.
  • The controller uses a dynamic reward function that gradually increases environment difficulty and reduces reward interval bounds, emulating curriculum learning to stabilize training.
  • A shared backbone structure enables parameter sharing across architectures, allowing efficient inference and transfer to unseen architectures.
  • The framework integrates multi-objective optimization by jointly considering task-dependent objectives (e.g., accuracy) and architecture-dependent objectives (e.g., latency) during controller training.
  • During inference, the controller selects a domain-expert architecture per input based on its visual features, enabling conditional computation and customized latency.
  • The search space is inspired by MobileNetV2, with architectures parameterized by depth, width, and block configurations, enabling fine-grained control over model complexity.

Experimental results

Research questions

  • RQ1Can a NAS framework that learns a distribution of architectures instead of a single architecture achieve better accuracy-latency trade-offs?
  • RQ2Does instance-level architecture selection based on visual complexity improve inference efficiency while maintaining accuracy?
  • RQ3Can the controller learn to assign architectures that align with human perception of image difficulty?
  • RQ4How does dynamic architecture assignment affect latency reduction across diverse datasets like CIFAR-10, ImageNet, and TinyImageNet?
  • RQ5To what extent can the framework reduce latency without compromising accuracy, especially in resource-constrained environments?

Key findings

  • InstaNAS achieves an average of 48.9% latency reduction on CIFAR-10 compared to MobileNetV2, with no drop in accuracy.
  • On CIFAR-100, the framework reduces latency by 40.2% while maintaining comparable accuracy.
  • For TinyImageNet, InstaNAS achieves a 35.2% reduction in latency without accuracy degradation.
  • On ImageNet, the framework reduces latency by 14.5% with no accuracy drop, and by 26.5% with a moderate 0.7% accuracy drop.
  • Qualitative analysis confirms that the controller assigns higher-latency architectures to complex images (e.g., cluttered backgrounds, high texture variation), aligning with human perception of difficulty.
  • The controller successfully groups instances by low-level visual patterns such as background color, object position, and texture complexity, assigning them to corresponding expert architectures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.