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

基于局部零阶方法的SNN能量有效训练

Energy Efficient Training of SNN using Local Zeroth Order Method

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Technology Innovation Institute(技术创新研究院)

Bhaskar Mukhoty, Velibor Bojkovic, William de Vazelhes, Giulia De Masi, Huan Xiong, Bin Gu

摘要:

脉冲神经网络由于其在实际任务中的低能量需求和与传统ANN相当的精度而变得越来越受欢迎。SNN训练算法面临梯度信息的丢失和不可微性,这是由于Heaviside函数在最小化模型参数上的模型损失。为了避免这个问题,代理方法在向后传递中使用Heaviside的可微近似,而向前传递使用Heaviside作为尖峰函数。我们建议在神经元水平上使用零阶技术来解决这种二分法,并在自动微分工具中使用它。因此,我们建立了一个理论上的联系,建议的本地零阶技术和现有的代理方法,反之亦然。所提出的方法自然适用于在GPU上对SNN进行节能训练。神经形态数据集的实验结果表明,这种实现需要不到1%的神经元在向后传递中处于活动状态,从而使向后计算时间加速100倍。与最先进的节能技术相比,我们的方法提供了更好的泛化能力,同时保持了相似的效率。

英文摘要:

Spiking neural networks are becoming increasingly popular for their low energy requirement in real-world tasks with accuracy comparable to the traditional ANNs. SNN training algorithms face the loss of gradient information and non-differentiability due to the Heaviside function in minimizing the model loss over model parameters. To circumvent the problem surrogate method uses a differentiable approximation of the Heaviside in the backward pass, while the forward pass uses the Heaviside as the spiking function. We propose to use the zeroth order technique at the neuron level to resolve this dichotomy and use it within the automatic differentiation tool. As a result, we establish a theoretical connection between the proposed local zeroth-order technique and the existing surrogate methods and vice-versa. The proposed method naturally lends itself to energy-efficient training of SNNs on GPUs. Experimental results with neuromorphic datasets show that such implementation requires less than 1 percent neurons to be active in the backward pass, resulting in a 100x speed-up in the backward computation time. Our method offers better generalization compared to the state-of-the-art energy-efficient technique while maintaining similar efficiency.

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

↑