arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.11783cs.CVcs.LGeess.IV
收藏

累加器约束处理器的深度神经网络的Quantization

Quantization of Deep Neural Networks for Accumulator-constrained Processors

Eindhoven University of Technology(埃因霍温理工大学);Intel Benelux(英特尔比荷卢)

Barry de Bruin, Zoran Zivkovic, Henk Corporaal

摘要:

我们介绍了一个人工神经网络(ANN)的量化方法的平台没有广泛的积累寄存器。这使得固定点模型部署在嵌入式计算平台上,这些平台不是专门为大型内核计算设计的(即累加器约束处理器)。我们将量化问题公式化为累加器大小的函数,并且旨在通过最大化输入数据的位宽和权重来最大化模型精度。为了减少要考虑的配置数量,只测试完全利用可用累加器位的解决方案。我们证明,16位的SVM能够获得在CIFAR-10和ILSVRC 2012图像分类基准的浮点基线的1\%的分类精度。此外,通过在All-CNN-C和AlexNet网络上利用16位递归进行图像分类,在ARM处理器上获得了接近最佳的$2\times$加速比。

英文摘要:

We introduce an Artificial Neural Network (ANN) quantization methodology for platforms without wide accumulation registers. This enables fixed-point model deployment on embedded compute platforms that are not specifically designed for large kernel computations (i.e. accumulator-constrained processors). We formulate the quantization problem as a function of accumulator size, and aim to maximize the model accuracy by maximizing bit width of input data and weights. To reduce the number of configurations to consider, only solutions that fully utilize the available accumulator bits are being tested. We demonstrate that 16-bit accumulators are able to obtain a classification accuracy within 1\% of the floating-point baselines on the CIFAR-10 and ILSVRC2012 image classification benchmarks. Additionally, a near-optimal $2\times$ speedup is obtained on an ARM processor, by exploiting 16-bit accumulators for image classification on the All-CNN-C and AlexNet networks.

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

↑