arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.11516cs.DCcs.ARcs.ETeess.SP
收藏

PANTHER:一种用于神经网络训练的可编程架构利用节能ReRAM

PANTHER: A Programmable Architecture for Neural Network Training Harnessing Energy-efficient ReRAM

Aayush Ankit, Izzat El Hajj, Sai Rahul Chalamalasetti, Sapan Agarwal, Matthew Marinella, Martin Foltin, John Paul Strachan, Dejan Milojicic, Wen-mei Hwu, Kaushik Roy

摘要:

深度神经网络的广泛采用伴随着不断增长的能量和性能需求,这是由于训练它们的昂贵性。已经提出了许多专用架构来加速训练:数字和混合数字模拟使用电阻式RAM(ReRAM)交叉杆。基于ReRAM的加速器已经证明了ReRAM crossbar在执行训练中普遍存在的矩阵向量乘法运算方面的有效性。然而,由于使用串行读取和写入来执行权重梯度和更新步骤,它们仍然遭受低效率。一些工作已经证明了在交叉杆中执行外积的可能性,其可以用于实现权重梯度和更新步骤而不使用串行读取和写入。然而,这些工作一直局限于低精度的操作,这是不够的典型的训练工作量。此外,它们仅限于完全连接层的有限训练算法集。为了解决这些限制,我们提出了一种位切片技术,用于提高基于ReRAM的外积的精度,这与仅用于矩阵向量乘法的位切片有很大不同。我们将这种技术融入到一个交叉结构中,有三种变体迎合了不同的训练算法。为了评估我们在神经网络中不同类型的层(全连接,卷积等)上的设计,和训练算法,我们开发PANTHER,ISA可编程的训练加速器与编译器的支持。我们的评估表明,与数字加速器、基于ReRAM的加速器和GPU相比,PANTHER分别实现了高达$8.02\times$、$54.21\times$和$103\times$的能耗降低以及$7.16\times$、$4.02\times$和$16\times$的执行时间缩短。

英文摘要:

The wide adoption of deep neural networks has been accompanied by ever-increasing energy and performance demands due to the expensive nature of training them. Numerous special-purpose architectures have been proposed to accelerate training: both digital and hybrid digital-analog using resistive RAM (ReRAM) crossbars. ReRAM-based accelerators have demonstrated the effectiveness of ReRAM crossbars at performing matrix-vector multiplication operations that are prevalent in training. However, they still suffer from inefficiency due to the use of serial reads and writes for performing the weight gradient and update step. A few works have demonstrated the possibility of performing outer products in crossbars, which can be used to realize the weight gradient and update step without the use of serial reads and writes. However, these works have been limited to low precision operations which are not sufficient for typical training workloads. Moreover, they have been confined to a limited set of training algorithms for fully-connected layers only. To address these limitations, we propose a bit-slicing technique for enhancing the precision of ReRAM-based outer products, which is substantially different from bit-slicing for matrix-vector multiplication only. We incorporate this technique into a crossbar architecture with three variants catered to different training algorithms. To evaluate our design on different types of layers in neural networks (fully-connected, convolutional, etc.) and training algorithms, we develop PANTHER, an ISA-programmable training accelerator with compiler support. Our evaluation shows that PANTHER achieves up to $8.02\times$, $54.21\times$, and $103\times$ energy reductions as well as $7.16\times$, $4.02\times$, and $16\times$ execution time reductions compared to digital accelerators, ReRAM-based accelerators, and GPUs, respectively.

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

↑