arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.01208cs.NE
收藏

掩码脉冲Transformer

Masked Spiking Transformer

Ziqing Wang, Yuetong Fang, Jiahang Cao, Qiang Zhang, Zhongrui Wang, Renjing Xu

AI总结:

本文提出结合ANN-to-SNN转换与随机脉冲掩码的Masked Spiking Transformer,在保持性能的同时将功耗降低26.8%。

摘要:

脉冲神经网络(SNN)与Transformer的结合因其高能效潜力和高性能特性而受到广泛关注。然而,现有相关工作通常依赖直接训练,这可能导致性能欠佳。为解决这一问题,本文提出利用ANN到SNN转换方法的优势来结合SNN与Transformer,从而相较现有最先进的SNN模型显著提升性能。此外,受神经系统中观察到的量子突触失效现象启发——该现象会减少通过突触传递的脉冲数量——我们提出一种新颖的掩码脉冲Transformer(MST)框架,其中纳入随机脉冲掩码(RSM)方法,以在不牺牲性能的情况下剪除冗余脉冲并降低能耗。实验结果表明,所提出的MST模型在掩码比例为75%时实现了26.8%的显著功耗降低,同时保持与未掩码模型相同的性能水平。

英文摘要:

The combination of Spiking Neural Networks (SNNs) and Transformers has attracted significant attention due to their potential for high energy efficiency and high-performance nature. However, existing works on this topic typically rely on direct training, which can lead to suboptimal performance. To address this issue, we propose to leverage the benefits of the ANN-to-SNN conversion method to combine SNNs and Transformers, resulting in significantly improved performance over existing state-of-the-art SNN models. Furthermore, inspired by the quantal synaptic failures observed in the nervous system, which reduces the number of spikes transmitted across synapses, we introduce a novel Masked Spiking Transformer (MST) framework that incorporates a Random Spike Masking (RSM) method to prune redundant spikes and reduce energy consumption without sacrificing performance. Our experimental results demonstrate that the proposed MST model achieves a significant reduction of 26.8% in power consumption when the masking ratio is 75% while maintaining the same level of performance as the unmasked model.

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

↑