arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1909.13396cs.CVcs.ARcs.LG
收藏

REQ-YOLO:一种基于FPGA的资源感知高效Quantization目标检测框架

REQ-YOLO: A Resource-Aware, Efficient Quantization Framework for Object Detection on FPGAs

Peking University(北京大学);Northeastern University(东北大学);Peng Cheng Laboratory(鹏城实验室)

Caiwen Ding, Shuo Wang, Ning Liu, Kaidi Xu, Yanzhi Wang, Yun Liang

摘要:

深度神经网络(DNN)作为目标检测的基础,将在未来完全自主的自主系统开发中发挥关键作用。自治系统具有在功率受限系统上实时、节能地实现DNN的特殊要求。两个研究重点致力于DNN推理阶段的性能和能效增强。第一个是模型压缩技术,而第二个是高效的硬件实现。最近的工作,如二进制神经网络(BNN)和XNOR-Net的极低位CNN取代了传统的浮点运算与二进制位操作,显着降低了内存带宽和存储要求。然而,它遭受不可忽略的精度损失和未充分利用的FPGA的数字信号处理(DSP)块。为了克服这些局限性,本文提出了REQ-YOLO,一个资源感知的,系统的权重量化框架的目标检测,同时考虑算法和硬件资源方面的目标检测。我们采用块循环矩阵的方法,并提出了一个异构的权重量化使用交替方向乘法(ADMM),一种有效的优化技术一般,非凸优化问题。为了在FPGA上实现实时、高效的实现,我们给出了CONV层块循环矩阵的详细硬件实现,并开发了一种高效的处理单元(PE)结构,该结构支持异构权重量化、CONV流水线和流水线技术、设计优化以及基于模板的自动综合框架,以最佳地利用硬件资源。实验结果表明,我们提出的REQ-YOLO框架可以显着压缩YOLO模型,同时引入非常小的精度下降。

英文摘要:

Deep neural networks (DNNs), as the basis of object detection, will play a key role in the development of future autonomous systems with full autonomy. The autonomous systems have special requirements of real-time, energy-efficient implementations of DNNs on a power-constrained system. Two research thrusts are dedicated to performance and energy efficiency enhancement of the inference phase of DNNs. The first one is model compression techniques while the second is efficient hardware implementation. Recent works on extremely-low-bit CNNs such as the binary neural network (BNN) and XNOR-Net replace the traditional floating-point operations with binary bit operations which significantly reduces the memory bandwidth and storage requirement. However, it suffers from non-negligible accuracy loss and underutilized digital signal processing (DSP) blocks of FPGAs. To overcome these limitations, this paper proposes REQ-YOLO, a resource-aware, systematic weight quantization framework for object detection, considering both algorithm and hardware resource aspects in object detection. We adopt the block-circulant matrix method and propose a heterogeneous weight quantization using the Alternating Direction Method of Multipliers (ADMM), an effective optimization technique for general, non-convex optimization problems. To achieve real-time, highly-efficient implementations on FPGA, we present the detailed hardware implementation of block circulant matrices on CONV layers and develop an efficient processing element (PE) structure supporting the heterogeneous weight quantization, CONV dataflow and pipelining techniques, design optimization, and a template-based automatic synthesis framework to optimally exploit hardware resource. Experimental results show that our proposed REQ-YOLO framework can significantly compress the YOLO model while introducing very small accuracy degradation.

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

↑