arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.05876cs.LGcs.ARcs.NE
收藏

软误差对神经网络影响的统计建模

Statistical Modeling of Soft Error Influence on Neural Networks

University of Chinese Academy of Sciences(中国科学院大学);Peng Cheng Laboratory(鹏城实验室);Institute of High Performance Computing, A*STAR(新加坡科技研究局高性能计算研究所);North China Electric Power University(华北电力大学)

Haitong Huang, Xinghua Xue, Cheng Liu, Ying Wang, Tao Luo, Long Cheng, Huawei Li, Xiaowei Li

摘要:

大型超大规模集成电路中的软错误对计算和存储密集型神经网络(NN)处理造成了巨大的影响。了解软错误对NN的影响对于防止软错误以进行可靠的NN处理至关重要。以往的工作主要依靠故障模拟来分析软错误对神经网络处理的影响。它们是准确的,但通常特定于有限的错误配置和NN模型,因为仿真速度非常慢,特别是对于大型NN模型和数据集。由于软错误的影响会在大量神经元之间传播并积累,因此我们根据中心极限定理,提出了用正态分布模型来描述软错误引起的数据扰动对每个神经元的影响,并建立了一系列统计模型来分析软错误下神经网络模型的一般行为。统计模型不仅揭示了软错误和NN模型精度之间的相关性,而且还揭示了量化和结构等NN参数如何影响NN的可靠性。将所提出的模型与故障仿真进行了比较和全面的验证。此外,我们观察到的统计模型,特征的软错误的影响,也可以用来预测故障模拟结果在许多情况下,我们探索使用所提出的统计模型,以加快故障模拟的神经网络。根据我们的实验,加速故障模拟显示出几乎两个数量级的加速,与基线故障模拟相比,模拟精度损失可以忽略不计。

英文摘要:

Soft errors in large VLSI circuits pose dramatic influence on computing- and memory-intensive neural network (NN) processing. Understanding the influence of soft errors on NNs is critical to protect against soft errors for reliable NN processing. Prior work mainly rely on fault simulation to analyze the influence of soft errors on NN processing. They are accurate but usually specific to limited configurations of errors and NN models due to the prohibitively slow simulation speed especially for large NN models and datasets. With the observation that the influence of soft errors propagates across a large number of neurons and accumulates as well, we propose to characterize the soft error induced data disturbance on each neuron with normal distribution model according to central limit theorem and develop a series of statistical models to analyze the behavior of NN models under soft errors in general. The statistical models reveal not only the correlation between soft errors and NN model accuracy, but also how NN parameters such as quantization and architecture affect the reliability of NNs. The proposed models are compared with fault simulation and verified comprehensively. In addition, we observe that the statistical models that characterize the soft error influence can also be utilized to predict fault simulation results in many cases and we explore the use of the proposed statistical models to accelerate fault simulations of NNs. According to our experiments, the accelerated fault simulation shows almost two orders of magnitude speedup with negligible simulation accuracy loss over the baseline fault simulations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑