Implication of Optimizing NPU Dataflows on Neural Architecture Search for Mobile Devices

Jooyeon Lee,Junsang Park,Seunghyun Lee,Jaeha Kung
DOI: https://doi.org/10.1145/3513085
IF: 1.447
2022-02-24
ACM Transactions on Design Automation of Electronic Systems
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 paper, 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 × lower latency.
computer science, software engineering, hardware & architecture
What problem does this paper attempt to address?