arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.11120cs.LGcs.ETcs.NEeess.SPstat.ML
收藏

利用基于电荷陷阱闪光的权重矩阵随机计算的软件级精度

Software-Level Accuracy Using Stochastic Computing With Charge-Trap-Flash Based Weight Matrix

University of Alberta(阿尔伯塔大学);Indian Institute of Technology Bombay(印度理工学院孟买分校)

Varun Bhatt, Shalini Shrivastava, Tanmay Chavan, Udayan Ganguly

摘要:

具有新兴存储器设备的存内计算范例最近已被证明是加速深度学习的有前途的方法。电阻式处理单元(RPU)被提出来使用相同脉冲的随机训练来实现交叉杆阵列中的向量-向量外积,以实现一次性权重更新,从而有望大幅提高矩阵乘法运算的速度,这形成了大量的训练神经网络。然而,如果设备不满足在大约1,000个电导水平上线性电导变化的条件,则系统的性能受到影响。这对纳米级存储器来说是一个挑战。最近,电荷陷阱闪存(CTF)存储器被示出在饱和之前具有大量的电平,但是具有可变的非线性。在本文中,我们探讨了电导变化的范围和线性度之间的权衡。我们通过模拟表明,在最佳选择的范围内,我们的系统执行几乎以及使用精确的浮点运算训练的模型,性能降低不到1%。我们的系统在MNIST数据集上达到了97.9%的准确率,在CIFAR-10和CIFAR-100数据集上达到了89.1%和70.5%的准确率(使用预提取的特征)。我们还展示了它在强化学习中的用途,在Q-Learning中用于价值函数近似,并学习完成一个大约146步的山地车控制问题。基于CTF的RPU以最先进的技术水平为基准,表现出同类最佳的性能,可实现软件等效性能。

英文摘要:

The in-memory computing paradigm with emerging memory devices has been recently shown to be a promising way to accelerate deep learning. Resistive processing unit (RPU) has been proposed to enable the vector-vector outer product in a crossbar array using a stochastic train of identical pulses to enable one-shot weight update, promising intense speed-up in matrix multiplication operations, which form the bulk of training neural networks. However, the performance of the system suffers if the device does not satisfy the condition of linear conductance change over around 1,000 conductance levels. This is a challenge for nanoscale memories. Recently, Charge Trap Flash (CTF) memory was shown to have a large number of levels before saturation, but variable non-linearity. In this paper, we explore the trade-off between the range of conductance change and linearity. We show, through simulations, that at an optimum choice of the range, our system performs nearly as well as the models trained using exact floating point operations, with less than 1% reduction in the performance. Our system reaches an accuracy of 97.9% on MNIST dataset, 89.1% and 70.5% accuracy on CIFAR-10 and CIFAR-100 datasets (using pre-extracted features). We also show its use in reinforcement learning, where it is used for value function approximation in Q-Learning, and learns to complete an episode the mountain car control problem in around 146 steps. Benchmarked to state-of-the-art, the CTF based RPU shows best in class performance to enable software equivalent performance.

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

↑