Litcius/Paper detail

LLTFI: Framework Agnostic Fault Injection for Machine Learning Applications (Tools and Artifact Track)

Udit Kumar Agarwal, Abraham Chan, Karthik Pattabiraman

202218 citationsDOI

Abstract

As machine learning (ML) has become more preva-lent across many critical domains, so has the need to understand ML applications' resilience. While prior work like TensorFI [1], MindFI [2], and PyTorchFI [3] has focused on building ML fault injectors for specific ML frameworks, there has been little work on performing fault injection (FI) for ML applications written in multiple frameworks. We present LLTFI, a framework-agnostic fault injection tool for ML applications, allowing users to run FI experiments on ML applications at the LLVM IR level. LLTFI provides users with finer FI granularity at the level of instructions, and a better understanding of how faults manifest and propagate between different ML components. We evaluate LLTFI on six ML programs and compare it with TensorFI. We found significant differences in the Silent Data Corruption (SDC) rates for similar faults between the two tools. Finally, we use LLTFI to evaluate the efficacy of selective instruction duplication - an error mitigation technique - for ML programs.

Topics & Concepts

Fault injectionComputer scienceArtifact (error)Resilience (materials science)GranularityEmbedded systemFault (geology)Fault toleranceMachine learningArtificial intelligenceComputer engineeringDistributed computingOperating systemSoftwareGeologySeismologyThermodynamicsPhysicsRadiation Effects in ElectronicsAdversarial Robustness in Machine LearningParallel Computing and Optimization Techniques