神经网络对存储介质错误的鲁棒性
Robustness of Neural Networks against Storage Media Errors
摘要:
我们研究了存储在噪声介质中的神经网络的存储/带宽和预测精度之间的权衡。常规地,假设所有参数(例如,权重和偏置)被存储为二进制阵列并且是无误差的。该假设基于纠错码(ECC)的实现,纠错码(ECC)纠正存储介质中的潜在位翻转。然而,ECC增加了存储开销,并在推理期间加载训练参数时导致带宽减少。我们研究了当存在比特错误但针对不同的神经网络模型和数据集关闭ECC时,深度神经网络的鲁棒性。据观察,更复杂的模型和数据集更容易受到训练参数错误的影响。我们提出了一个简单的检测方法,可以普遍提高鲁棒性,在某些情况下,可以提高数量级。我们还提出了一种替代的二进制表示的参数,使位翻转所带来的失真减少,甚至理论上消失时,表示一个参数的位数增加。
英文摘要:
We study the trade-offs between storage/bandwidth and prediction accuracy of neural networks that are stored in noisy media. Conventionally, it is assumed that all parameters (e.g., weight and biases) of a trained neural network are stored as binary arrays and are error-free. This assumption is based upon the implementation of error correction codes (ECCs) that correct potential bit flips in storage media. However, ECCs add storage overhead and cause bandwidth reduction when loading the trained parameters during the inference. We study the robustness of deep neural networks when bit errors exist but ECCs are turned off for different neural network models and datasets. It is observed that more sophisticated models and datasets are more vulnerable to errors in their trained parameters. We propose a simple detection approach that can universally improve the robustness, which in some cases can be improved by orders of magnitude. We also propose an alternative binary representation of the parameters such that the distortion brought by bit flips is reduced and even theoretically vanishing when the number of bits to represent a parameter increases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。