English

Functional Error Correction for Robust Neural Networks

Information Theory 2020-01-14 v1 Machine Learning math.IT

Abstract

When neural networks (NeuralNets) are implemented in hardware, their weights need to be stored in memory devices. As noise accumulates in the stored weights, the NeuralNet's performance will degrade. This paper studies how to use error correcting codes (ECCs) to protect the weights. Different from classic error correction in data storage, the optimization objective is to optimize the NeuralNet's performance after error correction, instead of minimizing the Uncorrectable Bit Error Rate in the protected bits. That is, by seeing the NeuralNet as a function of its input, the error correction scheme is function-oriented. A main challenge is that a deep NeuralNet often has millions to hundreds of millions of weights, causing a large redundancy overhead for ECCs, and the relationship between the weights and its NeuralNet's performance can be highly complex. To address the challenge, we propose a Selective Protection (SP) scheme, which chooses only a subset of important bits for ECC protection. To find such bits and achieve an optimized tradeoff between ECC's redundancy and NeuralNet's performance, we present an algorithm based on deep reinforcement learning. Experimental results verify that compared to the natural baseline scheme, the proposed algorithm achieves substantially better performance for the functional error correction task.

Keywords

Cite

@article{arxiv.2001.03814,
  title  = {Functional Error Correction for Robust Neural Networks},
  author = {Kunping Huang and Paul Siegel and Anxiao and Jiang},
  journal= {arXiv preprint arXiv:2001.03814},
  year   = {2020}
}

Comments

24 pages, 22 figures, submitted to JSAIT journal

R2 v1 2026-06-23T13:08:45.742Z