arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.00209cs.LGstat.ML
收藏

基于GPU的二值化卷积神经网络高效推理

Binarized Convolutional Neural Networks for Efficient Inference on GPUs

Tampere University of Technology(坦佩雷理工大学)

Mir Khan, Heikki Huttunen, Jani Boutellier

摘要:

卷积神经网络最近在各种图像分类任务中取得了重大突破。然而,它们在计算上是昂贵的,这使得它们在嵌入式和低功耗设备上的可行实现变得困难。在本文中,卷积神经网络二值化实现基于GPU的平台上的实时推理资源受限的设备。在二进制化网络中,层之间的所有权重和中间计算都被量化为+1和-1,允许乘法和加法被32位字之间的逐位操作取代。这种表示完全消除了对浮点乘法和加法的需要,与浮点实现的全精度网络相比,减少了计算负载和内存占用,使其非常适合资源受限的环境。我们比较我们的实现与一个桌面和两个嵌入式GPU平台上的等效浮点实现的性能。我们的实现达到了最高速度7. 4倍,与参考实现相比,准确度仅损失4.4%。

英文摘要:

Convolutional neural networks have recently achieved significant breakthroughs in various image classification tasks. However, they are computationally expensive,which can make their feasible mplementation on embedded and low-power devices difficult. In this paper convolutional neural network binarization is implemented on GPU-based platforms for real-time inference on resource constrained devices. In binarized networks, all weights and intermediate computations between layers are quantized to +1 and -1, allowing multiplications and additions to be replaced with bit-wise operations between 32-bit words. This representation completely eliminates the need for floating point multiplications and additions and decreases both the computational load and the memory footprint compared to a full-precision network implemented in floating point, making it well-suited for resource-constrained environments. We compare the performance of our implementation with an equivalent floating point implementation on one desktop and two embedded GPU platforms. Our implementation achieves a maximum speed up of 7. 4X with only 4.4% loss in accuracy compared to a reference implementation.

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

↑