[Paper Review] To Spike or Not to Spike? A Quantitative Comparison of SNN and CNN FPGA Implementations
This paper quantitatively compares SNN and CNN FPGA accelerators for image classification, proposing a novel spike encoding and memory organization to improve SNN energy efficiency. Results show that while SNNs offer little advantage over CNNs for MNIST, they significantly outperform CNNs in energy efficiency for complex benchmarks like SVHN and CIFAR-10 due to reduced MAC and FIFO power consumption.
Convolutional Neural Networks (CNNs) are widely employed to solve various problems, e.g., image classification. Due to their compute- and data-intensive nature, CNN accelerators have been developed as ASICs or on FPGAs. Increasing complexity of applications has caused resource costs and energy requirements of these accelerators to grow. Spiking Neural Networks (SNNs) are an emerging alternative to CNN implementations, promising higher resource and energy efficiency. The main research question addressed in this paper is whether SNN accelerators truly meet these expectations of reduced energy requirements compared to their CNN equivalents. For this purpose, we analyze multiple SNN hardware accelerators for FPGAs regarding performance and energy efficiency. We present a novel encoding scheme of spike event queues and a novel memory organization technique to improve SNN energy efficiency further. Both techniques have been integrated into a state-of-the-art SNN architecture and evaluated for MNIST, SVHN, and CIFAR-10 datasets and corresponding network architectures on two differently sized modern FPGA platforms. For small-scale benchmarks such as MNIST, SNN designs provide rather no or little latency and energy efficiency advantages over corresponding CNN implementations. For more complex benchmarks such as SVHN and CIFAR-10, the trend reverses.
Motivation & Objective
- To evaluate whether SNN accelerators on FPGAs truly achieve higher energy efficiency than CNN accelerators as often claimed.
- To identify performance and energy efficiency trade-offs between SNN and CNN FPGA implementations across different network complexities and datasets.
- To design and evaluate novel memory and encoding techniques to reduce SNN hardware resource and energy costs.
- To provide a fair comparison by matching power consumption between SNN and CNN implementations on two FPGA platforms.
Proposed method
- Proposed a novel spike event encoding scheme to reduce memory footprint and energy consumption in SNN accelerators.
- Designed a new memory organization using LUTRAM instead of BRAMs to store spike address events, reducing power consumption.
- Integrated these optimizations into a state-of-the-art SNN architecture based on the approach by Sommer et al. [4].
- Synthesized and evaluated both SNN and CNN accelerators on two FPGA platforms (Pynq and ZCU104) using MNIST, SVHN, and CIFAR-10 datasets.
- Used a FINN-based streaming dataflow architecture for CNNs to ensure consistent and efficient FPGA implementation.
- Matched SNN and CNN designs for equal power consumption to enable fair performance and energy efficiency comparison.
Experimental results
Research questions
- RQ1Do SNN FPGA accelerators provide measurable energy efficiency advantages over CNN FPGA accelerators for image classification tasks?
- RQ2How do SNN and CNN implementations compare in terms of latency and FPS/W across different datasets (MNIST, SVHN, CIFAR-10)?
- RQ3Can novel encoding and memory organization techniques significantly improve SNN energy efficiency on FPGAs?
- RQ4Does the performance advantage of SNNs over CNNs depend on network complexity and dataset size?
- RQ5Is the claimed energy efficiency of SNNs valid when compared under matched power constraints?
Key findings
- For MNIST, SNN implementations provide no or minimal energy efficiency improvement over CNNs, even after applying novel encoding and memory optimizations.
- For SVHN and CIFAR-10, SNNs achieve significantly higher energy efficiency (FPS/W) than CNNs due to lower power consumption in MAC units and FIFO buffers.
- The proposed spike encoding and LUTRAM-based memory organization increased SNN energy efficiency by a factor of 1.41 for the MNIST benchmark.
- On the CIFAR-10 dataset, the SNN8CIFAR design achieved 379 FPS/W, outperforming the CNN10 design, which achieved only 7.2 FPS/W.
- The energy efficiency advantage of SNNs becomes pronounced only in complex, high-parameter networks where CNNs incur high power from MAC units and FIFO buffers.
- The study confirms that SNNs are not universally more efficient; their advantage emerges only in larger, more complex models where CNNs’ hardware overhead dominates power consumption.
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.