노이즈 인식 정규화를 통한 메모리 내 신경망의 견고한 처리
Robust Processing-In-Memory Neural Networks via Noise-Aware Normalization
Robust Processing-In-Memory Neural Networks via Noise-Aware Normalization
@misc{tsai2020robust,
title = {Robust Processing-In-Memory Neural Networks via Noise-Aware Normalization},
author = {Li-Huang Tsai and Shih-Chieh Chang and Yu-Ting Chen and Jia-Yu Pan and Wei Wei and Da-Cheng Juan},
year = {2020},
eprint = {2007.03230},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2007.03230}
}
Tsai, L.-H., Chang, S.-C., Chen, Y.-T., Pan, J.-Y., Wei, W., & Juan, D.-C. (2020). Robust Processing-In-Memory Neural Networks via Noise-Aware Normalization [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2007.03230
TSAI LH, CHANG SC, CHEN YT, et al. Robust Processing-In-Memory Neural Networks via Noise-Aware Normalization[EB/OL]. (2020-07-07)[2026-11-29]. https://arxiv.org/abs/2007.03230.
초록
메모리 내 처리 (PIM) 가속器等과 같은 아날로그 컴퓨팅 하드웨어는 신경망 연산 가속화를 위해 점차 더 많은 주목을 받고 있습니다. 그러나 PIM 가속기는 물리적 구성 요소의 내재적 노이즈로 인해 디지털 하드웨어와 동일한 성능을 달성하는 것이 어렵습니다. 기존 내재적 노이즈 완화 연구들은 노이즈 모델에 대한 사전 지식을 가정하고, 이에 따라 신경망을 재학습하는 것이 필요했습니다. 본 논문에서는 임의의 노이즈 설정에 대해 견고한 신경망 성능을 달성하기 위해 노이즈 무관 (noise-agnostic) 방법을 제안합니다. 우리의 핵심 통찰은 성능 저하가 노이즈에 의해 유발된 네트워크 활성화의 분포 이동 (distribution shifts) 에 기인한다는 것입니다. 이러한 이동을 적절히 추적하고 편향된 분포를 보정하기 위해, 아날로그 환경에 내재된 변분 노이즈 하의 활성화 분포를 정렬할 수 있는 "노이즈 인식 (noise-aware)" 배치 정규화 레이어를 제안합니다. 본 방법은 구현이 간단하며 다양한 노이즈 설정에 일반화되어 있고 모델 재학습이 불필요합니다. 컴퓨터 비전 분류, 객체 탐지, 의미 분할 등 여러 작업에서 실험을 수행했습니다. 결과는 본 방법의 효과성을 입증하며, 기존 방법보다 광범위한 노이즈 설정 하에서 더 견고한 성능을 달성함을 보여줍니다. 우리는 이 단순하면서도 일반적인 방법이 신경망용 아날로그 컴퓨팅 장치의 채택을 촉진할 수 있다고 믿습니다.
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.