arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.14302cs.NEcs.CVcs.LG
收藏

SpikingResformer:在脉冲神经网络中桥接ResNet与视觉Transformer

SpikingResformer: Bridging ResNet and Vision Transformer in Spiking Neural Networks

Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);School of Computer Science, Peking University(北京大学计算机学院)

Xinyu Shi, Zecheng Hao, Zhaofei Yu

AI总结:

针对脉冲神经网络中视觉Transformer缺乏合理缩放且局部特征提取受限的问题,提出双脉冲自注意力机制DSSA及SpikingResformer架构,在ImageNet上以更少参数和能耗实现79.40%的领先准确率。

摘要:

视觉Transformer在人工神经网络(ANN)中的显著成功引发了将自注意力机制和基于Transformer的架构引入脉冲神经网络(SNN)的日益浓厚的兴趣。尽管现有方法提出了与SNN兼容的脉冲自注意力机制,但它们缺乏合理的缩放方法,且这些方法所提出的整体架构在有效提取局部特征方面存在瓶颈。为解决这些挑战,我们提出了一种新颖的脉冲自注意力机制,名为双脉冲自注意力(DSSA),并配备了合理的缩放方法。基于DSSA,我们提出了一种新颖的脉冲视觉Transformer架构,称为SpikingResformer,它将基于ResNet的多阶段架构与我们提出的DSSA相结合,以在减少参数的同时提升性能和能效。实验结果表明,与其他脉冲视觉Transformer对应方法相比,SpikingResformer以更少的参数和更低的能耗实现了更高的准确率。值得注意的是,我们的SpikingResformer-L在ImageNet上以4个时间步实现了79.40%的top-1准确率,这是SNN领域的最先进结果。

英文摘要:

The remarkable success of Vision Transformers in Artificial Neural Networks (ANNs) has led to a growing interest in incorporating the self-attention mechanism and transformer-based architecture into Spiking Neural Networks (SNNs). While existing methods propose spiking self-attention mechanisms that are compatible with SNNs, they lack reasonable scaling methods, and the overall architectures proposed by these methods suffer from a bottleneck in effectively extracting local features. To address these challenges, we propose a novel spiking self-attention mechanism named Dual Spike Self-Attention (DSSA) with a reasonable scaling method. Based on DSSA, we propose a novel spiking Vision Transformer architecture called SpikingResformer, which combines the ResNet-based multi-stage architecture with our proposed DSSA to improve both performance and energy efficiency while reducing parameters. Experimental results show that SpikingResformer achieves higher accuracy with fewer parameters and lower energy consumption than other spiking Vision Transformer counterparts. Notably, our SpikingResformer-L achieves 79.40% top-1 accuracy on ImageNet with 4 time-steps, which is the state-of-the-art result in the SNN field.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑