arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.19645cs.NE
收藏

使用稀疏代理梯度直接训练时间脉冲神经网络

Directly Training Temporal Spiking Neural Network with Sparse Surrogate Gradient

Yang Li, Feifei Zhao, Dongcheng Zhao, Yi Zeng

AI总结:

本文提出掩码代理梯度(MSGs)和时间加权输出(TWO)方法,平衡训练有效性与梯度稀疏性,提升SNNs泛化能力,实验证明其超越现有SOTA技术。

摘要:

脑启发脉冲神经网络(SNNs)因其基于事件的计算和节能特性而备受关注。然而,脉冲的全或无特性阻碍了SNNs在各种应用中的直接训练。代理梯度(SG)算法最近使脉冲神经网络在神经形态硬件中大放异彩。然而,引入代理梯度导致SNNs失去了原有的稀疏性,从而可能导致性能损失。在本文中,我们首先分析了使用SGs进行直接训练的当前问题,然后提出了掩码代理梯度(MSGs)来平衡训练的有效性和梯度的稀疏性,从而提高SNNs的泛化能力。此外,我们引入了一种时间加权输出(TWO)方法来解码网络输出,强化正确时间步的重要性。在多种网络结构和数据集上的大量实验表明,使用MSG和TWO进行训练超越了SOTA技术。

英文摘要:

Brain-inspired Spiking Neural Networks (SNNs) have attracted much attention due to their event-based computing and energy-efficient features. However, the spiking all-or-none nature has prevented direct training of SNNs for various applications. The surrogate gradient (SG) algorithm has recently enabled spiking neural networks to shine in neuromorphic hardware. However, introducing surrogate gradients has caused SNNs to lose their original sparsity, thus leading to the potential performance loss. In this paper, we first analyze the current problem of direct training using SGs and then propose Masked Surrogate Gradients (MSGs) to balance the effectiveness of training and the sparseness of the gradient, thereby improving the generalization ability of SNNs. Moreover, we introduce a temporally weighted output (TWO) method to decode the network output, reinforcing the importance of correct timesteps. Extensive experiments on diverse network structures and datasets show that training with MSG and TWO surpasses the SOTA technique.

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

↑