Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yao, Man, Qiu, Xuerui, Hu, Tianxiang, Hu, Jiakui, Chou, Yuhong, Tian, Keyu, Liao, Jianxing, Leng, Luziwei, Xu, Bo, Li, Guoqi
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929681465344000
author Yao, Man
Qiu, Xuerui
Hu, Tianxiang
Hu, Jiakui
Chou, Yuhong
Tian, Keyu
Liao, Jianxing
Leng, Luziwei
Xu, Bo
Li, Guoqi
author_facet Yao, Man
Qiu, Xuerui
Hu, Tianxiang
Hu, Jiakui
Chou, Yuhong
Tian, Keyu
Liao, Jianxing
Leng, Luziwei
Xu, Bo
Li, Guoqi
contents The ambition of brain-inspired Spiking Neural Networks (SNNs) is to become a low-power alternative to traditional Artificial Neural Networks (ANNs). This work addresses two major challenges in realizing this vision: the performance gap between SNNs and ANNs, and the high training costs of SNNs. We identify intrinsic flaws in spiking neurons caused by binary firing mechanisms and propose a Spike Firing Approximation (SFA) method using integer training and spike-driven inference. This optimizes the spike firing pattern of spiking neurons, enhancing efficient training, reducing power consumption, improving performance, enabling easier scaling, and better utilizing neuromorphic chips. We also develop an efficient spike-driven Transformer architecture and a spike-masked autoencoder to prevent performance degradation during SNN scaling. On ImageNet-1k, we achieve state-of-the-art top-1 accuracy of 78.5\%, 79.8\%, 84.0\%, and 86.2\% with models containing 10M, 19M, 83M, and 173M parameters, respectively. For instance, the 10M model outperforms the best existing SNN by 7.2\% on ImageNet, with training time acceleration and inference energy efficiency improved by 4.5$\times$ and 3.9$\times$, respectively. We validate the effectiveness and efficiency of the proposed method across various tasks, including object detection, semantic segmentation, and neuromorphic vision tasks. This work enables SNNs to match ANN performance while maintaining the low-power advantage, marking a significant step towards SNNs as a general visual backbone. Code is available at https://github.com/BICLab/Spike-Driven-Transformer-V3.
format Preprint
id arxiv_https___arxiv_org_abs_2411_16061
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training
Yao, Man
Qiu, Xuerui
Hu, Tianxiang
Hu, Jiakui
Chou, Yuhong
Tian, Keyu
Liao, Jianxing
Leng, Luziwei
Xu, Bo
Li, Guoqi
Computer Vision and Pattern Recognition
The ambition of brain-inspired Spiking Neural Networks (SNNs) is to become a low-power alternative to traditional Artificial Neural Networks (ANNs). This work addresses two major challenges in realizing this vision: the performance gap between SNNs and ANNs, and the high training costs of SNNs. We identify intrinsic flaws in spiking neurons caused by binary firing mechanisms and propose a Spike Firing Approximation (SFA) method using integer training and spike-driven inference. This optimizes the spike firing pattern of spiking neurons, enhancing efficient training, reducing power consumption, improving performance, enabling easier scaling, and better utilizing neuromorphic chips. We also develop an efficient spike-driven Transformer architecture and a spike-masked autoencoder to prevent performance degradation during SNN scaling. On ImageNet-1k, we achieve state-of-the-art top-1 accuracy of 78.5\%, 79.8\%, 84.0\%, and 86.2\% with models containing 10M, 19M, 83M, and 173M parameters, respectively. For instance, the 10M model outperforms the best existing SNN by 7.2\% on ImageNet, with training time acceleration and inference energy efficiency improved by 4.5$\times$ and 3.9$\times$, respectively. We validate the effectiveness and efficiency of the proposed method across various tasks, including object detection, semantic segmentation, and neuromorphic vision tasks. This work enables SNNs to match ANN performance while maintaining the low-power advantage, marking a significant step towards SNNs as a general visual backbone. Code is available at https://github.com/BICLab/Spike-Driven-Transformer-V3.
title Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.16061