To Spike or Not To Spike: A Digital Hardware Perspective on Deep Learning Acceleration

Fabrizio Ottati, Chang Gao, Qinyu Chen, Giovanni Brignone, Mario R. Casu, Jason K. Eshraghian, Luciano Lavagno

Abstract

Spiking Neural Networks (SNNs) are often championed as the energy-efficient successor to traditional Artificial Neural Networks (ANNs) due to their biological inspiration. However, the translation of biological efficiency to digital silicon is not straightforward. This paper provides a quantitative comparison of state-of-the-art (SOTA) digital accelerators, identifying the specific conditions under which SNNs offer a competitive advantage. Our analysis shows that while SNNs excel in temporal processing, the "hidden cost" of memory accesses for neuron states often makes them less efficient than ANNs for static tasks like image recognition.

Introduction

The escalating energy demands of modern deep learning models, such as Large Language Models (LLMs) and Vision Transformers, have spurred interest in neuromorphic computing. The human brain's ability to operate on a 20W power budget serves as a benchmark for efficiency. SNNs attempt to replicate this by using sparse, spike-based communication. Yet, biological evolution occurred under constraints—such as slow chemical signaling—that differ fundamentally from the capabilities of modern CMOS hardware. This study addresses the fundamental question: When does mimicking the brain provide a tangible hardware advantage?

Methodology: A Quantitative Framework

To move beyond simple "operations per second" metrics, the authors developed a framework to compare SOTA ANN and SNN accelerators based on energy per inference and task accuracy.

  • Energy Modeling: Using a 45nm CMOS process model, the study estimated the costs of 8-bit additions, multiplications, and SRAM reads.
  • Neuron Analysis: The comparison focused on the Leaky Integrate and Fire (LIF) neuron (SNN) versus the standard Multiply-Accumulate (MAC) neuron (ANN).
  • Workload Segmentation: Tasks were categorized into Static (e.g., ImageNet classification) and Temporal (e.g., Keyword Spotting, Voice Activity Detection).
  • Hardware Survey: The analysis included specific chips such as the SNPU’23 (SNN), Keller’23 (ANN Transformer), and C-DNN’23 (a hybrid topology).

The Memory Access Trap

A common argument for SNNs is that they are "multiply-free," replacing energy-intensive multiplications with simple additions. However, this perspective overlooks the "Memory Access Trap." In an SNN, a neuron must retrieve its membrane potential (state) from memory at every timestep ($T$). In modern digital hardware, a single memory read is significantly more energy-expensive than an 8-bit multiplication.

Furthermore, for static data like images, an ANN processes the input in a single pass. Conversely, an SNN must represent that static data as a series of spikes over multiple timesteps. This "Timestep Penalty" multiplies the total number of operations and memory accesses, often resulting in higher total energy consumption for the SNN compared to a single-pass ANN.

Comparative Results: Static vs. Temporal Performance

The performance gap is most evident in high-resolution static tasks. On the ImageNet benchmark, the SOTA SNN accelerator (SNPU’23) consumed 1.95 mJ per inference, whereas a comparable ANN accelerator (Mo’21) consumed only 0.46 mJ. Accuracy also favored ANNs; while the best SNNs reached ~66.8% accuracy, ANN transformers and CNNs consistently exceed 77-80%.

However, the narrative shifts when considering temporal data. SNNs are inherently "time-aware." In tasks like Keyword Spotting (KWS) using the Google Speech Commands Dataset, SNNs demonstrated impressive latencies as low as 5.7 ms. The Frenkel’22 SNN chip stood out for supporting full on-chip training, a critical feature for edge devices requiring local adaptation.

The Hybrid Advantage

The most promising results emerged from "Mixed" or hybrid architectures. The C-DNN’23 chip, which utilizes a mixed-topology approach, achieved the lowest energy per inference on ImageNet (281 μJ). By using ANN layers for initial feature extraction and SNN layers for subsequent temporal processing, these hybrid systems capture the high accuracy of ANNs and the temporal efficiency of SNNs.

Conclusion and Future Directions

SNNs are not a universal solution for "green AI," but rather a specialized tool. Their primary strengths lie in processing data from "native" neuromorphic sensors, such as event-based cameras (DVS) or silicon cochleas, and in tasks where temporal state is paramount.

Future research should focus on developing hybrid ANN-SNN hardware that can dynamically switch paradigms based on the workload and reducing the encoding overhead of converting traditional data into spike trains. Ultimately, the decision to "spike" should be driven by the nature of the data and the specific hardware constraints, rather than a purely biological mandate.

Summary updated

BibTeX
@article{ottati2023spike,
  author = {Fabrizio Ottati and Chang Gao and Qinyu Chen and Giovanni Brignone and Mario R. Casu and Jason K. Eshraghian and Luciano Lavagno},
  title = {{To Spike or Not To Spike: A Digital Hardware Perspective on Deep Learning Acceleration}},
  journal = {IEEE J. Emerg. Sel. Topics Circuits Syst.},
  year = {2023},
  doi = {10.1109/jetcas.2023.3330432},
}
Figure