arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.08716cs.ETcs.NE
收藏

电阻交叉开关卷积神经网络中寄生电阻的抑制

Mitigate Parasitic Resistance in Resistive Crossbar-based Convolutional Neural Networks

Fan Zhang, Miao Hu

摘要:

传统计算硬件在大规模卷积神经网络(CNN)应用中经常遇到片上存储瓶颈。基于电阻交叉开关的计算以其独特的存内计算特性,作为解决冯诺依曼体系结构中存储瓶颈问题的一种很有前途的方法,引起了研究者的关注。然而,交叉开关中的寄生电阻使其行为偏离理想的加权求和操作。在大规模实现中,必须仔细考虑和减轻寄生电阻的影响,以确保电路的功能。在这项工作中,我们在考虑寄生电阻的情况下在电阻交叉开关电路上实现并仿真了CNN。此外,我们进行了一个新的映射方案,高利用率的交叉阵列卷积,和减轻算法,以减轻寄生电阻在CNN应用。该缓解算法考虑了寄生电阻以及每层的数据/内核模式,以最大限度地减少CNN的基于交叉的卷积中的计算误差。我们通过在MNIST上实现4层CNN和在CIFAR-10上实现ResNet(20,32和56)来演示所提出的方法。仿真结果表明,所提出的方法可以很好地抑制交叉杆中的寄生电阻。使用我们的方法,交叉开关上的现代CNN可以通过6位ADC和DAC实现保持理想的(软件)级别分类精度。

英文摘要:

Traditional computing hardware often encounters on-chip memory bottleneck on large scale Convolution Neural Networks (CNN) applications. With its unique in-memory computing feature, resistive crossbar-based computing attracts researchers' attention as a promising solution to the memory bottleneck issue in von Neumann architectures. However, the parasitic resistances in the crossbar deviate its behavior from the ideal weighted summation operation. In large-scale implementations, the impact of parasitic resistances must be carefully considered and mitigated to ensure circuits' functionality. In this work, we implemented and simulated CNNs on resistive crossbar circuits with consideration of parasitic resistances. Moreover, we carried out a new mapping scheme for high utilization of crossbar arrays on convolution, and a mitigation algorithm to mitigate parasitic resistances in CNN applications. The mitigation algorithm considers parasitic resistances as well as data/kernel patterns of each layer to minimize the computing error in crossbar-based convolutions of CNNs. We demonstrated the proposed methods with implementations of a 4-layer CNN on MNIST and ResNet(20, 32, and 56) on CIFAR-10. Simulation results show the proposed methods well mitigate the parasitic resistances in crossbars. With our methods, modern CNNs on crossbars can preserve ideal(software) level classification accuracy with 6-bit ADCs and DACs implementation.

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

↑