Enhancing the Performance of Transformer-based Spiking Neural Networks by SNN-optimized Downsampling with Precise Gradient Backpropagation
Authors:
Preprint
Abstract
Deep spiking neural networks (SNNs) have drawn much attention in recent years because of their low power consumption, biological rationality and event-driven property. However, state-of-the-art deep SNNs (including Spikformer and Spikingformer) suffer from a critical challenge related to the imprecise gradient backpropagation. This problem arises from the improper design of downsampling modules in these networks, and greatly hampering the overall model performance. In this paper, we propose ConvBN-MaxPooling-LIF (CML), an SNN-optimized downsampling with precise gradient backpropagation. We prove that CML can effectively overcome the imprecision of gradient backpropagation from a theoretical perspective. In addition, we evaluate CML on ImageNet, CIFAR10, CIFAR100, CIFAR10-DVS, DVS128-Gesture datasets, and show state-of-the-art performance on all these datasets with significantly enhanced performances compared with Spikingformer. For instance, our model achieves 77.64 $\%$ on ImageNet, 96.04 $\%$ on CIFAR10, 81.4$\%$ on CIFAR10-DVS, with + 1.79$\%$ on ImageNet, +1.16$\%$ on CIFAR100 compared with Spikingformer.
Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- VOLO: Vision Outlooker for Visual RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2022
- Training High-Performance Low-Latency Spiking Neural Networks by Differentiation on Spike Representation2022
- Optimizing Deeper Spiking Neural Networks for Dynamic Vision SensingNeural Networks, 2021
- Spiking Deep Residual NetworksIEEE Transactions on Neural Networks and Learning Systems, 2021
- LIAF-Net: Leaky Integrate and Analog Fire Network for Lightweight and Efficient Spatiotemporal Information ProcessingIEEE Transactions on Neural Networks and Learning Systems, 2021
- Synaptic Plasticity Dynamics for Deep Continuous Local Learning (DECOLLE)Frontiers in Neuroscience, 2020
- Efficient Processing of Spatio-Temporal Data Streams With Spiking Neural NetworksFrontiers in Neuroscience, 2020
- Spatio-Temporal Backpropagation for Training High-Performance Spiking Neural NetworksFrontiers in Neuroscience, 2018
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015
- Networks of spiking neurons: The third generation of neural network modelsNeural Networks, 1997