Going Deeper in Spiking Neural Networks: VGG and Residual Architectures

Abhronil Sengupta, Yuting Ye, Robert Wang, Chiao Liu, Kaushik Roy

Abstract

Over the past few years, Spiking Neural Networks (SNNs) have become popular as a possible pathway to enable low-power event-driven neuromorphic hardware. However, their application in machine learning has largely been limited to very shallow neural network architectures for simple problems. In this paper, we propose a novel algorithmic technique for generating an SNN with a deep architecture and demonstrate its effectiveness on complex visual recognition problems such as CIFAR-10 and ImageNet. Our technique applies to both VGG and Residual network architectures, achieving significantly better accuracy than the state-of-the-art. Finally, we present an analysis of sparse event-driven computations to demonstrate reduced hardware overhead when operating in the spiking domain.

Introduction

Spiking Neural Networks (SNNs) are biologically inspired models that process information using discrete, binary events (spikes) rather than continuous analog values. Because they are event-driven, they offer massive potential for power savings on specialized neuromorphic hardware, as sections of the network only "wake up" when they receive a spike.

Despite their promise, SNNs have historically been limited to shallow architectures and simple datasets like MNIST. Scaling SNNs to the depth of modern Artificial Neural Networks (ANNs) is challenging because their temporal nature makes direct training via backpropagation difficult. Furthermore, converting pre-trained deep ANNs to SNNs often results in a significant "conversion loss" in accuracy. This work bridges that gap by scaling SNNs to VGG and Residual (ResNet) architectures.

Methodology: The SPIKE-NORM Algorithm

The authors utilize an ANN-to-SNN conversion strategy, where a standard ANN is first trained with specific constraints—such as ReLU activations and no bias terms—and its weights are then mapped onto an SNN composed of Integrate-and-Fire (IF) neurons.

The core technical contribution is SPIKE-NORM, a weight-normalization (or threshold-balancing) algorithm. Unlike previous methods that calculated thresholds based solely on static ANN activations, SPIKE-NORM puts the SNN "in the loop" during conversion. It simulates the actual spiking operation layer-by-layer to find the maximum possible spike-based input a neuron might receive. This ensures that firing thresholds are perfectly scaled to the actual dynamic range of the spiking signals, minimizing information loss during the transition from continuous to discrete representations.

Comparison of ANN inputs, instantaneous SNN spikes, and accumulated SNN inputs over time.

Scaling to Residual Architectures

For Residual Networks (ResNets), the authors identified unique challenges related to the temporal nature of spikes. In a standard ResNet, the shortcut (identity) path propagates information instantly, while the convolutional path introduces a temporal delay. To address this, the authors introduced Junction ReLUs at the intersection of identity and non-identity paths to balance these delays. Additionally, the standard wide-receptive-field initial layer was replaced with a series of non-residual "pre-processing" layers to stabilize spiking activity before it enters the residual blocks.

Proposed modifications for Residual SNNs (a, b) and the distribution of maximum SNN activations across layers (c).

Results and Discussion

The proposed approach achieved state-of-the-art results for SNNs across major benchmarks:

  • CIFAR-10: Achieved a classification error of 8.45% with VGG-16.
  • ImageNet: Achieved a 30.04% top-1 error for VGG-16 and 34.53% top-1 error for ResNet-34, representing the first competitive SNN performance on the full ImageNet dataset.

Sparsity and Efficiency

A critical finding of this research is that spiking activity becomes significantly sparser as the network depth increases. This suggests that deeper SNNs may offer greater relative energy benefits on neuromorphic hardware than shallow ones. While SNN inference requires simulating the network over many timesteps (introducing latency), the operations themselves are simple additions (AC) rather than the expensive multiply-accumulates (MAC) required by ANNs. Given that MACs consume roughly an order of magnitude more energy, the SNN implementation is expected to be significantly more power-efficient in hardware.

Conclusion

This work demonstrates that SNNs can handle complex, deep architectures like VGG-16 and ResNet-34 without sacrificing performance. By utilizing the SPIKE-NORM algorithm and specific architectural adjustments for temporal balancing, SNNs can now compete on large-scale datasets like ImageNet. Future work will focus on reducing inference latency and exploring temporal coding schemes to further enhance the efficiency of deep spiking architectures.

Summary updated

Abstract

Over the past few years, Spiking Neural Networks (SNNs) have become popular as a possible pathway to enable low-power event-driven neuromorphic hardware. However, their application in machine learning have largely been limited to very shallow neural network architectures for simple problems. In this paper, we propose a novel algorithmic technique for generating an SNN with a deep architecture, and demonstrate its effectiveness on complex visual recognition problems such as CIFAR-10 and ImageNet. Our technique applies to both VGG and Residual network architectures, with significantly better accuracy than the state-of-the-art. Finally, we present analysis of the sparse event-driven computations to demonstrate reduced hardware overhead when operating in the spiking domain.
BibTeX
@inproceedings{sengupta2019going,
  author = {Abhronil Sengupta and Yuting Ye and Robert Wang and Chiao Liu and Kaushik Roy},
  title = {{Going Deeper in Spiking Neural Networks: VGG and Residual Architectures}},
  booktitle = {Frontiers in Neuroscience},
  year = {2019},
  doi = {10.3389/fnins.2019.00095},
}
Figure