模拟内存计算推理引擎的准确性和弹性
Accuracy and Resiliency of Analog Compute-in-Memory Inference Engines
摘要:
最近,基于新兴的模拟非易失性存储器(NVM)技术的模拟存储器中计算(CIM)架构已经被探索用于深度神经网络(DNN)以提高能量效率。然而,这样的架构利用电荷守恒,具有无限分辨率的操作,因此容易出错。因此,由模拟NVM实现的DNN中的计算由于设备随机性而具有高不确定性。几份报告已经证明了在有限的规模内使用模拟NVM进行CIM。目前还不清楚计算中的不确定性是否会禁止大规模DNN。为了探索这个关键问题的可扩展性,本文首先提出了一个模拟框架,以评估基于CIM架构和模拟NVM的大规模DNN的可行性。仿真结果表明,为高精度数字计算引擎训练的DNN对模拟NVM设备的不确定性没有弹性。为了避免这种灾难性的故障,本文引入了DNN的模拟浮点表示,以及Hessian-Aware Stochastic Gradient Descent(HA-SGD)训练算法,以提高训练DNN的推理精度。由于这种增强,DNN(如用于CIFAR-100图像识别问题的Wide ResNets)被证明在准确性方面具有显着的性能改进,而不会增加推理硬件的成本。
英文摘要:
Recently, analog compute-in-memory (CIM) architectures based on emerging analog non-volatile memory (NVM) technologies have been explored for deep neural networks (DNN) to improve energy efficiency. Such architectures, however, leverage charge conservation, an operation with infinite resolution, and thus are susceptible to errors. The computations in DNN realized by analog NVM thus have high uncertainty due to the device stochasticity. Several reports have demonstrated the use of analog NVM for CIM in a limited scale. It is unclear whether the uncertainties in computations will prohibit large-scale DNNs. To explore this critical issue of scalability, this paper first presents a simulation framework to evaluate the feasibility of large-scale DNNs based on CIM architecture and analog NVM. Simulation results show that DNNs trained for high-precision digital computing engines are not resilient against the uncertainty of the analog NVM devices. To avoid such catastrophic failures, this paper introduces the analog floating-point representation for the DNN, and the Hessian-Aware Stochastic Gradient Descent (HA-SGD) training algorithm to enhance the inference accuracy of trained DNNs. As a result of such enhancements, DNNs such as Wide ResNets for the CIFAR-100 image recognition problem are demonstrated to have significant performance improvements in accuracy without adding cost to the inference hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。