Profiling Neural Blocks and Design Spaces for Mobile Neural Architecture Search

Keith G. Mills, Fred X. Han, Jialin Zhang, Seyed Saeed Changiz Rezaei, Fabian Chudak +4 more
9/25/2021
cs.LGcs.CV

Official code: Ascend-Research/BlockProfile (3 stars, Python, MIT, PyTorch, last commit 2026-01-12).

Abstract

Neural architecture search automates neural network design and has achieved state-of-the-art results in many deep learning applications. While recent literature has focused on designing networks to maximize accuracy, little work has been conducted to understand the compatibility of architecture design spaces to varying hardware.

Show full abstract

In this paper, we analyze the neural blocks used to build Once-for-All (MobileNetV3), ProxylessNAS and ResNet families, in order to understand their predictive power and inference latency on various devices, including Huawei Kirin 9000 NPU, RTX 2080 Ti, AMD Threadripper 2990WX, and Samsung Note10. We introduce a methodology to quantify the friendliness of neural blocks to hardware and the impact of their placement in a macro network on overall network performance via only end-to-end measurements. Based on extensive profiling results, we derive design insights and apply them to hardware-specific search space reduction. We show that searching in the reduced search space generates better accuracy-latency Pareto frontiers than searching in the original search spaces, customizing architecture search according to the hardware. Moreover, insights derived from measurements lead to notably higher ImageNet top-1 scores on all search spaces investigated.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Code repo for the paper "Profiling Neural Blocks and Design Spaces for Mobile Neural Architecture Search", accepted to CIKM'21 as an Applied Research Paper.

30PythonMay 26, 202110 months agoMIT
cikm2021deep-learningpytorch

Similar Papers

Cite this paper

@article{mills2021profiling,
  title  = {Profiling Neural Blocks and Design Spaces for Mobile Neural Architecture Search},
  author = {Keith G. Mills and Fred X. Han and Jialin Zhang and Seyed Saeed Changiz Rezaei and Fabian Chudak and Wei Lu and Shuo Lian and Shangling Jui and Di Niu},
  year   = {2021},
  eprint = {2109.12426},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.12426}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.12426.svg)](https://codeofpaper.com/paper/2109.12426)

Discussion