[Paper Review] Spiker+: a framework for the generation of efficient Spiking Neural Networks FPGA accelerators for inference at the edge
Spiker+ is a Python-configurable framework that generates FPGA-based, low-power, low-area SNN accelerators for edge inference, with MNIST and SHD benchmarks demonstrating competitive performance and high resource efficiency.
Including Artificial Neural Networks in embedded systems at the edge allows applications to exploit Artificial Intelligence capabilities directly within devices operating at the network periphery. This paper introduces Spiker+, a comprehensive framework for generating efficient, low-power, and low-area customized Spiking Neural Networks (SNN) accelerators on FPGA for inference at the edge. Spiker+ presents a configurable multi-layer hardware SNN, a library of highly efficient neuron architectures, and a design framework, enabling the development of complex neural network accelerators with few lines of Python code. Spiker+ is tested on two benchmark datasets, the MNIST and the Spiking Heidelberg Digits (SHD). On the MNIST, it demonstrates competitive performance compared to state-of-the-art SNN accelerators. It outperforms them in terms of resource allocation, with a requirement of 7,612 logic cells and 18 Block RAMs (BRAMs), which makes it fit in very small FPGA, and power consumption, draining only 180mW for a complete inference on an input image. The latency is comparable to the ones observed in the state-of-the-art, with 780us/img. To the authors' knowledge, Spiker+ is the first SNN accelerator tested on the SHD. In this case, the accelerator requires 18,268 logic cells and 51 BRAM, with an overall power consumption of 430mW and a latency of 54 us for a complete inference on input data. This underscores the significance of Spiker+ in the hardware-accelerated SNN landscape, making it an excellent solution to deploy configurable and tunable SNN architectures in resource and power-constrained edge applications.
Motivation & Objective
- Enable edge-ready inference of Spiking Neural Networks on FPGAs with low power and small area.
- Provide a fully configurable multi-layer SNN hardware architecture supporting FF-FC and FC-R topologies.
- Develop a Python-based framework to describe networks, train/quantize, and auto-generate VHDL for FPGA deployment.
- Demonstrate competitive MNIST performance and extend to SHD to show framework flexibility.
Proposed method
- Introduce a configurable multi-layer SNN architecture with FF-FC and FC-R topologies and various LIF neuron models.
- Develop a library of efficient neuron architectures optimizing area and power, including hard/subtractive reset options and exponential decay handling.
- Provide a Python-based netbuilder to describe networks, integrate with training frameworks (e.g., snntorch), and quantize parameters to fixed-point during deployment.
- Automatically generate VHDL from high-level Python descriptions to create FPGA-ready accelerators with an accompanying testbench.
- Evaluate on MNIST and SHD to compare resource usage, power, and latency against state-of-the-art SNN FPGA accelerators.
Experimental results
Research questions
- RQ1Can Spiker+ generate configurable, low-area, low-power SNN accelerators on FPGAs for edge inference?
- RQ2How does Spiker+ perform on standard SNN benchmarks (MNIST) versus newer datasets (SHD) in terms of resources, power, and latency?
- RQ3What architectural and neuron-model choices optimize hardware efficiency while preserving accuracy for edge SNN inference?
Key findings
- On MNIST, Spiker+ achieves competitive accuracy with very low resource usage (7,612 logic cells and 18 BRAMs) and power consumption around 180 mW for full inference of an image.
- Latency on MNIST is 780 μs per image, comparable to state-of-the-art SNN accelerators.
- On SHD, the accelerator uses 18,268 logic cells and 51 BRAMs with total power around 430 mW and 54 μs latency for a complete inference.
- Spiker+ is the first SNN accelerator demonstrated on SHD, highlighting framework flexibility for different problems.
- The framework enables hardware generation with a VHDL model for Xilinx FPGA boards and includes a testbench for simulation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.