Repair Brain Damage: Real-Numbered Error Correction Code for Neural Network
Ziqing Li, Myung Cho, Qiutong Jin, Weiyu Xu
TL;DR
This work tackles neural network robustness to internal faults by introducing a real-numbered error correction code that imposes linear constraints on both layer weights and outputs. It develops a linear programming-based detection and recovery scheme that can identify and correct memory and datapath errors with minimal overhead, employing a projection-based method to enforce constraints without adding trainable parameters. Empirical results on MNIST and CIFAR-10 show the approach corrects a substantial fraction of sparse weight and computation errors (up to around 210 corrupted parameters out of thousands) while preserving baseline accuracy. The proposed method offers a scalable, parameter-efficient path toward reliable DNNs suitable for safety-critical applications and hardware where memory and computation may be unreliable.
Abstract
We consider a neural network (NN) that may experience memory faults and computational errors. In this paper, we propose a novel real-number-based error correction code (ECC) capable of detecting and correcting both memory errors and computational errors. The proposed approach introduces structures in the form of real-number-based linear constraints on the NN weights to enable error detection and correction, without sacrificing classification performance or increasing the number of real-valued NN parameters.
