arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.01078stat.MLcs.LG
收藏

深度神经网络的数值精度探索

Exploration of Numerical Precision in Deep Neural Networks

Zhaoqi Li, Yu Ma, Catalina Vajiac, Yunkai Zhang

摘要:

降低数值精度是许多深度神经网络(DNN)中降低计算成本的常用技术。虽然已经观察到DNN对小错误和噪声有弹性,但是不存在能够预测给定DNN系统架构对降低的精度的敏感性的一般结果。在这个项目中,我们模拟任意位宽使用指定的浮点表示与截断方法,这是适用于神经网络后,每批。我们探讨了几个模型参数对网络训练精度的影响,并在MNIST数据集上显示了结果。然后,我们提出了一个初步的理论研究的误差缩放在向前和向后传播。最后,我们讨论这些结果的影响,以及推广到其他网络架构的潜力。

英文摘要:

Reduced numerical precision is a common technique to reduce computational cost in many Deep Neural Networks (DNNs). While it has been observed that DNNs are resilient to small errors and noise, no general result exists that is capable of predicting a given DNN system architecture's sensitivity to reduced precision. In this project, we emulate arbitrary bit-width using a specified floating-point representation with a truncation method, which is applied to the neural network after each batch. We explore the impact of several model parameters on the network's training accuracy and show results on the MNIST dataset. We then present a preliminary theoretical investigation of the error scaling in both forward and backward propagations. We end with a discussion of the implications of these results as well as the potential for generalization to other network architectures.

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

↑