Algorithm-Based Fault Tolerance for Convolutional Neural Networks
Authors:
- Kai ZhaoKZKai Zhao
- Sheng DiSDSheng Di
- Sihuan LiSLSihuan Li
- Xin LiangXLXin Liang
- Yujia ZhaiYZYujia Zhai
- Jieyang ChenJCJieyang Chen
- Kaiming OuyangKOKaiming Ouyang
- Franck CappelloFCFranck Cappello
- Zizhong ChenZCZizhong Chen
Preprint
Abstract
Convolutional neural networks (CNNs) are becoming more and more important for solving challenging and critical problems in many fields. CNN inference applications have been deployed in safety-critical systems, which may suffer from soft errors caused by high-energy particles, high temperature, or abnormal voltage. Of critical importance is ensuring the stability of the CNN inference process against soft errors. Traditional fault tolerance methods are not suitable for CNN inference because error-correcting code is unable to protect computational components, instruction duplication techniques incur high overhead, and existing algorithm-based fault tolerance (ABFT) schemes cannot protect all convolution implementations. In this paper, we focus on how to protect the CNN inference process against soft errors as efficiently as possible, with the following three contributions. (1) We propose several systematic ABFT schemes based on checksum techniques and analyze their pros and cons thoroughly. Unlike traditional ABFT based on matrix-matrix multiplication, our schemes support any convolution implementations. (2) We design a novel workflow integrating all the proposed schemes to obtain a high detection/correction ability with limited total runtime overhead. (3) We perform our evaluation using ImageNet with well-known CNN models including AlexNet, VGG-19, ResNet-18, and YOLOv2. Experimental results demonstrate that our implementation can handle soft errors with very limited runtime overhead (4%~8% in both error-free and error-injected situations).Keywords
All Related Versions
This publication has 27 references indexed in Scilit:
- Uncertainty Estimation for Deep Neural Object Detectors in Safety-Critical Applications2018
- On the Resilience of RTL NN Accelerators: Fault Characterization and Mitigation2018
- Evaluation and Mitigation of Soft-Errors in Neural Network-Based Object Detection in Three GPU Architectures2017
- Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural NetworksIEEE Journal of Solid-State Circuits, 2016
- Minerva: Enabling Low-Power, Highly-Accurate Deep Neural Network Accelerators2016
- Fast Algorithms for Convolutional Neural Networks2016
- Online Algorithm-Based Fault Tolerance for Cholesky Decomposition on Heterogeneous Systems with GPUs2016
- A practical characterization of a NASA SpaceCube application through fault emulation and laser testing2013
- A versatile method of discrete convolution and FFT (DC-FFT) for contact analysesWear, 2000
- Artificial convolution neural network for medical image pattern recognitionNeural Networks, 1995