面向安全关键系统的基于存内计算的神经网络加速器:最坏情况场景与保护方法
Compute-in-Memory based Neural Network Accelerators for Safety-Critical Systems: Worst-Case Scenarios and Protections
AI总结:
该研究针对存内计算DNN加速器受NVM器件变化影响的最坏情况性能问题,提出A-TRICE最坏情况感知训练方法,将最坏情况准确率最高提升33%。
摘要:
新兴的基于非易失性存储器(NVM)的存内计算(CiM)架构凭借其出色的能效,在加速深度神经网络(DNN)方面展现出巨大前景。然而,NVM器件容易受到器件变化的影响。因此,映射到NVM器件上的实际DNN权重可能与其目标值存在显著差异,从而导致明显的性能下降。许多现有解决方案旨在在器件变化中优化平均性能,这一策略适用于通用场景。但是,对安全关键应用至关重要的最坏情况性能在当前研究中基本被忽视。在本研究中,我们定义了精确定位受器件变化影响的CiM DNN加速器最坏情况性能的问题。此外,我们提出一种策略,用于在复杂、高维的数值偏差空间中识别导致这种最坏情况结果的特定器件数值偏差模式。研究结果表明,即使是细微的器件变化也可能导致DNN准确率急剧下降,从而给基于CiM的平台支持安全关键应用带来风险。值得注意的是,我们观察到,当前用于提升CiM加速器中DNN平均性能的技术在改善最坏情况场景方面存在不足。针对这一问题,我们提出一种名为A-TRICE的新型最坏情况感知训练技术,该技术有效地将对抗训练与使用右删失高斯噪声的噪声注入训练相结合,以提升最坏情况场景下的DNN准确率。实验结果表明,A-TRICE可将器件变化下的最坏情况准确率提高至多33%。
英文摘要:
Emerging non-volatile memory (NVM)-based Computing-in-Memory (CiM) architectures show substantial promise in accelerating deep neural networks (DNNs) due to their exceptional energy efficiency. However, NVM devices are prone to device variations. Consequently, the actual DNN weights mapped to NVM devices can differ considerably from their targeted values, inducing significant performance degradation. Many existing solutions aim to optimize average performance amidst device variations, which is a suitable strategy for general-purpose conditions. However, the worst-case performance that is crucial for safety-critical applications is largely overlooked in current research. In this study, we define the problem of pinpointing the worst-case performance of CiM DNN accelerators affected by device variations. Additionally, we introduce a strategy to identify a specific pattern of the device value deviations in the complex, high-dimensional value deviation space, responsible for this worst-case outcome. Our findings reveal that even subtle device variations can precipitate a dramatic decline in DNN accuracy, posing risks for CiM-based platforms in supporting safety-critical applications. Notably, we observe that prevailing techniques to bolster average DNN performance in CiM accelerators fall short in enhancing worst-case scenarios. In light of this issue, we propose a novel worst-case-aware training technique named A-TRICE that efficiently combines adversarial training and noise-injection training with right-censored Gaussian noise to improve the DNN accuracy in the worst-case scenarios. Our experimental results demonstrate that A-TRICE improves the worst-case accuracy under device variations by up to 33%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。