Skip to main content
QUICK REVIEW

[Paper Review] Robust Processing-In-Memory Neural Networks via Noise-Aware Normalization

Li-Huang Tsai, Shih-Chieh Chang|arXiv (Cornell University)|Jul 7, 2020
Advanced Memory and Neural ComputingEngineering27 references10 citations
TL;DR

This paper proposes Noise-Aware Batch Normalization (NaBN), a noise-agnostic method that calibrates batch normalization statistics to counteract distribution shifts in neural network activations caused by intrinsic noise in processing-in-memory (PIM) accelerators. By dynamically adjusting running mean and variance estimates during inference without retraining, NaBN achieves robust performance across diverse noise settings in image classification, object detection, and semantic segmentation tasks.

ABSTRACT

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.

Motivation & Objective

  • Address the performance degradation of deep neural networks on analog processing-in-memory (PIM) hardware due to intrinsic device noise.
  • Overcome the limitations of prior noise mitigation methods that require prior knowledge of noise characteristics or retraining for each noise profile.
  • Develop a general-purpose, low-overhead solution that maintains model accuracy under varying noise conditions without additional training.
  • Enable practical deployment of neural networks on PIM accelerators by stabilizing activation distributions under noisy analog computation.

Proposed method

  • Propose a noise-aware calibration of running mean and variance statistics in BatchNorm layers to correct for distribution shifts caused by analog noise.
  • Introduce dynamic calibration at inference time, where batch statistics are adjusted based on observed noise characteristics without requiring model fine-tuning.
  • Leverage the inherent normalization capability of BatchNorm but enhance it with noise-aware estimation to maintain accurate activation distributions.
  • Apply the method to standard deep learning models (ResNet, YOLO-v3, FCN-ResNet101) without architectural changes or retraining.
  • Use Kullback-Leibler and Jensen-Shannon divergences to quantify and validate the reduction in distribution shift between clean and noisy activations.
  • Implement the method as a lightweight layer modification, making it compatible with existing models and inference pipelines.

Experimental results

Research questions

  • RQ1How does intrinsic noise in PIM hardware cause performance degradation in neural network inference?
  • RQ2Can a noise-agnostic method be developed to maintain model robustness across varying noise levels without prior noise knowledge or retraining?
  • RQ3To what extent can noise-aware calibration of BatchNorm statistics reduce distribution shift in network activations under noisy analog computation?
  • RQ4How does the proposed method compare to noise injection training in terms of adaptability to unseen noise scales?
  • RQ5Can the method generalize across diverse computer vision tasks such as classification, object detection, and semantic segmentation under noisy PIM conditions?

Key findings

  • The proposed Noise-Aware BatchNorm (NaBN) method achieves significantly better robustness than standard BatchNorm and noise injection training under varying noise scales.
  • On COCO-2014 for object detection, YOLO-v3 with NaBN achieves 49.8% mAP under MUL-type noise (η₀=0.05), compared to 30.5% for the baseline, demonstrating a 19.3% absolute improvement.
  • For semantic segmentation on PASCAL VOC-2012, FCN-ResNet101 with NaBN reaches 80.6% mIoU under MUL-type noise (η₀=0.05), compared to 70.8% for the baseline, a 9.8% absolute gain.
  • The method maintains high performance across multiple noise types (MUL and ADD) and scales, outperforming noise injection training, which degrades sharply when noise deviates from the training scale.
  • NaBN enables dynamic calibration at inference time without retraining, making it adaptable to changing or unknown noise environments.
  • The method effectively reduces distribution divergence (measured via KL and JS divergence) between clean and noisy activations, confirming its ability to align shifted distributions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.