Harden Deep Neural Networks Against Fault Injections Through Weight Scaling
Kyushu Institute of Technology(九州工业大学);Graduate School of Life Science and Systems(生命科学与系统研究生院);Research Center for Neuromorphic AI Hardware(神经形态人工智能硬件研究中心)
Deep neural networks (DNNs) have enabled smart applications on hardware devices. However, these hardware devices are vulnerable to unintended faults caused by aging, temperature variance, and write errors. These faults can cause bit-flips in DNN weights and significantly degrade the performance of DNNs. Thus, protection against these faults is crucial for the deployment of DNNs in critical applications. Previous works have proposed error correction codes based methods, however these methods often require high overheads in both memory and computation. In this paper, we propose a simple yet effective method to harden DNN weights by multiplying weights by constants before storing them to fault-prone medium. When used, these weights are divided back by the same constants to restore the original scale. Our method is based on the observation that errors from bit-flips have properties similar to additive noise, therefore by dividing by constants can reduce the absolute error from bit-flips. To demonstrate our method, we conduct experiments across four ImageNet 2012 pre-trained models along with three different data types: 32-bit floating point, 16-bit floating point, and 8-bit fixed point. This method demonstrates that by only multiplying weights with constants, Top-1 Accuracy of 8-bit fixed point ResNet50 is improved by 54.418 at bit-error rate of 0.0001.
MRFI: An Open Source Multi-Resolution Fault Injection Framework for Neural Network Processing
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing Institute of Control Engineering(北京控制工程研究所)
Enhancing Neural Network Robustness Against Fault Injection Through Non-linear Weight Transformations
Kyushu Institute of Technology(九州工业大学);Graduate School of Life Science and Systems(生命科学与系统研究生院);Research Center for Neuromorphic AI Hardware(神经形态AI硬件研究中心)
enpheeph: A Fault Injection Framework for Spiking and Compressed Deep Neural Networks
Technische Universität Wien(维也纳工业大学);New York University Abu Dhabi(纽约大学阿布扎比分校)
对深度神经网络(DNN)的研究集中在提高现实世界部署的性能和准确性,从而产生了新的模型,例如脉冲神经网络(SNN)和优化技术,例如,压缩网络的量化和修剪。然而,这些创新模型和优化技术的部署引入了可能的可靠性问题,这是DNN在安全关键应用中广泛使用的支柱,例如,自动驾驶此外,扩展技术节点具有同时发生多个故障的相关风险,这种可能性在最先进的弹性分析中没有得到解决。为了更好地分析DNN的可靠性,我们提出了enpheeph,一个用于尖峰和压缩DNN的故障注入框架。enpheeph框架能够在专用硬件设备上优化执行,例如,GPU,同时提供完整的可定制性来研究不同的故障模型,模拟各种可靠性约束和用例。因此,可以在SNN以及压缩网络上执行故障,对底层代码进行最小到零的修改,这是其他最先进的工具无法实现的。为了评估我们的enpheeph框架,我们分析了不同DNN和SNN模型的弹性,以及不同的压缩技术。通过注入随机和增加数量的故障,我们表明DNN可以显示出准确性的降低,每个参数的故障率低至7 x 10 ^(-7)个故障,准确性下降超过40%。执行enpheeph时的运行时开销小于并发执行100000个错误时的基线执行时间的20%,至少比最先进的框架低10倍,使enpheeph在复杂的错误注入场景中经得起未来的考验。我们在https://github.com/Alexei95/enpheeph上发布en…
Characterizing the Fault Response of the Intel Neural Compute Stick 2 Under Single-Pulse Electromagnetic Fault Injection
Faculty of Informatics and Information Technologies, Slovak University of Technology(信息与信息技术学院,斯洛伐克技术大学);State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);TTControl GmbH
SNIFF: Reverse Engineering of Neural Networks with Fault Attacks
Silicon Austria Labs(奥地利硅实验室);Graz University of Technology(格拉茨技术大学);Nanyang Technological University(南洋理工大学);Slovak University of Technology(斯洛伐克技术大学)