SpikeFI: A Fault Injection Framework for Spiking Neural Networks

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Spyrou, Theofilos, Hamdioui, Said, Stratigopoulos, Haralampos-G.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917863566082048
author Spyrou, Theofilos
Hamdioui, Said
Stratigopoulos, Haralampos-G.
author_facet Spyrou, Theofilos
Hamdioui, Said
Stratigopoulos, Haralampos-G.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_06795
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SpikeFI: A Fault Injection Framework for Spiking Neural Networks
Spyrou, Theofilos
Hamdioui, Said
Stratigopoulos, Haralampos-G.
Neural and Evolutionary Computing
Artificial Intelligence
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.
title SpikeFI: A Fault Injection Framework for Spiking Neural Networks
topic Neural and Evolutionary Computing
Artificial Intelligence
url https://arxiv.org/abs/2412.06795