Attention-free Spikformer: Mixing Spike Sequences with Simple Linear Transforms
Not on the map. Why?
Abstract (arXiv)
By integrating the self-attention capability and the biological properties of Spiking Neural Networks (SNNs), Spikformer applies the flourishing Transformer architecture to SNNs design. It introduces a Spiking Self-Attention (SSA) module to mix sparse visual features using spike-form Query, Key, and Value, resulting in the State-Of-The-Art (SOTA) performance on numerous datasets compared to previous SNN-like frameworks. In this paper, we demonstrate that the Spikformer architecture can be accelerated by replacing the SSA with an unparameterized Linear Transform (LT) such as Fourier and Wavelet transforms. These transforms are utilized to mix spike sequences, reducing the quadratic time complexity to log-linear time complexity. They alternate between the frequency and time domains to extract sparse visual features, showcasing powerful performance and efficiency. We conduct extensive experiments on image classification using both neuromorphic and static datasets. The results indicate that compared to the SOTA Spikformer with SSA, Spikformer with LT achieves higher Top-1 accuracy on neuromorphic datasets (i.e., CIFAR10-DVS and DVS128 Gesture) and comparable Top-1 accuracy on static datasets (i.e., CIFAR-10 and CIFAR-100). Furthermore, Spikformer with LT achieves approximately 29-51% improvement in training speed, 61-70% improvement in inference speed, and reduces memory usage by 4-26% due to not requiring learnable parameters.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 44 of its 70 references that are in the map. First posted on arXiv 2 Aug 2023.
Builds on
44 of 70 references.
References · 44
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2020Pre-Trained Image Processing Transformercited by 893
- 2019Surrogate Gradient Learning in Spiking Neural Networkscited by 626
32 more
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2017Spatio-Temporal Backpropagation for Training High-performance Spiking Neural Networkscited by 406
- 2021Early Convolutions Help Transformers See Bettercited by 396
- 2020Incorporating Learnable Membrane Time Constant to Enhance Learning of Spiking Neural Networkscited by 345
- 2021Deep Residual Learning in Spiking Neural Networkscited by 331
- 2020Going Deeper With Directly-Trained Larger Spiking Neural Networkscited by 278
- 2022Spikformer: When Spiking Neural Network Meets Transformercited by 271
- 2018SLAYER: Spike Layer Error Reassignment in Timecited by 266
- 2021Escaping the Big Data Paradigm with Compact Transformerscited by 264
- 2018Direct Training for Spiking Neural Networks: Faster, Larger, Bettercited by 233
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2016Training Deep Spiking Neural Networks using Backpropagationcited by 205
- 2022Temporal Efficient Training of Spiking Neural Network via Gradient Re-weightingcited by 198
- 2021VOLO: Vision Outlooker for Visual Recognitioncited by 165
- 2020RMP-SNN: Residual Membrane Potential Neuron for Enabling Deeper High-Accuracy and Low-Latency Spiking Neural Networkcited by 145
- 2020Enabling Deep Spiking Neural Networks with Hybrid Conversion and Spike Timing Dependent Backpropagationcited by 144
- 2019Enabling Spike-based Backpropagation for Training Deep Neural Network Architecturescited by 123
- 2023Optimal ANN-SNN Conversion for High-accuracy and Ultra-low-latency Spiking Neural Networkscited by 122
- 2021Temporal-wise Attention Spiking Neural Networks for Event Streams Classificationcited by 106
- 2020Temporal Spike Sequence Learning via Backpropagation for Deep Spiking Neural Networkscited by 100
- 2022Training High-Performance Low-Latency Spiking Neural Networks by Differentiation on Spike Representationcited by 89
- 2020DIET-SNN: Direct Input Encoding With Leakage and Threshold Optimization in Deep Spiking Neural Networkscited by 71
- 2015Spiking Deep Networks with LIF Neuronscited by 63
- 2020LIAF-Net: Leaky Integrate and Analog Fire Network for Lightweight and Efficient Spatiotemporal Information Processingcited by 56
- 2022Neuromorphic Data Augmentation for Training Spiking Neural Networkscited by 52
- 2022Spiking Graph Convolutional Networkscited by 27
- 2021Exploiting Spiking Dynamics with Spatial-temporal Feature Normalization in Graph Learningcited by 22
- 2023Complex Dynamic Neurons Improved Spiking Transformer Network for Efficient Automatic Speech Recognitioncited by 20
- 2022Spikeformer: A Novel Architecture for Training High-Performance Low-Latency Spiking Neural Networkcited by 19
- 2020Long Short-Term Memory Spiking Networks and Their Applicationscited by 16
- 2022Recent Advances and New Frontiers in Spiking Neural Networkscited by 10
- 2022Tuning Synaptic Connections instead of Weights by Genetic Algorithm in Spiking Policy Networkcited by 4
Built on by
Citing papers per year: 2024: 3.
3 papers.
- 2024TIM: An Efficient Temporal Interaction Module for Spiking Transformercited by 12
- 2024Toward Large-scale Spiking Neural Networks: A Comprehensive Survey and Future Directionscited by 7
- 2024Biologically-Plausible Topology Improved Spiking Actor Network for Efficient Deep Reinforcement Learningcited by 2
- 2024Toward Large-scale Spiking Neural Networks: A Comprehensive Survey and Future Directions19 Aug 2024
- 2024Biologically-Plausible Topology Improved Spiking Actor Network for Efficient Deep Reinforcement Learning29 Mar 2024
- 2024TIM: An Efficient Temporal Interaction Module for Spiking Transformer22 Jan 2024