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

乘法次数少的神经网络

Neural Networks with Few Multiplications

Université de Montréal(蒙特利尔大学)

Zhouhan Lin, Matthieu Courbariaux, Roland Memisevic, Yoshua Bengio

摘要:

对于大多数深度学习算法来说,训练是出了名的耗时。由于训练神经网络的大部分计算通常都花在浮点乘法上,我们研究了一种训练方法,可以消除对大多数浮点乘法的需求。我们的方法包括两个部分:首先,我们随机二进制化的权重转换乘法涉及计算隐藏状态的符号变化。其次,在反向传播误差导数时,除了将权重二进制化之外,我们还将每一层的表示进行二进制化,以将剩余的乘法转换为二进制移位。在3个流行数据集(MNIST,CIFAR10,SVHN)上的实验结果表明,这种方法不仅不会损害分类性能,而且可以产生比标准随机梯度下降训练更好的性能,为快速,硬件友好的神经网络训练铺平了道路。

英文摘要:

For most deep learning algorithms training is notoriously time consuming. Since most of the computation in training neural networks is typically spent on floating point multiplications, we investigate an approach to training that eliminates the need for most of these. Our method consists of two parts: First we stochastically binarize weights to convert multiplications involved in computing hidden states to sign changes. Second, while back-propagating error derivatives, in addition to binarizing the weights, we quantize the representations at each layer to convert the remaining multiplications into binary shifts. Experimental results across 3 popular datasets (MNIST, CIFAR10, SVHN) show that this approach not only does not hurt classification performance but can result in even better performance than standard stochastic gradient descent training, paving the way to fast, hardware-friendly training of neural networks.

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

↑