MRFI: An Open Source Multi-Resolution Fault Injection Framework for Neural Network Processing

Haitong Huang, Cheng Liu, Bo Liu, Xinghua Xue, Huawei Li +1 more
6/20/2023
cs.LGcs.AIcs.AR

No official code found. Best implementation: fffasttime/MRFI (21 stars, MIT, last commit 2025-04-14).

Abstract

To ensure resilient neural network processing on even unreliable hardware, comprehensive reliability analysis against various hardware faults is generally required before the deep neural network models are deployed, and efficient error injection tools are highly demanded. However, most existing fault injection tools remain rather limited to basic fault injection to neurons and fail to provide fine-grained vulnerability analysis capability. In addition, many of the fault injection tools still need to change the neural network models and make the fault injection closely coupled with normal neural network processing, which further complicates the use of the fault injection tools and slows down the fault simulation. In this work, we propose MRFI, a highly configurable multi-resolution fault injection tool for deep neural networks. It enables users to modify an independent fault configuration file rather than neural network models for the fault injection and vulnerability analysis. Particularly, it integrates extensive fault analysis functionalities from different perspectives and enables multi-resolution investigation of the vulnerability of neural networks. In addition, it does not modify the major neural network computing framework of PyTorch. Hence, it allows parallel processing on GPUs naturally and exhibits fast fault simulation according to our experiments.

View on arXivView PDF

Code Implementations(1)

fffasttime/MRFICommunity100%
MIT
213Python, Jupyter NotebookMar 3, 20231 years agoMIT

Similar Papers

Cite this paper

@article{huang2023mrfi,
  title  = {MRFI: An Open Source Multi-Resolution Fault Injection Framework for Neural Network Processing},
  author = {Haitong Huang and Cheng Liu and Bo Liu and Xinghua Xue and Huawei Li and Xiaowei Li},
  year   = {2023},
  eprint = {2306.11758},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.11758v2}
}

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/2306.11758.svg)](https://codeofpaper.com/paper/2306.11758)

Discussion