arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.08485cs.LGcs.AI
收藏

HQNAS:用于联合quantization和架构搜索的自动CNN部署框架

HQNAS: Auto CNN deployment framework for joint quantization and architecture search

Tsinghua University(清华大学);Institute of Microelectronics, Tsinghua University(清华大学微电子学研究所)

Hongjiang Chen, Yang Wang, Leibo Liu, Shaojun Wei, Shouyi Yin

摘要:

随着嵌入式计算系统的快速发展,深度学习应用正从云端向边缘转移。为了在有限的资源预算下实现更高的能量效率,神经网络(NN)必须从结构设计和量化策略选择两个步骤进行精心设计。在将NN部署到嵌入式设备上时,已经分别提出了神经架构搜索(NAS)和量化。然而,单独采取这两个步骤是耗时的,并导致次优的最终部署。为此,我们提出了一种新的神经网络设计框架,称为硬件感知量化神经架构搜索(HQNAS)框架,它结合了NAS和量化在一起,在一个非常有效的方式,使用权重共享和比特共享。在CIFAR10上发现一个出色的NN策略只需要4个GPU小时。与传统NAS方法相比,在Imagenet上生成可比较的模型仅需%10 GPU时间,延迟减少1.8倍,准确性损失仅为0.7%。此外,我们的方法可以适用于终身的情况下,神经网络需要偶尔演变,由于本地数据,环境和用户偏好的变化。

英文摘要:

Deep learning applications are being transferred from the cloud to edge with the rapid development of embedded computing systems. In order to achieve higher energy efficiency with the limited resource budget, neural networks(NNs) must be carefully designed in two steps, the architecture design and the quantization policy choice. Neural Architecture Search(NAS) and Quantization have been proposed separately when deploying NNs onto embedded devices. However, taking the two steps individually is time-consuming and leads to a sub-optimal final deployment. To this end, we propose a novel neural network design framework called Hardware-aware Quantized Neural Architecture Search(HQNAS) framework which combines the NAS and Quantization together in a very efficient manner using weight-sharing and bit-sharing. It takes only 4 GPU hours to discover an outstanding NN policy on CIFAR10. It also takes only %10 GPU time to generate a comparable model on Imagenet compared to the traditional NAS method with 1.8x decrease of latency and a negligible accuracy loss of only 0.7%. Besides, our method can be adapted in a lifelong situation where the neural network needs to evolve occasionally due to changes of local data, environment and user preference.

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

↑