arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.00072cs.ETcs.CVcs.LG
收藏

RxNN:一个在电阻交叉杆上评估深度神经网络的框架

RxNN: A Framework for Evaluating Deep Neural Networks on Resistive Crossbars

Purdue University(普渡大学);Penn State University(宾夕法尼亚州立大学)

Shubham Jain, Abhronil Sengupta, Kaushik Roy, Anand Raghunathan

摘要:

利用非易失性存储器设备设计的电阻式交叉开关已经成为深度神经网络(DNN)硬件的有前途的构建块,这是由于它们能够压缩和有效地实现向量矩阵乘法(VMM),即DNN中的主要计算内核。然而,电阻交叉开关面临的一个关键挑战是,它们受到一系列器件和电路级非理想性的影响,例如互连寄生效应、外围电路、潜路径和工艺变化。这些非理想性会导致VMM中的错误,最终降低DNN的准确性。因此,研究crossbar非理想性对大规模DNN准确性的影响至关重要。然而,这是具有挑战性的,因为现有的器件和电路模型太慢,无法用于应用级评估。我们提出了RxNN,这是一个快速准确的仿真框架,用于评估电阻交叉系统上的大规模DNN。RxNN将每个DNN层中涉及的计算拆分并映射到crossbar操作中,并使用快速Crossbar模型(FCM)对其进行评估,该模型可以准确捕获由于crossbar非理想性而产生的错误,同时比电路模拟快四到五个数量级。FCM使用三个阶段对基于交叉杆的VMM操作进行建模-输入和输出外围电路(DAC和ADC)的非线性模型,以及核心交叉杆阵列的等效非理想电导矩阵。我们通过扩展Caffe机器学习框架来实现RxNN,并使用它来评估为ImageNet Challenge开发的一套六个大规模DNN。我们的实验表明,电阻交叉非理想性会导致这些大规模DNN的精度显著下降(9.6%-32%)。据我们所知,这项工作是第一次定量评估基于电阻交叉的硬件上的大规模DNN的准确性。

英文摘要:

Resistive crossbars designed with non-volatile memory devices have emerged as promising building blocks for Deep Neural Network (DNN) hardware, due to their ability to compactly and efficiently realize vector-matrix multiplication (VMM), the dominant computational kernel in DNNs. However, a key challenge with resistive crossbars is that they suffer from a range of device and circuit level non-idealities such as interconnect parasitics, peripheral circuits, sneak paths, and process variations. These non-idealities can lead to errors in VMMs, eventually degrading the DNN's accuracy. It is therefore critical to study the impact of crossbar non-idealities on the accuracy of large-scale DNNs. However, this is challenging because existing device and circuit models are too slow to use in application-level evaluations. We present RxNN, a fast and accurate simulation framework to evaluate large-scale DNNs on resistive crossbar systems. RxNN splits and maps the computations involved in each DNN layer into crossbar operations, and evaluates them using a Fast Crossbar Model (FCM) that accurately captures the errors arising due to crossbar non-idealities while being four-to-five orders of magnitude faster than circuit simulation. FCM models a crossbar-based VMM operation using three stages - non-linear models for the input and output peripheral circuits (DACs and ADCs), and an equivalent non-ideal conductance matrix for the core crossbar array. We implement RxNN by extending the Caffe machine learning framework and use it to evaluate a suite of six large-scale DNNs developed for the ImageNet Challenge. Our experiments reveal that resistive crossbar non-idealities can lead to significant accuracy degradations (9.6%-32%) for these large-scale DNNs. To the best of our knowledge, this work is the first quantitative evaluation of the accuracy of large-scale DNNs on resistive crossbar based hardware.

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

↑