arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.14561cs.LGcs.AIcs.AR
收藏

NeFT:通过负反馈训练提升存内计算DNN加速器的鲁棒性

NeFT: Negative Feedback Training to Improve Robustness of Compute-In-Memory DNN Accelerators

Department of Computer Science and Engineering, University of Notre Dame(计算机科学与工程系,诺特大学);Department of Applied and Computational Mathematics and Statistics, University of Notre Dame(应用与计算数学与统计系,诺特大学);Department of Computer Science, North Carolina State University(计算机科学系,北卡罗来纳州立大学)

Yifan Qin, Zheyu Yan, Dailin Gan, Jun Xia, Zixuan Pan, Wujie Wen, Xiaobo Sharon Hu, Yiyu Shi

AI总结:

本文提出受控制理论启发的负反馈训练框架NeFT,通过OVF和IRS两个实例捕获多尺度噪声信息,在存内计算DNN加速器中实现最高45.08%的推理精度提升,并降低不确定性、提高置信度和收敛概率。

摘要:

基于非易失性存储器件构建的存内计算加速器,凭借其原位数据处理能力,在执行深度神经网络(DNN)推理时具有出色的能效和低延迟优势。然而,非易失性存储器件的随机性和固有变异往往会导致DNN推理性能下降。在DNN训练中引入这些非理想器件行为可以增强鲁棒性,但其缺点包括精度提升有限、预测置信度降低以及收敛问题。这一问题的根源在于确定性训练与非确定性器件变异之间的不匹配,因为此类训练虽然考虑了变异,却仅依赖于模型的最终输出。在本工作中,受控制理论启发,我们提出了负反馈训练(NeFT)这一新概念,并通过理论分析加以支撑,以更有效地捕获网络中多尺度的噪声信息。我们用两个具体实例来实例化这一概念,即面向变分的前向传播(OVF)和中间表示快照(IRS)。基于从实测数据中提取的器件变异模型,大量实验表明,我们的NeFT优于现有的最先进方法,推理精度最高提升45.08%,同时降低了认知不确定性,提升了输出置信度,并提高了收敛概率。这些结果凸显了我们的NeFT框架在增强DNN对器件变异的鲁棒性方面的通用性和实用性。这两个实例的源代码可在 https://github.com/YifanQin-ND/NeFT_CIM 获取。

英文摘要:

Compute-in-memory accelerators built upon non-volatile memory devices excel in energy efficiency and latency when performing deep neural network (DNN) inference, thanks to their in-situ data processing capability. However, the stochastic nature and intrinsic variations of non-volatile memory devices often result in performance degradation during DNN inference. Introducing these non-ideal device behaviors in DNN training enhances robustness, but drawbacks include limited accuracy improvement, reduced prediction confidence, and convergence issues. This arises from a mismatch between the deterministic training and non-deterministic device variations, as such training, though considering variations, relies solely on the model's final output. In this work, inspired by control theory, we propose Negative Feedback Training (NeFT), a novel concept supported by theoretical analysis, to more effectively capture the multi-scale noisy information throughout the network. We instantiate this concept with two specific instances, oriented variational forward (OVF) and intermediate representation snapshot (IRS). Based on device variation models extracted from measured data, extensive experiments show that our NeFT outperforms existing state-of-the-art methods with up to a 45.08% improvement in inference accuracy while reducing epistemic uncertainty, boosting output confidence, and improving convergence probability. These results underline the generality and practicality of our NeFT framework for increasing the robustness of DNNs against device variations. The source code for these two instances is available at https://github.com/YifanQin-ND/NeFT_CIM

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

↑