Skip to main content
QUICK REVIEW

[Paper Review] S3NAS: Fast NPU-aware Neural Architecture Search Methodology

Jaeseong Lee, Duseok Kang|arXiv (Cornell University)|Sep 4, 2020
Advanced Neural Network ApplicationsComputer Science39 references7 citations
TL;DR

S3NAS proposes a fast, NPU-aware neural architecture search methodology that enhances search efficiency and accuracy by extending the supernet structure with variable stage depth and mixed kernel-size blocks, using a latency-constrained Single-Path NAS and compound scaling. It achieves 82.72% ImageNet top-1 accuracy with 11.66ms latency on a TPUv3 in just 3 hours, outperforming existing models and random search baselines.

ABSTRACT

As the application area of convolutional neural networks (CNN) is growing in embedded devices, it becomes popular to use a hardware CNN accelerator, called neural processing unit (NPU), to achieve higher performance per watt than CPUs or GPUs. Recently, automated neural architecture search (NAS) emerges as the default technique to find a state-of-the-art CNN architecture with higher accuracy than manually-designed architectures for image classification. In this paper, we present a fast NPU-aware NAS methodology, called S3NAS, to find a CNN architecture with higher accuracy than the existing ones under a given latency constraint. It consists of three steps: supernet design, Single-Path NAS for fast architecture exploration, and scaling. To widen the search space of the supernet structure that consists of stages, we allow stages to have a different number of blocks and blocks to have parallel layers of different kernel sizes. For a fast neural architecture search, we apply a modified Single-Path NAS technique to the proposed supernet structure. In this step, we assume a shorter latency constraint than the required to reduce the search space and the search time. The last step is to scale up the network maximally within the latency constraint. For accurate latency estimation, an analytical latency estimator is devised, based on a cycle-level NPU simulator that runs an entire CNN considering the memory access overhead accurately. With the proposed methodology, we are able to find a network in 3 hours using TPUv3, which shows 82.72% top-1 accuracy on ImageNet with 11.66 ms latency. Code are released at https://github.com/cap-lab/S3NAS

Motivation & Objective

  • To address the challenge of finding high-accuracy CNN architectures under strict latency constraints on NPU hardware.
  • To reduce the search time and search space for NAS on NPU platforms by leveraging hardware-aware latency estimation and efficient search strategies.
  • To improve accuracy-latency trade-offs by extending the supernet architecture and applying compound scaling post-search.
  • To demonstrate that supernet design and latency-aware search are more impactful than search strategy alone in NAS.

Proposed method

  • Extends the Single-Path NAS supernet by allowing variable numbers of blocks per stage and adding parallel layers with different kernel sizes (mixed depthwise convolution) to widen the search space.
  • Applies a modified Single-Path NAS with a tighter latency constraint than the target to reduce search space and accelerate architecture exploration.
  • Uses a cycle-level NPU simulator for accurate latency estimation, replacing MAC count as the latency metric to reflect platform-specific performance.
  • Performs compound scaling on the found baseline architecture to generate larger models within the target latency budget.
  • Introduces post-processing enhancements such as squeeze-and-excitation (SE) blocks and h-swish activation to further improve accuracy.
  • Employs a differentiable, one-shot NAS approach to train only one supernet and derive architecture performance via learnable weights.

Experimental results

Research questions

  • RQ1Can extending the supernet structure with variable stage depth and mixed kernel-size blocks significantly improve the accuracy-latency trade-off in NAS for NPU platforms?
  • RQ2Does using a tighter latency constraint during Single-Path NAS search reduce search time while still yielding high-accuracy architectures?
  • RQ3How effective is compound scaling compared to direct search for scaling up a baseline architecture under a loose latency constraint on NPU hardware?
  • RQ4To what extent do architectural components like SE blocks and h-swish activation improve accuracy in NPU-optimized models?

Key findings

  • S3NAS achieves 82.72% top-1 accuracy on ImageNet with only 11.66ms latency on the target NPU, outperforming existing models under the same latency constraint.
  • The method completes the architecture search in just 3 hours on TPUv3, demonstrating high efficiency.
  • Random search and random selection methods, while competitive, achieved at most 79.19% top-1 accuracy, confirming the superiority of the proposed search strategy.
  • The combination of SE blocks and h-swish activation improved accuracy by approximately 1% compared to ReLU-only baselines.
  • Direct search for large networks took 10 hours on TPUv3, while compound scaling achieved comparable results more efficiently, validating its effectiveness.
  • The study confirms that supernet architecture design has a greater impact on final accuracy than the search strategy, as shown by the consistent performance gap between proposed and random methods.

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.