mlsanityData to 14 Oct 2026

Large-Scale Application of Fault Injection into PyTorch Models -- an Extension to PyTorchFI for Validation Efficiency

arXiv 2310.19449 ↗First posted 30 Oct 2023cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Transient or permanent faults in hardware can render the output of Neural Networks (NN) incorrect without user-specific traces of the error, i.e. silent data errors (SDE). On the other hand, modern NNs also possess an inherent redundancy that can tolerate specific faults. To establish a safety case, it is necessary to distinguish and quantify both types of corruptions. To study the effects of hardware (HW) faults on software (SW) in general and NN models in particular, several fault injection (FI) methods have been established in recent years. Current FI methods focus on the methodology of injecting faults but often fall short of accounting for large-scale FI tests, where many fault locations based on a particular fault model need to be analyzed in a short time. Results need to be concise, repeatable, and comparable. To address these requirements and enable fault injection as the default component in a machine learning development cycle, we introduce a novel fault injection framework called PyTorchALFI (Application Level Fault Injection for PyTorch) based on PyTorchFI. PyTorchALFI provides an efficient way to define randomly generated and reusable sets of faults to inject into PyTorch models, defines complex test scenarios, enhances data sets, and generates test KPIs while tightly coupling fault-free, faulty, and modified NN. In this paper, we provide details about the definition of test scenarios, software architecture, and several examples of how to use the new framework to apply iterative changes in fault location and number, compare different model modifications, and analyze test results.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 2 of its 25 references that are in the map. First posted on arXiv 30 Oct 2023.

Builds on

2 of 25 references.

References · 2

  1. 2021Towards a Safety Case for Hardware Fault Tolerance in Convolutional Neural Networks Using Activation Range Supervisioncited by 7
  2. 2022Hardware faults that matter: Understanding and Estimating the safety impact of hardware faults on object detection DNNscited by 7

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.