paper-with-me

홈 › Papers

Attention-free Spikformer: Mixing Spike Sequences with Simple Linear Transforms

2023-08-02 · Qingyu Wang, Duzhen Zhang, Tielin Zhang, Bo Xu

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.

📄 PDF Abstract BibTeX arXiv:2308.02557

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage Classification

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Residual Connection 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Fourier or Wavelet bases as counterpart self-attention in spikformer for efficient visual classification

2024-03-27 · Qingyu Wang, Duzhen Zhang, Tilelin Zhang, Bo Xu

Energy-efficient spikformer has been proposed by integrating the biologically plausible spiking neural network (SNN) and artificial Transformer, whereby the Spiking Self-Attention (SSA) is used to achieve both higher acc…

FormGPU

VL2Spike: Spike-driven Distillation from VLMs for Low-Power Visual Perception in Embodied AI

2026-06-14 · Zinan Liu, Eric Zheng, Soumyaratna Debnath, Hao Shi 외 arxiv

Spiking neural networks (SNNs) are brain-inspired, event-driven models that compute with sparse spikes, which enables highly efficient visual perception in resource-constrained embodied AI models. The emergence of Spikin…

Visual Place RecognitionKnowledge Distillation

Spikformer V2: Join the High Accuracy Club on ImageNet with an SNN Ticket

2024-01-04 · Zhaokun Zhou, Kaiwei Che, Wei Fang, Keyu Tian 외

Spiking Neural Networks (SNNs), known for their biologically plausible architecture, face the challenge of limited performance. The self-attention mechanism, which is the cornerstone of the high-performance Transformer a…

image-classificationImage ClassificationSelf-Supervised Learning

Spikformer: When Spiking Neural Network Meets Transformer

2022-09-29 · Zhaokun Zhou, Yuesheng Zhu, Chao He, YaoWei Wang 외

We consider two biologically plausible structures, the Spiking Neural Network (SNN) and the self-attention mechanism. The former offers an energy-efficient and event-driven paradigm for deep learning, while the latter ha…

image-classificationImage Classification

Spikingformer: Spike-driven Residual Learning for Transformer-based Spiking Neural Network

2023-04-24 · Chenlin Zhou, Liutao Yu, Zhaokun Zhou, Zhengyu Ma 외

Spiking neural networks (SNNs) offer a promising energy-efficient alternative to artificial neural networks, due to their event-driven spiking computation. However, state-of-the-art deep SNNs (including Spikformer and SE…