arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2003.11256cs.LGcs.NE
收藏

ESSOP:用于深度学习的高效可扩展随机外积架构

ESSOP: Efficient and Scalable Stochastic Outer Product Architecture for Deep Learning

IBM Research - Zurich(IBM苏黎世研究院);New Jersey Institute of Technology (NJIT)(新泽西理工学院);Ecole Polytechnique Federale de Lausanne (EPFL)(洛桑联邦理工学院);ETH Zürich(苏黎世联邦理工学院);King’s College London(伦敦国王学院)

Vinay Joshi, Geethan Karunaratne, Manuel Le Gallo, Irem Boybat, Christophe Piveteau, Abu Sebastian, Bipin Rajendran, Evangelos Eleftheriou

摘要:

深度神经网络(DNN)在各种认知任务中已经超过了人类水平的准确性,但在DNN训练中需要大量的记忆/时间。这限制了它们在需要实时学习的能量和内存有限的应用中的部署。矩阵-向量乘法(MVM)和向量-向量外积(VVOP)是与DNN训练相关的两个最昂贵的运算。已经证明了提高硬件中MVM计算效率的策略对训练精度的影响最小。然而,即使使用上述策略,VVOP计算仍然是相对较少探索的瓶颈。已经提出了随机计算(SC)来提高VVOP计算的效率,但是在具有有界激活函数和激活梯度的浮点(FP)缩放的相对浅的网络上。在本文中,我们提出了ESSOP,一个有效的和可扩展的随机外积架构的基础上SC范式。我们引入了有效的技术来推广SC,用于具有无界激活函数的DNN中的权重更新计算(例如,ReLU),许多最先进的网络都需要。我们的架构通过重复使用随机数和替换某些FP乘法运算的位移位缩放,降低了计算成本。我们证明,具有33个卷积层和一个全连接层的ResNet-32网络可以在CIFAR-10数据集上使用ESSOP进行训练,以实现基线可比的准确性。在14 nm工艺节点上的ESSOP硬件设计表明,与高度流水线化的FP 16乘法器设计相比,ESSOP的外积计算的能量和面积效率分别提高了82.2%和93.7%。

英文摘要:

Deep neural networks (DNNs) have surpassed human-level accuracy in a variety of cognitive tasks but at the cost of significant memory/time requirements in DNN training. This limits their deployment in energy and memory limited applications that require real-time learning. Matrix-vector multiplications (MVM) and vector-vector outer product (VVOP) are the two most expensive operations associated with the training of DNNs. Strategies to improve the efficiency of MVM computation in hardware have been demonstrated with minimal impact on training accuracy. However, the VVOP computation remains a relatively less explored bottleneck even with the aforementioned strategies. Stochastic computing (SC) has been proposed to improve the efficiency of VVOP computation but on relatively shallow networks with bounded activation functions and floating-point (FP) scaling of activation gradients. In this paper, we propose ESSOP, an efficient and scalable stochastic outer product architecture based on the SC paradigm. We introduce efficient techniques to generalize SC for weight update computation in DNNs with the unbounded activation functions (e.g., ReLU), required by many state-of-the-art networks. Our architecture reduces the computational cost by re-using random numbers and replacing certain FP multiplication operations by bit shift scaling. We show that the ResNet-32 network with 33 convolution layers and a fully-connected layer can be trained with ESSOP on the CIFAR-10 dataset to achieve baseline comparable accuracy. Hardware design of ESSOP at 14nm technology node shows that, compared to a highly pipelined FP16 multiplier design, ESSOP is 82.2% and 93.7% better in energy and area efficiency respectively for outer product computation.

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

↑