Advancing Deep Residual Learning by Solving the Crux of Degradation in Spiking Neural Networks

Yujie Wu (吴郁杰)arXiv 2022

TL;DR

This paper tackles the "degradation problem" in Spiking Neural Networks (SNNs), which hinders training deep architectures. The authors identify the inter-block spiking activation function as the culprit and propose a novel residual block design that allows for significantly deeper SNNs (up to 482 layers) without accuracy loss, paving the way for more powerful and energy-efficient neuromorphic computing.

What Problem Does This Paper Address?

Spiking Neural Networks (SNNs) are biologically inspired models that offer significant energy efficiency and low-latency computation due to their event-driven, sparse communication. However, a major bottleneck in their practical application has been the difficulty in training deep SNNs. While deep neural networks (DNNs) have achieved remarkable success, directly translating their architectures, particularly residual networks (ResNets), to SNNs leads to a "degradation problem." This means that as the network depth increases, accuracy actually decreases, making it challenging to leverage the benefits of deep learning for SNNs. This paper aims to solve this degradation problem to enable the training of much deeper and more capable SNNs.

Methods

The core of this work lies in identifying and addressing the "crux of degradation." The authors pinpoint the spiking activation function (specifically, the Leaky Integrate-and-Fire or LIF model) between residual blocks as the primary cause of information loss. They hypothesize that the mismatch between the binary spike trains from the shortcut connection and the continuous synaptic inputs in the residual path, when added and then passed through the LIF function, leads to this degradation.

To overcome this, they propose a novel spiking residual block. They explore two main strategies:

  1. Retaining the inter-block LIF (ResNetRT): This approach attempts to unify the information flow by adding a 1x1 convolution and Batch Normalization (BN) to the shortcut connection, converting its binary spikes into continuous membrane potentials. This helps alleviate degradation but doesn't entirely solve it.
  2. Removing the inter-block LIF (ResNetRM): This strategy moves the LIF function inside the residual path, effectively creating a clean forward path for information. This approach, particularly the variant they call SRM-ResNet, is shown to be highly effective in preventing degradation and enabling much deeper networks.

They also leverage surrogate gradient methods for backpropagation through time (BPTT) to train these SNNs directly.

Datasets

The paper evaluates their proposed methods on the following datasets:

  • CIFAR-10: Used for depth analysis and demonstrating the effectiveness of their SRM-ResNet architecture, achieving up to 482 layers.
  • ImageNet: Used to evaluate their SRM-ResNet models (e.g., SRM-ResNet-104) on a larger, more complex dataset, achieving state-of-the-art results for directly trained SNNs.
  • CIFAR10-DVS: An event-stream dataset for object classification, used to test the spatiotemporal processing capabilities of their models.

Key Insights and Ideas

  • The Inter-block LIF is the Bottleneck: The most significant insight is the identification of the spiking activation function between residual blocks as the primary cause of degradation in directly trained SNNs. This is a crucial departure from simply transplanting ANN architectures.
  • Information Mismatch is Key: The degradation stems from the inconsistent nature of information (binary spikes vs. continuous potentials) being combined before the spiking activation.
  • Deep SNNs are Achievable: By redesigning the residual block, the authors demonstrate that it's possible to train SNNs to depths comparable to successful DNNs, unlocking greater representational power.
  • Energy Efficiency is Maintained: The proposed SRM-ResNet maintains the energy efficiency benefits of SNNs, with models requiring only about one spike per neuron on average for classification.

Key Results

  • Unprecedented Depth: The proposed SRM-ResNet architecture enables direct training of SNNs up to 482 layers on CIFAR-10 and 104 layers on ImageNet without significant degradation.
  • State-of-the-Art Accuracy: SRM-ResNet-104 achieves an accuracy of 76.02% on ImageNet, which is a significant improvement for directly trained SNNs and competitive with converted SNNs, but with drastically fewer time steps.
  • High Accuracy on CIFAR-10: Achieved 91.9% accuracy on CIFAR-10 with a 482-layer SRM-ResNet.
  • Competitive CIFAR10-DVS Performance: Their SRM-ResNet-20 achieved a record accuracy of 75.56% on CIFAR10-DVS.
  • Energy Efficiency: Models exhibit very sparse spiking activities and low latency, with an estimated energy cost significantly lower than ANNs for convolutional operations.

Limitations and Future Work

  • Overfitting on ImageNet: The authors note that while depth is increased, severe overfitting can occur on ImageNet, requiring stronger data augmentation and regularization techniques.
  • Further Exploration: The paper suggests that the powerful and scalable modeling approach provides a strong foundation for further exploration of SNNs in various complex tasks and brain-inspired computing applications. The success in achieving deep architectures opens doors for more sophisticated SNN models.

Summary updated

BibTeX
@misc{2022advancing,
  author = {Yujie Wu (吴郁杰)},
  title = {{Advancing Deep Residual Learning by Solving the Crux of Degradation in Spiking Neural Networks}},
  year = {2022},
  eprint = {2201.07209},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.07209},
}
Figure