TensorFI: A Flexible Fault Injection Framework for TensorFlow Applications

Zitao Chen, Niranjhana Narayanan, Bo Fang, Guanpeng Li, Karthik Pattabiraman +1 more
4/3/2020
cs.DCcs.CVcs.LG

Official code: DependableSystemsLab/TensorFI (62 stars, Python, MIT, TensorFlow, last commit 2021-05-22).

Abstract

As machine learning (ML) has seen increasing adoption in safety-critical domains (e.g., autonomous vehicles), the reliability of ML systems has also grown in importance. While prior studies have proposed techniques to enable efficient error-resilience techniques (e.g., selective instruction duplication), a fundamental requirement for realizing these techniques is a detailed understanding of the application's resilience.

Show full abstract

In this work, we present TensorFI, a high-level fault injection (FI) framework for TensorFlow-based applications. TensorFI is able to inject both hardware and software faults in general TensorFlow programs. TensorFI is a configurable FI tool that is flexible, easy to use, and portable. It can be integrated into existing TensorFlow programs to assess their resilience for different fault types (e.g., faults in particular operators). We use TensorFI to evaluate the resilience of 12 ML programs, including DNNs used in the autonomous vehicle domain. Our tool is publicly available at https://github.com/DependableSystemsLab/TensorFI.

View on arXivView PDF

Code Implementations(1)

TensorFlowMIT

TensorFI is a fault injection framework for injecting both hardware and software faults into applications written using the TensorFlow framework. You can find more information about TensorFI in the paper below.

6224Python, ShellAug 28, 20185 years agoMIT
faultinjectionlearningmachinetensorflow

Similar Papers

Cite this paper

@article{chen2020tensorfi,
  title  = {TensorFI: A Flexible Fault Injection Framework for TensorFlow Applications},
  author = {Zitao Chen and Niranjhana Narayanan and Bo Fang and Guanpeng Li and Karthik Pattabiraman and Nathan DeBardeleben},
  year   = {2020},
  eprint = {2004.01743},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.01743}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.01743.svg)](https://codeofpaper.com/paper/2004.01743)

Discussion