TensorFI: A Configurable Fault Injector for TensorFlow Applications
Guanpeng (Justin) Li, UBC Karthik Pattabiraman, UBC Nathan DeBardeleben, LANL
1
TensorFI: A Configurable Fault Injector for TensorFlow Applications - - PowerPoint PPT Presentation
TensorFI: A Configurable Fault Injector for TensorFlow Applications Guanpeng (Justin) Li, UBC Karthik Pattabiraman, UBC Nathan DeBardeleben, LANL 1 Motivation Machine learning taking computing by storm Many frameworks developed for ML
1
2
3
Sign bit Fractional bits Binary Point
Source: Guanpeng Li et al., “Understanding Error Propagation in Deep learning Neural Networks (DNN) Accelerators and Applications”, SC 2017.
4
5
6
7
Instrumentation Phase Execution Phase
8
Const a Const b + * Placeholder Node x + *
faulty
9
Const a Const b + * Placeholder Node x + *
faulty Inject fault into ADD
10
11
Instrument code Calculate difference Launch injections in parallel Calculate statistics
12
13
14
Original image, no faults Fault injection prob. = 0.1 Fault injection prob. = 0.5 Fault injection prob. = 0.7 Fault injection prob. = 1.0 Reconstructed image (no faults)
https://github.com/DependableSystemsLab/TensorFI
15
16
17
18
19
Available at: https://github.com/DependableSystemsLab/TensorFI Questions ? karthikp@ece.ubc.ca
20