通过使用右截断高斯噪声训练来提升 NVCiM DNN 加速器的现实最坏情况性能
Improving Realistic Worst-Case Performance of NVCiM DNN Accelerators through Training with Right-Censored Gaussian Noise
AI总结:
针对非易失性存内计算加速器在器件变异下的最坏情况性能恶化问题,提出使用第k百分位性能作为评估指标,并在训练中注入右截断高斯噪声以自动优化超参数,使该性能较现有方法提升达26%。
摘要:
基于非易失性存储器(NVM)器件构建的存内计算(CiM),因其原位数据处理能力和卓越的能效,在加速深度神经网络(DNN)方面极具前景。遗憾的是,训练好的模型参数在被映射到 NVM 器件后,由于器件变异,通常会表现出与预期值的巨大偏差,导致这些基于 CiM 的 DNN 加速器出现显著的性能下降。已有大量解决方案来应对此问题。然而,它们主要侧重于提升 CiM DNN 加速器的平均性能。如何在器件变异的影响下保证最坏情况性能(这对于自动驾驶汽车等许多安全关键型应用至关重要),却鲜有探讨。在本工作中,我们提出使用第 k 百分位性能(KPP)来衡量在 CiM 加速器上执行的 DNN 模型的现实最坏情况性能。通过对 KPP 特性和基于噪声注入的 DNN 训练进行形式化分析,我们证明,与常规高斯噪声相比,注入一种新颖的右截断高斯噪声能显著提升 DNN 的 KPP。我们进一步提出了一种自动化方法,用于在训练过程中确定注入此右截断高斯噪声的最优超参数。与用于增强器件变异影响下 DNN 鲁棒性的最先进方法相比,我们的方法在 KPP 上实现了高达 26% 的提升。
英文摘要:
Compute-in-Memory (CiM), built upon non-volatile memory (NVM) devices, is promising for accelerating deep neural networks (DNNs) owing to its in-situ data processing capability and superior energy efficiency. Unfortunately, the well-trained model parameters, after being mapped to NVM devices, can often exhibit large deviations from their intended values due to device variations, resulting in notable performance degradation in these CiM-based DNN accelerators. There exists a long list of solutions to address this issue. However, they mainly focus on improving the mean performance of CiM DNN accelerators. How to guarantee the worst-case performance under the impact of device variations, which is crucial for many safety-critical applications such as self-driving cars, has been far less explored. In this work, we propose to use the k-th percentile performance (KPP) to capture the realistic worst-case performance of DNN models executing on CiM accelerators. Through a formal analysis of the properties of KPP and the noise injection-based DNN training, we demonstrate that injecting a novel right-censored Gaussian noise, as opposed to the conventional Gaussian noise, significantly improves the KPP of DNNs. We further propose an automated method to determine the optimal hyperparameters for injecting this right-censored Gaussian noise during the training process. Our method achieves up to a 26% improvement in KPP compared to the state-of-the-art methods employed to enhance DNN robustness under the impact of device variations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。