Implication of Optimizing NPU Dataflows on Neural Architecture Search for Mobile Devices
Authors:
Open Access
- 6 June 2022
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Design Automation of Electronic Systems
- Vol. 27 (5) , 1-24
Abstract
Recent advances in deep learning have made it possible to implement artificial intelligence in mobile devices. Many studies have put a lot of effort into developing lightweight deep learning models optimized for mobile devices. To overcome the performance limitations of manually designed deep learning models, an automated search algorithm, called neural architecture search ( NAS ), has been proposed. However, studies on the effect of hardware architecture of the mobile device on the performance of NAS have been less explored. In this article, we show the importance of optimizing a hardware architecture, namely, NPU dataflow, when searching for a more accurate yet fast deep learning model. To do so, we first implement an optimization framework, named FlowOptimizer, for generating a best possible NPU dataflow for a given deep learning operator. Then, we utilize this framework during the latency-aware NAS to find the model with the highest accuracy satisfying the latency constraint. As a result, we show that the searched model with FlowOptimizer outperforms the performance by 87.1% and 92.3% on average compared to the searched model with NVDLA and Eyeriss, respectively, with better accuracy on a proxy dataset. We also show that the searched model can be transferred to a larger model to classify a more complex image dataset, i.e., ImageNet, achieving 0.2%/5.4% higher Top-1/Top-5 accuracy compared to MobileNetV2-1.0 with 3.6 \( \times \) lower latency.
Keywords
Funding Information
- Samsung Research Funding Incubation Center of Samsung Electronics (SRFC-IT1801-04)
- Samsung Research Funding Incubation Center of Samsung Electronics (SRFC-IT1801-04, SRFC-IT1902-03)
This publication has 8 references indexed in Scilit:
- GAMMA2020
- EDD: Efficient Differentiable DNN Architecture and Implementation Co-search for Embedded AI Solutions2020
- Co-Exploration of Neural Architectures and Heterogeneous ASIC Accelerator Designs Targeting Multiple Tasks2020
- Searching for MobileNetV32019
- BitBlade2019
- FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Search2019
- Progressive Neural Architecture Search2018
- Preventing Premature Convergence to Local Optima in Genetic Algorithms via Random Offspring Generation1999