Spikingformer: A Key Foundation Model for Spiking Neural Networks

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhou, Chenlin, Yu, Liutao, Zhou, Zhaokun, Zhang, Han, Wang, Jiaqi, Zhou, Huihui, Ma, Zhengyu, Tian, Yonghong
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912705486520320
author Zhou, Chenlin
Yu, Liutao
Zhou, Zhaokun
Zhang, Han
Wang, Jiaqi
Zhou, Huihui
Ma, Zhengyu
Tian, Yonghong
author_facet Zhou, Chenlin
Yu, Liutao
Zhou, Zhaokun
Zhang, Han
Wang, Jiaqi
Zhou, Huihui
Ma, Zhengyu
Tian, Yonghong
contents 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. 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
format Preprint
id arxiv_https___arxiv_org_abs_2304_11954
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Spikingformer: A Key Foundation Model for Spiking Neural Networks
Zhou, Chenlin
Yu, Liutao
Zhou, Zhaokun
Zhang, Han
Wang, Jiaqi
Zhou, Huihui
Ma, Zhengyu
Tian, Yonghong
Neural and Evolutionary Computing
Artificial Intelligence
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. 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
title Spikingformer: A Key Foundation Model for Spiking Neural Networks
topic Neural and Evolutionary Computing
Artificial Intelligence
url https://arxiv.org/abs/2304.11954