arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.08325cs.LG
收藏

HSCoNAS:通过神经结构搜索实现高效DNN的软硬件协同设计

HSCoNAS: Hardware-Software Co-Design of Efficient DNNs via Neural Architecture Search

School of Computer Science and Engineering, Nanyang Technological University(南洋理工大学计算机科学与工程学院);HP-NTU Digital Manufacturing Corporate Lab, Nanyang Technological University(南洋理工大学惠普数字制造企业实验室)

Xiangzhong Luo, Di Liu, Shuo Huai, Weichen Liu

摘要:

在本文中,我们提出了一种新的多目标硬件感知神经架构搜索(NAS)框架,即HSCoNAS,以自动化深度神经网络(DNN)的设计,具有高精度,但目标硬件上的低延迟。为了实现这一目标,我们首先提出了一种有效的硬件性能建模方法来近似DNN在目标硬件上的运行时延迟,该方法将集成到HSCoNAS中,以避免繁琐的设备上测量。此外,我们提出了两种新的技术,即,动态信道缩放以在指定延迟下最大化准确性,以及渐进空间收缩以朝向目标硬件细化搜索空间以及减轻搜索开销。这两种技术共同工作,使HSCoNAS能够执行细粒度和有效的探索。最后,一个进化算法(EA)被纳入进行架构搜索。在ImageNet上进行了广泛的实验,在不同的目标硬件上进行,即,GPU、CPU和边缘设备,以展示HSCoNAS相对于最新先进方法的优越性。

英文摘要:

In this paper, we present a novel multi-objective hardware-aware neural architecture search (NAS) framework, namely HSCoNAS, to automate the design of deep neural networks (DNNs) with high accuracy but low latency upon target hardware. To accomplish this goal, we first propose an effective hardware performance modeling method to approximate the runtime latency of DNNs on target hardware, which will be integrated into HSCoNAS to avoid the tedious on-device measurements. Besides, we propose two novel techniques, i.e., dynamic channel scaling to maximize the accuracy under the specified latency and progressive space shrinking to refine the search space towards target hardware as well as alleviate the search overheads. These two techniques jointly work to allow HSCoNAS to perform fine-grained and efficient explorations. Finally, an evolutionary algorithm (EA) is incorporated to conduct the architecture search. Extensive experiments on ImageNet are conducted upon diverse target hardware, i.e., GPU, CPU, and edge device to demonstrate the superiority of HSCoNAS over recent state-of-the-art approaches.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑