Skip to main content
QUICK REVIEW

[Paper Review] Spiking Deep Residual Network

Yangfan Hu, Huajin Tang|arXiv (Cornell University)|Apr 28, 2018
Advanced Memory and Neural ComputingEngineering51 references75 citations
TL;DR

This paper converts a trained deep ResNet into a spiking neural network (SNN) called Spiking ResNet (S-ResNet) using a shortcut-normalization conversion model and an error-compensation mechanism to enable deep SNNs with competitive accuracy on CIFAR-10/100 and ImageNet.

ABSTRACT

Spiking neural networks (SNNs) have received significant attention for their biological plausibility. SNNs theoretically have at least the same computational power as traditional artificial neural networks (ANNs). They possess potential of achieving energy-efficiency while keeping comparable performance to deep neural networks (DNNs). However, it is still a big challenge to train a very deep SNN. In this paper, we propose an efficient approach to build a spiking version of deep residual network (ResNet). ResNet is considered as a kind of the state-of-the-art convolutional neural networks (CNNs). We employ the idea of converting a trained ResNet to a network of spiking neurons, named Spiking ResNet (S-ResNet). We propose a shortcut conversion model to appropriately scale continuous-valued activations to match firing rates in SNN, and a compensation mechanism to reduce the error caused by discretisation. Experimental results demonstrate that, compared with the state-of-the-art SNN approaches, the proposed Spiking ResNet achieves the best performance on CIFAR-10, CIFAR-100, and ImageNet 2012. Our work is the first time to build a SNN deeper than 40, with comparable performance to ANNs on a large-scale dataset.

Motivation & Objective

  • Motivate and enable training of very deep spiking neural networks by converting state-of-the-art CNN architectures (ResNet) to SNNs.
  • Develop a shortcut-aware conversion model that scales weights to match spiking firing rates in S-ResNet.
  • Compensate propagation error introduced by discretization to preserve accuracy in deep SNNs.
  • Demonstrate performance improvements over existing deep SNN approaches on CIFAR-10, CIFAR-100, and ImageNet.
  • Provide energy-efficiency implications by comparing potential neuromorphic hardware implementations to conventional ANN hardware.

Proposed method

  • Convert a pre-trained ResNet into a spiking counterpart by replacing ReLU layers with integrate-and-fire neurons and mapping convolution, pooling, and fully-connected operations to synaptic connections.
  • Apply a shortcut (residual) normalization model to scale shortcut weights in the residual blocks so firing rates match normalized activations.
  • Scale weights and biases in residual blocks using normalization factors derived from layer activations to maintain a consistent activation/firing-rate range (Equations 1–2).
  • Derive and apply a residual-block specific normalization to ensure the shortcut path scales by max_in/max_out (Equation 4–6).
  • Model and quantify propagation error E_i(t) between ANN activations and SNN firing rates (Equations 7–11) and propose an exponential-depth model Ē_i = p·q^l to describe error growth with depth (Equation 12).
  • Introduce a simple compensation factor ζ to adjust weights and counterbalance accumulated propagation error during training data sweeps (Equation 14).

Experimental results

Research questions

  • RQ1Can ResNet be effectively converted into a deep spiking network without substantial loss in accuracy?
  • RQ2Does normalizing shortcut connections in residual blocks improve conversion quality and final S-ResNet performance?
  • RQ3What is the impact of propagation/discretization error on deep SNNs, and can a simple compensation scheme mitigate it?
  • RQ4How deep can a Spiking ResNet be while maintaining competitive performance on large-scale datasets like ImageNet?
  • RQ5How does the proposed Spiking ResNet compare to prior deep SNNs in terms of accuracy and energy efficiency?

Key findings

  • S-ResNet with shortcut normalization yields significantly lower error rates than unnormalized conversions across depths (e.g., CIFAR-10 depths 20–56).
  • Error-compensation improves performance for both ResNet-derived S-ResNets and plain CNNs, with deeper networks benefiting more from compensation.
  • On ImageNet 2012, the Spiking ResNet-50 achieves top-1 error of 27.25% and top-5 error of 9.03%, with corresponding error losses of 2.69% and 1.52%, respectively.
  • Compared with prior deep SNNs, the proposed approach achieves better performance on CIFAR-10, CIFAR-100, and ImageNet, enabling SNNs deeper than 40 layers with competitive ANN-style accuracy.
  • Energy estimates suggest ResNet implementations on FPGA (Stratix 10 TX) are >9× more power-hungry than S-ResNet running on neuromorphic hardware (ROLLS), highlighting potential energy advantages of SNNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.