ILMPQ:一种用于FPGA的层内多精度深度神经网络Quantization框架
ILMPQ : An Intra-Layer Multi-Precision Deep Neural Network Quantization framework for FPGA
摘要:
本工作针对常用的FPGA(现场可编程门阵列)器件作为DNN边缘计算的硬件平台。我们专注于DNN量化作为主要的模型压缩技术。这项工作的新颖之处在于:我们使用了一种沿着层内维度支持多精度的量化方法,而现有的量化方法沿着层间维度应用多精度量化。层内多精度方法可以统一不同层的硬件配置以减少计算开销,同时保持层间方法的模型精度。我们提出的ILMPQ DNN量化框架在ImageNet数据集上的ResNet-18中达到了70.73 Top1的准确度。我们还在两个FPGA器件上验证了所提出的MSP框架,Xilinx XC 7Z 020和XC 7Z 045。与定点量化方法相比,我们在ImageNet上实现了3.65倍的端到端推理时间加速。
英文摘要:
This work targets the commonly used FPGA (field-programmable gate array) devices as the hardware platform for DNN edge computing. We focus on DNN quantization as the main model compression technique. The novelty of this work is: 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. Our proposed ILMPQ DNN quantization framework achieves 70.73 Top1 accuracy in ResNet-18 on the ImageNet dataset. We also validate the proposed MSP framework on two FPGA devices i.e., Xilinx XC7Z020 and XC7Z045. We achieve 3.65x speedup in end-to-end inference time on the ImageNet, compared with the fixed-point quantization method.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。