Gaining the Sparse Rewards by Exploring Binary Lottery Tickets in Spiking Neural Network

Hao Cheng, Jiahang Cao, Erjia Xiao, Pu Zhao, Mengshu Sun, Jiaxu Wang, Jize Zhang, Xue Lin, Bhavya Kailkhura, Kaidi Xu, Renjing Xu · DOI

Abstract

Spiking Neural Networks (SNNs) are increasingly recognized for their potential in low-power edge computing due to their brain-inspired, event-driven processing. However, the inherent density of complex SNN architectures often limits their theoretical efficiency. This paper explores the application of the Lottery Ticket Hypothesis (LTH) to SNNs, introducing Spiking Lottery Tickets (SLTs). We propose a novel multi-level sparsity algorithm tailored for spiking transformers, encompassing both parameter-level and patch-level pruning. Our findings demonstrate that SLTs can achieve over 80% energy savings while maintaining or even exceeding the accuracy of dense models, outperforming traditional artificial neural network (ANN) "winning tickets" by up to 4.58%.

Introduction

The deployment of deep learning models on resource-constrained devices is often hindered by high computational and energy demands. SNNs offer a promising alternative by using binary spikes and accumulation operations, which are significantly more energy-efficient than the multiply-accumulate (MAC) operations in standard ANNs. Despite these advantages, dense SNNs still consume considerable power. Pruning is a standard technique to reduce model size, but it frequently compromises performance. This research investigates whether SNNs contain "winning tickets"—sparse sub-networks that can be trained from scratch to match the performance of the original dense network—and how these tickets can be optimized for maximum efficiency.

Methodology

The proposed framework for identifying SLTs spans both Spiking CNNs (e.g., VGG, ResNet) and Spiking Transformers. The core methodology relies on three key innovations:

  1. Multi-Prize SLTs (MPSLTs): This approach simultaneously selects optimal connections and binarizes weights and activations, aligning with the native binary nature of SNNs.
  2. Multi-level Sparsity (MultiSp): Specifically for spiking transformers, a two-stage pruning process is employed. Stage 1 involves parameter-level pruning and binarization within the Convolutional Patch Embedding Projection (ConvPEP) module. Stage 2 focuses on patch-level pruning, identifying and removing redundant spatial information from input images.
  3. ConvPEP Module Integration: By incorporating convolution into the transformer's embedding layer, the authors identify a structure that is highly redundant and ideal for sparsification.
The SLT framework overview, detailing data preparation, network selection, pruning strategies, and application to low-energy hardware.

Results and Discussion

The effectiveness of SLTs was evaluated on standard RGB datasets (CIFAR-10/100) and neuromorphic event datasets (DVS128Gesture, CIFAR10-DVS). The results highlight two primary "Sparse Rewards":

  • Efficiency and Accuracy: SLTs consistently outperformed standard LTs, showing higher robustness to extreme pruning. In spiking transformers, SLTs maintained near-original accuracy even at 60-80% sparsity, whereas standard pruning methods often saw sharp declines.
  • Energy Savings: The method achieved over 80% theoretical energy reduction. For instance, a VGG-9 model using MPSLTs on CIFAR-10 consumed only 0.079 mJ per image, representing a nearly 90% reduction compared to its ANN counterpart.
Performance of various architectures under different pruning ratios, demonstrating the robustness of Spiking Lottery Tickets (MPSLTs and MultiSp-SLTs) compared to traditional methods.

Conclusion

This work demonstrates that SNNs are exceptionally well-suited for the Lottery Ticket Hypothesis, particularly when combined with binarization and multi-level pruning. While the current iterative search for winning tickets is computationally intensive, the significant energy gains and performance robustness of SLTs provide a strong foundation for future research. Next steps include optimizing the search process for "early-time" tickets and validating these models on physical neuromorphic hardware like Intel's Loihi or IBM's TrueNorth.

Summary updated

BibTeX
@inproceedings{cheng2024gaining,
  author = {Hao Cheng and Jiahang Cao and Erjia Xiao and Pu Zhao and Mengshu Sun and Jiaxu Wang and Jize Zhang and Xue Lin and Bhavya Kailkhura and Kaidi Xu and Renjing Xu},
  title = {{Gaining the Sparse Rewards by Exploring Binary Lottery Tickets in Spiking Neural Network}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=NJzEp9kfKG},
}
Figure