arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1810.09854cs.LGcs.AIstat.ML
收藏

具有减少的字长的深度神经网络推理

Deep Neural Network inference with reduced word length

University of Stuttgart(斯图加特大学)

Lukas Mauch, Bin Yang

摘要:

深度神经网络(DNN)是许多模式识别任务的强大模型,但其高计算复杂性和内存要求限制了它们在高性能计算平台上的应用。在本文中,我们提出了一种新的方法来评估使用32位浮点(float32)精度训练的DNN,仅使用低精度整数运算并结合二进制移位和裁剪操作。由于这些操作的硬件实现比高精度浮点计算简单得多,因此我们的方法可以用于专用硬件上的高效DNN推理。在MNIST上的实验中,我们证明了使用float32训练的DNN可以使用2位整数运算和每层中的一些float32计算的组合进行评估,或者仅使用3位整数运算结合二进制移位和裁剪,而不会显着降低性能。

英文摘要:

Deep neural networks (DNN) are powerful models for many pattern recognition tasks, yet their high computational complexity and memory requirement limit them to applications on high-performance computing platforms. In this paper, we propose a new method to evaluate DNNs trained with 32bit floating point (float32) accuracy using only low precision integer arithmetics in combination with binary shift and clipping operations. Because hardware implementation of these operations is much simpler than high precision floating point calculation, our method can be used for an efficient DNN inference on dedicated hardware. In experiments on MNIST, we demonstrate that DNNs trained with float32 can be evaluated using a combination of 2bit integer arithmetics and a few float32 calculations in each layer or only 3bit integer arithmetics in combination with binary shift and clipping without significant performance degradation.

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

↑