arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.01028cs.LGcs.CVstat.ML
收藏

基于逐层混合滤波器组的三值MobileNets

Ternary MobileNets via Per-Layer Hybrid Filter Banks

Arm ML Research Lab(Arm机器学习研究实验室)

Dibakar Gope, Jesse Beu, Urmish Thakker, Matthew Mattina

摘要:

近年来,计算机视觉神经网络的MobileNets系列在资源高效架构的设计和组织方面取得了巨大进展。在高度受限的设备上具有严格实时要求的新应用需要进一步压缩类似于MobileNet的已经计算高效的网络。模型量化是一种广泛使用的压缩和加速神经网络推理的技术,并且先前的工作已经将MobileNet量化到4-6位,尽管准确度有适度到显著的下降。虽然量化到子字节值(即精度小于或等于8位)是有价值的,但需要将MobileNet进一步量化到二进制或三进制值,以实现显著的节能,并可能在专用硬件(如ASIC和FPGA)上实现运行时加速。在深度神经网络的每一层的卷积滤波器可能对三进制量化有不同的响应的关键观察下,我们提出了一种新的量化方法,该方法生成由全精度和三进制权重滤波器组成的每层混合滤波器组。分层混合滤波器组本质上结合了全精度和三进制权重滤波器的优势,为MobileNet提供了一个紧凑、节能的架构。使用这种拟议的量化方法,我们量化了MobileNet的权重滤波器的大部分三进制值,从而节省了27.98%的能量,并减少了51.07%的模型大小,同时实现了相当的准确性,并且与基准全精度MobileNet相比,在专用硬件上的吞吐量没有下降。

英文摘要:

MobileNets family of computer vision neural networks have fueled tremendous progress in the design and organization of resource-efficient architectures in recent years. New applications with stringent real-time requirements on highly constrained devices require further compression of MobileNets-like already compute-efficient networks. Model quantization is a widely used technique to compress and accelerate neural network inference and prior works have quantized MobileNets to 4-6 bits albeit with a modest to significant drop in accuracy. While quantization to sub-byte values (i.e. precision less than or equal to 8 bits) has been valuable, even further quantization of MobileNets to binary or ternary values is necessary to realize significant energy savings and possibly runtime speedups on specialized hardware, such as ASICs and FPGAs. Under the key observation that convolutional filters at each layer of a deep neural network may respond differently to ternary quantization, we propose a novel quantization method that generates per-layer hybrid filter banks consisting of full-precision and ternary weight filters for MobileNets. The layer-wise hybrid filter banks essentially combine the strengths of full-precision and ternary weight filters to derive a compact, energy-efficient architecture for MobileNets. Using this proposed quantization method, we quantized a substantial portion of weight filters of MobileNets to ternary values resulting in 27.98% savings in energy, and a 51.07% reduction in the model size, while achieving comparable accuracy and no degradation in throughput on specialized hardware in comparison to the baseline full-precision MobileNets.

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

↑