Recent Advances in Scalable Energy-Efficient and Trustworthy Spiking Neural networks: from Algorithms to Technology

Souvik Kundu, Rui-Jie Zhu, Akhilesh Jaiswal, Peter A. Beerel · DOI

TL;DR

This paper surveys recent breakthroughs in Spiking Neural Networks (SNNs), highlighting advancements in training algorithms, model architectures like spiking Transformers, and hardware co-design. It argues that SNNs are a promising energy-efficient alternative to traditional Deep Neural Networks (DNNs), especially for edge applications, and discusses challenges in achieving scalability and trustworthiness.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) have achieved remarkable success, but their computational and energy demands are becoming a significant concern, leading to alarming carbon footprints and posing challenges for deployment on resource-constrained edge devices. This has spurred research into energy-efficient alternatives, with Spiking Neural Networks (SNNs) emerging as a leading candidate. SNNs mimic biological neurons by processing information through discrete "spikes" rather than continuous values, offering potential for drastic reductions in power consumption. However, historically, training SNNs to match DNN accuracy has been difficult. This paper addresses the need for scalable, accurate, and trustworthy SNNs by reviewing recent progress in algorithms, architectures, and hardware, and outlining a path towards their widespread deployment.

Methods

The paper details several key methodological advancements:

  • Algorithmic Innovations for Training: The authors discuss techniques to overcome the training challenges of SNNs. This includes:
  • Input Encoding: Methods like rate coding, temporal coding, and rank-order coding are used to represent multi-bit inputs for SNNs. Some approaches also explore directly feeding analog pixel values into the first convolutional layer.
  • Initialization and Training Strategies: Three main categories are identified: ANN-SNN conversion (leveraging pre-trained ANNs), training SNNs from scratch, and hybrid approaches that fine-tune converted models. Techniques like Straight-Through Estimator (STE) for approximating gradients and batch-normalization-less ResNet conversion are highlighted.
  • Weight Sparsification: Methods like attention-guided compression and gradient rewiring are employed to reduce model size and computational load.
  • Spiking Transformer Architectures: Inspired by the success of Transformers in ANNs, the paper discusses the adaptation of these architectures to SNNs. Key innovations include:
  • Spiking Self-Attention (SSA): Replacing standard self-attention mechanisms with spike-based counterparts.
  • Efficient Attention Mechanisms: Techniques like using smaller key-value matrices and avoiding computationally expensive softmax operations.
  • Integration of Spiking Neurons: Incorporating spiking neuron dynamics into the feed-forward process, particularly for NLP tasks where sequence length is crucial.
  • Algorithm-Hardware Co-design: The paper emphasizes the importance of designing hardware that can efficiently leverage SNN algorithms. This includes:
  • In-Memory and In-Sensor Computing: Integrating computation directly within memory components or even the sensor itself to minimize data movement.
  • Analog and Digital Implementations: Exploring both analog neuromorphic hardware (e.g., using RRAM, PCM) and digital approaches (e.g., Intel's Loihi) for SNN acceleration.
  • Neuromorphic Sensors: Developing sensors with embedded processing capabilities, such as dynamic vision sensors.

Datasets

The paper mentions the use of ImageNet for evaluating vision models, specifically citing its use with models like Spikformer. It also refers to general "event-based sequential learning applications" and "static and temporal tasks processing data from a wide range of sensor modalities, e.g., audio, video, and bio-signals," implying these are common evaluation domains for SNNs.

Key Insights and Ideas

  • SNNs are a viable, energy-efficient alternative to DNNs: The paper strongly advocates for SNNs, particularly for edge computing, due to their inherent low-power potential derived from event-driven, binary spike processing.
  • Spiking Transformers are a promising frontier: The adaptation of Transformer architectures to SNNs, particularly for vision tasks, has shown impressive results, rivaling DNN performance with significantly lower energy consumption.
  • Algorithm-Hardware Co-design is Crucial: Realizing the full potential of SNNs requires a holistic approach where algorithms are designed with hardware constraints and capabilities in mind, and vice-versa.
  • Trustworthiness is a Growing Concern: Beyond energy efficiency, the paper highlights the increasing importance of privacy and robustness for SNNs, especially in safety-critical applications.
  • Scalability remains a challenge: While progress has been made, achieving "billion-scale" SNN models comparable to large DNNs, and developing effective pre-training strategies for them, are key areas for future research.

Key Results

  • Improved Accuracy: Recent SNN models, particularly Spiking Transformers, have demonstrated accuracy comparable to state-of-the-art DNNs on benchmarks like ImageNet. For instance, Spikformer achieved 77.1% top-1 accuracy on ImageNet-1K.
  • Reduced Latency and Energy Consumption: SNNs inherently offer lower latency and energy usage due to their event-driven nature and efficient computation (e.g., conditional accumulation instead of MAC operations). The paper mentions methods that reduce inference time steps to as low as six.
  • Advancements in Model Size: The paper shows a trend of increasing SNN model sizes, with some reaching tens of millions of parameters, indicating progress towards larger and more capable models.

Limitations and Future Work

  • Scalability: The paper identifies the need for rich pre-training strategies and achieving "billion-scale" SNN models as crucial challenges for future development.
  • Trustworthiness: While progress is being made in understanding privacy threats and improving robustness, developing truly trustworthy SNN systems remains an open and interesting problem.
  • Hardware-Algorithm Co-design: Further intricate hardware-centric aspects need to be addressed, including input encoding on hardware, interfaces to traditional computing platforms, and circuit calibration for analog platforms.
  • Applications: The paper suggests exploring temporal NLP and event-driven low-power applications as promising directions for deep SNNs.
  • Pre-training for Spiking Transformers: The paper notes that pre-trained models, a vital feature of standard ANN transformers, have not yet been effectively explored for spiking transformers.

Summary updated

BibTeX
@inproceedings{kundu2024recent,
  author = {Souvik Kundu and Rui-Jie Zhu and Akhilesh Jaiswal and Peter A. Beerel},
  title = {{Recent Advances in Scalable Energy-Efficient and Trustworthy Spiking Neural networks: from Algorithms to Technology}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=ABBGMoJy4X},
}
Figure