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

MSP:FPGA专用混合方案、多精度深度神经网络Quantization框架

MSP: An FPGA-Specific Mixed-Scheme, Multi-Precision Deep Neural Network Quantization Framework

Northeastern University(东北大学);University of Notre Dame(圣母大学);University of Hong Kong(香港大学);University of Southern California(南加州大学)

Sung-En Chang, Yanyu Li, Mengshu Sun, Weiwen Jiang, Runbin Shi, Xue Lin, Yanzhi Wang

摘要:

随着深度学习的巨大成功,迫切需要将深度学习模型部署到边缘设备上。为了解决边缘设备中有限的计算和存储资源,模型压缩技术已被广泛用于修剪深度神经网络(DNN)模型以用于设备上的推理执行。本文针对常用的FPGA(现场可编程门阵列)器件作为DNN边缘计算的硬件平台。由于DNN量化对于DNN模型在硬件平台上的实现具有重要意义,因此我们将DNN量化作为主要的模型压缩技术。这项工作的新颖性来自两个方面:(i)我们提出了一种混合方案DNN量化方法,该方法结合了线性和非线性数字系统进行量化,目的是提高异构计算资源的利用率,即,LUT(查找表)和DSP(数字信号处理器)在FPGA上。注意,所有现有的(单方案)量化方法只能利用一种类型的资源(LUT或DSP)用于深度学习计算中的MAC(乘法-累加)运算。(ii)我们使用的量化方法,支持沿层内维度的多个精度,而现有的量化方法应用沿层间维度的多精度量化。层内多精度方法可以统一不同层的硬件配置以减少计算开销,同时保持层间方法的模型精度。

英文摘要:

With the tremendous success of deep learning, there exists imminent need to deploy deep learning models onto edge devices. To tackle the limited computing and storage resources in edge devices, model compression techniques have been widely used to trim deep neural network (DNN) models for on-device inference execution. This paper targets the commonly used FPGA (field programmable gate array) devices as the hardware platforms for DNN edge computing. We focus on the DNN quantization as the main model compression technique, since DNN quantization has been of great importance for the implementations of DNN models on the hardware platforms. The novelty of this work comes in twofold: (i) We propose a mixed-scheme DNN quantization method that incorporates both the linear and non-linear number systems for quantization, with the aim to boost the utilization of the heterogeneous computing resources, i.e., LUTs (look up tables) and DSPs (digital signal processors) on an FPGA. Note that all the existing (single-scheme) quantization methods can only utilize one type of resources (either LUTs or DSPs for the MAC (multiply-accumulate) operations in deep learning computations. (ii) We use a quantization method that supports multiple precisions along the intra-layer dimension, while the existing quantization methods apply multi-precision quantization along the inter-layer dimension. The intra-layer multi-precision method can uniform the hardware configurations for different layers to reduce computation overhead and at the same time preserve the model accuracy as the inter-layer approach.

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

↑