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

基于噪声感知归一化的鲁棒内存处理神经网络

Robust Processing-In-Memory Neural Networks via Noise-Aware Normalization

National Tsing-Hua University(国立清华大学);Google Research(谷歌研究院)

Li-Huang Tsai, Shih-Chieh Chang, Yu-Ting Chen, Jia-Yu Pan, Wei Wei, Da-Cheng Juan

摘要:

模拟计算硬件,如内存处理(PIM)加速器,已逐渐受到更多的关注,加速神经网络计算。然而,PIM加速器经常遭受物理组件中的固有噪声,使得神经网络模型难以实现与数字硬件相同的性能。以前的工作在减轻固有噪声假设的噪声模型的知识,并重新训练的神经网络相应地是必需的。在本文中,我们提出了一个噪声不可知的方法,以实现强大的神经网络性能对任何噪声设置。我们的关键观察是,性能的下降是由于网络激活的分布偏移,这是由噪声引起的。为了正确地跟踪偏移并校准有偏的分布,我们提出了一个“噪声感知”的批量归一化层,该层能够在模拟环境中固有的变化噪声下对齐激活的分布。我们的方法简单,易于实现,通用于各种噪声设置,并且不需要重新训练模型。我们在计算机视觉中的几个任务上进行了实验,包括分类,目标检测和语义分割。实验结果证明了该方法的有效性,在较宽的噪声范围内都能获得较好的鲁棒性,比现有方法更可靠。我们相信,我们的简单而通用的方法可以促进采用模拟计算设备的神经网络。

英文摘要:

Analog computing hardwares, such as Processing-in-memory (PIM) accelerators, have gradually received more attention for accelerating the neural network computations. However, PIM accelerators often suffer from intrinsic noise in the physical components, making it challenging for neural network models to achieve the same performance as on the digital hardware. Previous works in mitigating intrinsic noise assumed the knowledge of the noise model, and retraining the neural networks accordingly was required. In this paper, we propose a noise-agnostic method to achieve robust neural network performance against any noise setting. Our key observation is that the degradation of performance is due to the distribution shifts in network activations, which are caused by the noise. To properly track the shifts and calibrate the biased distributions, we propose a "noise-aware" batch normalization layer, which is able to align the distributions of the activations under variational noise inherent in the analog environments. Our method is simple, easy to implement, general to various noise settings, and does not need to retrain the models. We conduct experiments on several tasks in computer vision, including classification, object detection and semantic segmentation. The results demonstrate the effectiveness of our method, achieving robust performance under a wide range of noise settings, more reliable than existing methods. We believe that our simple yet general method can facilitate the adoption of analog computing devices for neural networks.

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

↑