SpikeFI: A Fault Injection Framework for Spiking Neural Networks

Theofilos Spyrou, Said Hamdioui, Haralampos-G. Stratigopoulos
11/22/2024
cs.NEcs.AI

No official code found. Best implementation: SpikeFI/SpikeFI (10 stars, GPL-3.0, last commit 2026-03-20).

Abstract

Neuromorphic computing and spiking neural networks (SNNs) are gaining traction across various artificial intelligence (AI) tasks thanks to their potential for efficient energy usage and faster computation speed. This comparative advantage comes from mimicking the structure, function, and efficiency of the biological brain, which arguably is the most brilliant and green computing machine. As SNNs are eventually deployed on a hardware processor, the reliability of the application in light of hardware-level faults becomes a concern, especially for safety- and mission-critical applications. In this work, we propose SpikeFI, a fault injection framework for SNNs that can be used for automating the reliability analysis and test generation. SpikeFI is built upon the SLAYER PyTorch framework with fault injection experiments accelerated on a single or multiple GPUs. It has a comprehensive integrated neuron and synapse fault model library, in accordance to the literature in the domain, which is extendable by the user if needed. It supports: single and multiple faults; permanent and transient faults; specified, random layer-wise, and random network-wise fault locations; and pre-, during, and post-training fault injection. It also offers several optimization speedups and built-in functions for results visualization. SpikeFI is open-source and available for download via GitHub at https://github.com/SpikeFI.

View on arXivView PDF

Code Implementations(1)

SpikeFI/SpikeFICommunity79%
GPL-3.0

A fault injection framework for spiking neural networks

102PythonMar 7, 20237 months agoGPL-3.0

Similar Papers

Cite this paper

@article{spyrou2024spikefi,
  title  = {SpikeFI: A Fault Injection Framework for Spiking Neural Networks},
  author = {Theofilos Spyrou and Said Hamdioui and Haralampos-G. Stratigopoulos},
  year   = {2024},
  eprint = {2412.06795},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.06795v1}
}

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

Discussion