Skip to main content
QUICK REVIEW

[Paper Review] Noisy Machines: Understanding Noisy Neural Networks and Enhancing Robustness to Analog Hardware Errors Using Distillation

Chuteng Zhou, Prad Kadambi|arXiv (Cornell University)|Jan 14, 2020
Neural Networks and Reservoir ComputingComputer Science38 references26 citations
TL;DR

This paper proposes training deep neural networks with knowledge distillation and noise injection to enhance robustness to analog hardware noise, achieving nearly double the noise tolerance compared to prior methods—demonstrated on ImageNet and multiple architectures—enabling practical deployment on energy-efficient analog accelerators.

ABSTRACT

The success of deep learning has brought forth a wave of interest in computer hardware design to better meet the high demands of neural network inference. In particular, analog computing hardware has been heavily motivated specifically for accelerating neural networks, based on either electronic, optical or photonic devices, which may well achieve lower power consumption than conventional digital electronics. However, these proposed analog accelerators suffer from the intrinsic noise generated by their physical components, which makes it challenging to achieve high accuracy on deep neural networks. Hence, for successful deployment on analog accelerators, it is essential to be able to train deep neural networks to be robust to random continuous noise in the network weights, which is a somewhat new challenge in machine learning. In this paper, we advance the understanding of noisy neural networks. We outline how a noisy neural network has reduced learning capacity as a result of loss of mutual information between its input and output. To combat this, we propose using knowledge distillation combined with noise injection during training to achieve more noise robust networks, which is demonstrated experimentally across different networks and datasets, including ImageNet. Our method achieves models with as much as two times greater noise tolerance compared with the previous best attempts, which is a significant step towards making analog hardware practical for deep learning.

Motivation & Objective

  • Address the challenge of reduced inference accuracy in analog neural network accelerators due to inherent hardware noise.
  • Understand how noise degrades model capacity by reducing mutual information between input and output.
  • Develop a training methodology that improves robustness without altering model architecture or inference hardware.
  • Demonstrate state-of-the-art noise tolerance across diverse models and datasets, including ImageNet.
  • Enable practical deployment of analog accelerators by relaxing hardware precision requirements through software-level robustness.

Proposed method

  • Train a student neural network using knowledge distillation from a pre-trained teacher model to transfer robustness.
  • Inject Gaussian noise into network weights during the forward pass of training to simulate analog hardware imperfections.
  • Use a temperature scaling parameter $ T $ in the soft label cross-entropy loss to stabilize training and reduce sensitivity to weight perturbations.
  • Apply distillation with temperature $ T=6 $ and noise injection level $ \eta $ to train models resilient to continuous, random weight noise.
  • Optimize the student model using standard backpropagation with noise-injected weights, while preserving the teacher’s output distribution.
  • Evaluate robustness under increasing noise levels $ \eta \in \{0, 0.02, 0.04, 0.06\} $ across multiple inference runs.

Experimental results

Research questions

  • RQ1How does noise in analog hardware affect the learning capacity and inference accuracy of deep neural networks?
  • RQ2To what extent can knowledge distillation improve robustness to continuous weight noise in neural networks?
  • RQ3Can noise injection during training effectively simulate and prepare models for real analog hardware noise?
  • RQ4How does the combination of distillation and noise injection compare to baseline training in terms of noise tolerance?
  • RQ5What is the maximum noise tolerance achievable with the proposed method on standard benchmarks like ImageNet?

Key findings

  • The proposed method achieves up to ~2× greater noise tolerance compared to previous best approaches, significantly improving robustness.
  • On ResNet-50 with ImageNet, the distillation and noise injection method maintained 67.525% Top-1 accuracy at $ \eta = 0.06 $, compared to 46.284% for non-regularized training.
  • At $ \eta = 0.04 $, the method achieved 71.442% Top-1 accuracy, outperforming the baseline of 64.382%.
  • The accuracy gain from distillation and noise injection increases with higher noise levels, indicating stronger regularization benefits under stress.
  • The method consistently improved robustness across multiple independent training and inference runs, with low standard deviation (e.g., ±0.162% at $ \eta = 0.06 $).
  • The approach enables higher noise tolerance without architectural changes, suggesting relaxed hardware specifications for analog accelerators.

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.