扩展脉冲驱动Transformer的高效脉冲发放近似训练
Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training
AI总结:
本研究提出脉冲发放近似(SFA)训练方法及高效脉冲驱动Transformer架构,在ImageNet-1k上以10M-173M参数模型取得78.5%-86.2%的顶尖准确率,显著超越现有SNN,同时加速训练和推理,缩小与ANN的性能差距。
摘要:
受大脑启发的脉冲神经网络(SNNs)的目标是成为传统人工神经网络(ANNs)的低功耗替代方案。本研究解决了实现这一愿景的两个主要挑战:SNNs与ANNs之间的性能差距,以及SNNs的高训练成本。我们识别了由二元发放机制引起的脉冲神经元的内在缺陷,并提出了一种使用整数训练和脉冲驱动推理的脉冲发放近似(SFA)方法。该方法优化了脉冲神经元的脉冲发放模式,增强了高效训练,降低了功耗,提高了性能,使得更容易扩展,并更好地利用神经形态芯片。我们还开发了一种高效的脉冲驱动Transformer架构和一个脉冲掩码自编码器,以防止SNN扩展过程中的性能下降。在ImageNet-1k上,我们分别使用包含10M、19M、83M和173M参数的模型实现了78.5%、79.8%、84.0%和86.2%的最先进的top-1准确率。例如,10M模型在ImageNet上比现有最佳SNN高出7.2%,训练时间加速和推理能效分别提高了4.5倍和3.9倍。我们在各种任务上验证了所提出方法的有效性和效率,包括目标检测、语义分割和神经形态视觉任务。这项工作使SNNs能够匹配ANN性能,同时保持低功耗优势,标志着SNNs作为通用视觉骨干的重要一步。代码可在https://github.com/BICLab/Spike-Driven-Transformer-V3获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。