arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.14917cs.ARcs.LG
收藏

CorrectNet:基于误差抑制和补偿的神经网络模拟存内计算鲁棒性增强

CorrectNet: Robustness Enhancement of Analog In-Memory Computing for Neural Networks by Error Suppression and Compensation

Technical University of Munich(慕尼黑工业大学);TU Darmstadt(达姆施塔特工业大学);Huawei Munich Research Center(华为慕尼黑研究中心)

Amro Eldebiky, Grace Li Zhang, Georg Boecherer, Bing Li, Ulf Schlichtmann

摘要:

近十年来,深度神经网络(DNN)在许多领域取得了突破性进展。随着DNN深度的增加,需要执行数亿次乘法累加(MAC)操作。为了有效地加速这样的操作,基于新兴设备的模拟存内计算平台,电阻式RAM(RRAM)。这些加速平台依赖于器件的模拟特性,因此会受到工艺变化和噪声的影响。因此,配置到这些平台中的神经网络中的权重可能偏离预期值,这可能导致特征错误和推理准确性的显著降低。为了解决这个问题,在本文中,我们提出了一个框架,以提高神经网络的变化和噪声下的鲁棒性。首先,在神经网络训练过程中,提出了一种改进的Lipschitz常数正则化方法,以抑制通过网络层传播的误差的放大。然后,在强化学习确定的必要位置引入误差补偿,以挽救具有剩余误差的特征图。实验结果表明,神经网络的推理精度可以从低至1.69%的变化和噪声恢复到其原始精度的95%以上,而训练和硬件成本可以忽略不计。

英文摘要:

The last decade has witnessed the breakthrough of deep neural networks (DNNs) in many fields. With the increasing depth of DNNs, hundreds of millions of multiply-and-accumulate (MAC) operations need to be executed. To accelerate such operations efficiently, analog in-memory computing platforms based on emerging devices, e.g., resistive RAM (RRAM), have been introduced. These acceleration platforms rely on analog properties of the devices and thus suffer from process variations and noise. Consequently, weights in neural networks configured into these platforms can deviate from the expected values, which may lead to feature errors and a significant degradation of inference accuracy. To address this issue, in this paper, we propose a framework to enhance the robustness of neural networks under variations and noise. First, a modified Lipschitz constant regularization is proposed during neural network training to suppress the amplification of errors propagated through network layers. Afterwards, error compensation is introduced at necessary locations determined by reinforcement learning to rescue the feature maps with remaining errors. Experimental results demonstrate that inference accuracy of neural networks can be recovered from as low as 1.69% under variations and noise back to more than 95% of their original accuracy, while the training and hardware cost are negligible.

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

↑