MemSE:基于噪声忆阻器的DNN加速器的快速MSE预测
MemSE: Fast MSE Prediction for Noisy Memristor-Based DNN Accelerators
摘要:
忆阻器使得能够在存储器中计算矩阵向量乘法(MVM),并且因此在高度提高深度神经网络(DNN)推理加速器的能量效率方面显示出巨大的潜力。然而,忆阻器中的计算受到硬件非理想性的影响,并且受到可能对系统性能产生负面影响的不同噪声源的影响。在这项工作中,我们从理论上分析了DNN的均方误差,使用忆阻器交叉杆计算MVM。我们考虑了量化噪声(由于需要减小DNN模型大小)和编程噪声(由于在编程忆阻值期间的可变性)。对预训练的DNN模型的模拟展示了分析预测的准确性。此外,所提出的方法是几乎两个数量级的速度比蒙特卡洛模拟,从而使它有可能优化的实施参数,以实现最小的误差为给定的功率约束。
英文摘要:
Memristors enable the computation of matrix-vector multiplications (MVM) in memory and, therefore, show great potential in highly increasing the energy efficiency of deep neural network (DNN) inference accelerators. However, computations in memristors suffer from hardware non-idealities and are subject to different sources of noise that may negatively impact system performance. In this work, we theoretically analyze the mean squared error of DNNs that use memristor crossbars to compute MVM. We take into account both the quantization noise, due to the necessity of reducing the DNN model size, and the programming noise, stemming from the variability during the programming of the memristance value. Simulations on pre-trained DNN models showcase the accuracy of the analytical prediction. Furthermore the proposed method is almost two order of magnitude faster than Monte-Carlo simulation, thus making it possible to optimize the implementation parameters to achieve minimal error for a given power constraint.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。