Improving Robustness of Neural Networks against Bit Flipping Errors during Inference
Improving Robustness of Neural Networks against Bit Flipping Errors during Inference
复制标题
提高神经网络在推理过程中抵抗位翻转错误的鲁棒性
DOI:
10.18178/joig.6.2.181-186
复制
发表时间:
2018
影响因子:
--
通讯作者:
D. Vučinić
中科院分区:
文献类型:
--
作者:
Minghai Qin;San Jose California Usa Western Digital Coporation;Chao Sun;D. Vučinić
We study the trade-offs between prediction accuracy and storage redundancy of neural networks that are stored in noisy storage media. Parameters of a trained neural network are commonly stored as binary data and it is usually assumed that the data storage and retrieval are error-free. This assumption is based upon the common use of Error Correcting Codes (ECCs) that correct bit flips in storage media. However, ECCs incur capacity and power overhead (10% to 20%) and thus increase cost and reduce the effective bandwidth when retrieving trained parameters from storage during inference. We measured the robustness of several deep neural network architectures and datasets when bit flipping errors exist but ECCs are not used during inference. It is observed that more sophisticated architectures and datasets are generally more vulnerable to bit flipping errors. We propose a simple parameter error detection method, called weight nulling, that can universally improve the robustness from twice to several orders of magnitude depending on network architectures.