Spikingformer: A Key Foundation Model for Spiking Neural Networks

Chenlin Zhou, Liutao Yu, Zhaokun Zhou, Han Zhang, Jiaqi Wang +3 more
4/24/2023
33 citations
cs.NEcs.AI
transformer-attention

Official code: TheBrainLab/Spikingformer (154 stars, Python, Apache-2.0, PyTorch, last commit 2026-04-16).

Abstract

Spiking neural networks (SNNs) offer a promising energy-efficient alternative to artificial neural networks, due to their event-driven spiking computation. However, some foundation SNN backbones (including Spikformer and SEW ResNet) suffer from non-spike computations (integer-float multiplications) caused by the structure of their residual connections.

Show full abstract

These non-spike computations increase SNNs' power consumption and make them unsuitable for deployment on mainstream neuromorphic hardware. In this paper, we analyze the spike-driven behavior of the residual connection methods in SNNs. We then present Spikingformer, a novel spiking transformer backbone that merges the MS Residual connection with Self-Attention in a biologically plausible way to address the non-spike computation challenge in Spikformer while maintaining global modeling capabilities. We evaluate Spikingformer across 13 datasets spanning large static images, neuromorphic data, and natural language tasks, and demonstrate the effectiveness and universality of Spikingformer, setting a vital benchmark for spiking neural networks. In addition, with the spike-driven features and global modeling capabilities, Spikingformer is expected to become a more efficient general-purpose SNN backbone towards energy-efficient artificial intelligence. Code: https://github.com/TheBrainLab/Spikingformer

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Spikingformer: A Key Foundation Model for Spiking Neural Networks (AAAI 2026)

15417Python7 months agoApache-2.0
3rd-generation-of-artificial-neural-networksbinarybrain-inspireddeep-learningenergy-efficiency+8 more

Similar Papers

Cite this paper

@article{zhou2023spikingformer,
  title  = {Spikingformer: A Key Foundation Model for Spiking Neural Networks},
  author = {Chenlin Zhou and Liutao Yu and Zhaokun Zhou and Han Zhang and Jiaqi Wang and Huihui Zhou and Zhengyu Ma and Yonghong Tian},
  year   = {2023},
  eprint = {2304.11954},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.11954v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.11954.svg)](https://codeofpaper.com/paper/2304.11954)

Discussion