arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.00285cs.ET
收藏

X-CHANGR:改变忆阻交叉映射以减轻深度神经网络中线电阻引起的精度下降

X-CHANGR: Changing Memristive Crossbar Mapping for Mitigating Line-Resistance Induced Accuracy Degradation in Deep Neural Networks

Amogh Agrawal, Chankyu Lee, Kaushik Roy

摘要:

人们对新兴技术,特别是用于加速深度神经网络(DNN)的电阻交叉开关有着广泛的兴趣。电阻交叉开关提供高度并行和高效的矩阵向量乘法(MVM)操作。MVM是DNN中最主要的操作,这使得Crossbar非常适合。然而,器件和电路非理想性的各种来源导致MVM输出中的误差,从而降低DNN精度。为此,我们提出了交叉杆重新映射策略,以减轻DNN中线路电阻引起的准确性下降,而无需重新训练学习的权重,这与大多数先前的工作不同。线电阻使沿着交叉杆列的电压电平降级,从而在远离驱动器的列处引起更多误差。我们基于敏感性分析对DNN权重和内核进行排名,并重新排列列,以便最敏感的内核映射到更靠近驱动程序的位置,从而最大限度地减少错误对整体准确性的影响。我们提出了两种算法$-$静态重映射策略(SRS)和动态重映射策略(DRS),以优化交叉开关重新安排的预训练DNN。我们在使用CIFAR10数据集训练的标准VGG16网络上展示了我们的方法的好处。我们的研究结果表明,SRS和DRS限制的准确性下降到2.9\%和2.1\%,分别相比,从一个5.6\%的下降,因为它是映射的权重和内核到交叉杆。我们相信这项工作带来了一个额外的优化方面,它可以与现有的缓解技术,如原位补偿,技术意识培训和再培训方法,以提高系统性能。

英文摘要:

There is widespread interest in emerging technologies, especially resistive crossbars for accelerating Deep Neural Networks (DNNs). Resistive crossbars offer a highly-parallel and efficient matrix-vector-multiplication (MVM) operation. MVM being the most dominant operation in DNNs makes crossbars ideally suited. However, various sources of device and circuit non-idealities lead to errors in the MVM output, thereby reducing DNN accuracy. Towards that end, we propose crossbar re-mapping strategies to mitigate line-resistance induced accuracy degradation in DNNs, without having to re-train the learned weights, unlike most prior works. Line-resistances degrade the voltage levels along the crossbar columns, thereby inducing more errors at the columns away from the drivers. We rank the DNN weights and kernels based on a sensitivity analysis, and re-arrange the columns such that the most sensitive kernels are mapped closer to the drivers, thereby minimizing the impact of errors on the overall accuracy. We propose two algorithms $-$ static remapping strategy (SRS) and dynamic remapping strategy (DRS), to optimize the crossbar re-arrangement of a pre-trained DNN. We demonstrate the benefits of our approach on a standard VGG16 network trained using CIFAR10 dataset. Our results show that SRS and DRS limit the accuracy degradation to 2.9\% and 2.1\%, respectively, compared to a 5.6\% drop from an as it is mapping of weights and kernels to crossbars. We believe this work brings an additional aspect for optimization, which can be used in tandem with existing mitigation techniques, such as in-situ compensation, technology aware training and re-training approaches, to enhance system performance.

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

↑