A Resource-efficient Spiking Neural Network Accelerator Supporting Emerging Neural Encoding

Daniel Gerlinghoff, Zhehui Wang, Xiaozhe Gu, Rick Siow Mong Goh, Tao Luo · DOI

Abstract: Spiking Neural Networks (SNNs) offer high energy efficiency by communicating via binary spikes, yet they often suffer from high latency due to traditional rate-encoding schemes. This paper presents a high-performance FPGA accelerator optimized for radix-encoded SNNs, which represent values using temporal weighting. By employing an adder-based 2D convolution array and specialized temporal weighting logic, the proposed architecture achieves a 90% reduction in latency and a 25% improvement in power efficiency compared to state-of-the-art designs, while successfully scaling to large models like VGG-11.

Introduction

Spiking Neural Networks (SNNs) are the "brain-inspired" cousins of standard Artificial Neural Networks (ANNs). They are inherently energy-efficient because they replace computationally expensive multiplications with simple additions. However, SNNs face a significant "latency wall." Traditional rate encoding requires a value to be represented by spike frequency over a long window (up to 1,000 time steps), making them slow for real-time applications.

Radix encoding schemes address this by representing values in far fewer time steps (e.g., 4–10 steps). However, existing hardware accelerators are rarely designed to handle the specific temporal requirements of these encoded spikes or to scale up to modern architectures like VGG. This work introduces a custom FPGA architecture specifically optimized to break these barriers.

Proposed Architecture

The accelerator, implemented on a Xilinx Virtex UltraScale+ FPGA, features several key technical innovations to support radix-encoded SNNs:

  • Adder-Based Convolution Units: Since SNNs are multiplication-free, the core of the accelerator is a 2D array of adders. This reduces the silicon footprint and power consumption compared to using standard DSP slices.
  • Temporal Weighting Logic: To support radix encoding—where a spike's value depends on its temporal position—the output logic performs a bit-shift operation before accumulating results from different time steps.
  • Row-Based Data Flow: The architecture processes feature map rows in parallel using shift registers. This maximizes data reuse and minimizes energy-draining off-chip memory accesses.
  • Ping-Pong Buffering: A dual-buffer system for activations allows the hardware to read from one memory block while writing to another, ensuring the processing units never idle.
Hardware architecture of the adder array and output logic supporting temporal weighting.

Experimental Evaluation

The accelerator was evaluated using two standard benchmarks:

  1. MNIST: Tested with a LeNet-5 and a custom CNN architecture to compare against previous SNN accelerators.
  2. CIFAR-100: Tested with the VGG-11 model (28.5 million parameters). This is a significant benchmark as VGG-11 is much larger than models typically seen in SNN hardware research.

Key Results and Discussion

The proposed accelerator shows massive gains over previous state-of-the-art (SOTA) SNN implementations. On a comparable CNN, this work achieved a latency of 409 μs, compared to 7,530 μs for the previous SOTA—an approximate 18x speedup. Power consumption was measured at 3.6W, representing a 25% reduction compared to previous designs.

Comparison of the proposed accelerator against state-of-the-art SNN implementations across different datasets and networks.

Key insights from the evaluation include:

  • Radix Encoding Efficiency: The paper demonstrates that with radix encoding, 99.26% accuracy on MNIST is achievable in just 6 time steps.
  • Throughput: On the LeNet-5 model, the system reached a staggering 3,380 frames per second (fps).
  • Scaling to VGG-11: On the CIFAR-100 dataset, the system maintained a throughput of 4.7 fps, marking the first successful deployment of VGG on physical FPGA-based neuromorphic hardware.

Conclusion

While the results are impressive, challenges remain. The VGG-11 model achieved 60.1% accuracy on CIFAR-100, which, while high for an SNN, still trails traditional ANNs. Furthermore, large models remain dependent on external DRAM, which limits maximum speed. Future work will explore further optimizing memory access patterns and investigating other emerging temporal encoding schemes.

Summary updated

BibTeX
@inproceedings{gerlinghoff2022resource,
  author = {Daniel Gerlinghoff and Zhehui Wang and Xiaozhe Gu and Rick Siow Mong Goh and Tao Luo},
  title = {{A Resource-efficient Spiking Neural Network Accelerator Supporting Emerging Neural Encoding}},
  booktitle = {DATE},
  year = {2022},
  doi = {10.23919/date54114.2022.9774596},
}
Figure