arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.11954cs.NEcs.AI
收藏

Spikingformer:脉冲神经网络的关键基础模型

Spikingformer: A Key Foundation Model for Spiking Neural Networks

Chenlin Zhou, Liutao Yu, Zhaokun Zhou, Han Zhang, Jiaqi Wang, Huihui Zhou, Zhengyu Ma, Yonghong Tian

AI总结:

针对现有SNN骨干存在非脉冲计算、难以适配神经形态硬件的问题,本文提出融合MS残差连接与自注意力的脉冲Transformer骨干Spikingformer,在13个多类型数据集上验证了其性能,可作为高效通用SNN基础模型。

摘要:

脉冲神经网络(SNNs)凭借事件驱动的脉冲计算特性,成为替代人工神经网络的一种极具潜力的高能效方案。然而,部分基础SNN骨干网络(包括Spikformer和SEW ResNet)因残差连接结构问题存在非脉冲计算(整数-浮点数乘法),这类非脉冲计算会提升SNNs的功耗,导致其无法部署在主流神经形态硬件上。本文首先分析了SNNs中各类残差连接方法的脉冲驱动行为,随后提出了新型脉冲Transformer骨干网络Spikingformer,该网络以符合生物合理性的方式将MS Residual连接与自注意力(Self-Attention)融合,在保留全局建模能力的同时解决了Spikformer存在的非脉冲计算难题。我们在涵盖大规模静态图像、神经形态数据、自然语言任务的13个数据集上对Spikingformer开展评估,验证了其有效性与通用性,为脉冲神经网络设立了重要基准。此外,兼具脉冲驱动特性与全局建模能力的Spikingformer有望成为面向高能效人工智能的更高效通用SNN骨干,代码地址:https://github.com/TheBrainLab/Spikingformer。

英文摘要:

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

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

↑