arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.01135cs.LGcs.CV
收藏

Arch-Net:面向架构无关模型部署的模型提取

Arch-Net: Model Distillation for Architecture Agnostic Model Deployment

Megvii Inc.(旷视科技有限公司)

Weixin Xu, Zipeng Feng, Shuangkang Fang, Song Yuan, Yi Yang, Shuchang Zhou

摘要:

深度神经网络对计算能力的巨大需求是其现实世界应用的主要障碍。许多最近的专用集成电路(ASIC)芯片具有对神经网络加速的专用硬件支持。然而,由于ASIC需要多年的开发时间,它们不可避免地被神经架构研究的最新发展所超越。例如,Transformer网络在许多流行的芯片上没有本地支持,因此难以部署。在本文中,我们提出了Arch-Net,这是一系列神经网络,仅由大多数ASIC架构有效支持的运算符组成。当生成Arch-Net时,不太常见的网络结构,如层归一化和嵌入层,通过无标记的Boundary模型蒸馏以渐进的方式被消除,同时执行亚8位量化以最大化性能。机器翻译和图像分类任务的实证结果证实,我们可以将最新开发的神经架构转换为快速运行和准确的Arch-Net,准备部署在多个大规模生产的ASIC芯片上。该代码将在https://github.com/megvii-research/Arch-Net上提供。

英文摘要:

Vast requirement of computation power of Deep Neural Networks is a major hurdle to their real world applications. Many recent Application Specific Integrated Circuit (ASIC) chips feature dedicated hardware support for Neural Network Acceleration. However, as ASICs take multiple years to develop, they are inevitably out-paced by the latest development in Neural Architecture Research. For example, Transformer Networks do not have native support on many popular chips, and hence are difficult to deploy. In this paper, we propose Arch-Net, a family of Neural Networks made up of only operators efficiently supported across most architectures of ASICs. When a Arch-Net is produced, less common network constructs, like Layer Normalization and Embedding Layers, are eliminated in a progressive manner through label-free Blockwise Model Distillation, while performing sub-eight bit quantization at the same time to maximize performance. Empirical results on machine translation and image classification tasks confirm that we can transform latest developed Neural Architectures into fast running and as-accurate Arch-Net, ready for deployment on multiple mass-produced ASIC chips. The code will be available at https://github.com/megvii-research/Arch-Net.

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

↑