arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.05486cs.NE
收藏

在有限精度下训练深度神经网络

Training Deep Neural Network in Limited Precision

Hyunsun Park, Jun Haeng Lee, Youngmin Oh, Sangwon Ha, Seungwon Lee

摘要:

DNN的能量和资源有效训练将极大地扩展深度学习的应用。然而,有三个主要的障碍,要求在高精度的准确计算。在本文中,我们通过低精度训练中的softmax非线性层解决了其中两个与参数更新和反向传播过程中梯度损失相关的问题。我们通过采用额外的参数来虚拟地扩展参数的位宽以实现可靠的参数更新,从而实现具有Kahan求和的SGD。我们还提出了一个简单的指导原则,以帮助选择最后一个FC层的适当位宽,然后是softmax非线性层。它根据数据集的类大小确定所需位宽的下限。在各种网络架构和基准测试上的大量实验验证了所提出的技术在低精度训练中的有效性。

英文摘要:

Energy and resource efficient training of DNNs will greatly extend the applications of deep learning. However, there are three major obstacles which mandate accurate calculation in high precision. In this paper, we tackle two of them related to the loss of gradients during parameter update and backpropagation through a softmax nonlinearity layer in low precision training. We implemented SGD with Kahan summation by employing an additional parameter to virtually extend the bit-width of the parameters for a reliable parameter update. We also proposed a simple guideline to help select the appropriate bit-width for the last FC layer followed by a softmax nonlinearity layer. It determines the lower bound of the required bit-width based on the class size of the dataset. Extensive experiments on various network architectures and benchmarks verifies the effectiveness of the proposed technique for low precision training.

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

↑