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

通过基于速率的反向传播提升深度脉冲神经网络的训练效率

Advancing Training Efficiency of Deep Spiking Neural Networks through Rate-based Backpropagation

College of Information Science and Electronic Engineering, Zhejiang University(浙江大学信息与电子工程学院);ZJU-UIUC Institute, Zhejiang University(浙江大学-伊利诺伊大学厄巴纳-香槟分校联合学院)

Chengting Yu, Lei Liu, Gaoang Wang, Erping Li, Aili Wang

AI总结:

本文提出基于速率的反向传播方法,通过利用速率编码表示简化计算图,在保持与BPTT相当性能的同时显著降低深度脉冲神经网络训练的内存和计算开销。

摘要:

近期研究揭示,在训练深度脉冲神经网络(SNNs)时,速率编码是基于代理梯度的随时间反向传播(BPTT)所捕获的主要信息表示形式。受这些发现启发,我们提出了基于速率的反向传播,这是一种专门设计用于利用基于速率的表示来降低BPTT复杂度的训练策略。我们的方法通过聚焦于平均动态来最小化对详细时间导数的依赖,从而简化计算图,降低SNNs训练的内存和计算需求。我们通过理论分析和经验观察,证实了BPTT与所提方法之间梯度近似的合理性。在CIFAR-10、CIFAR-100、ImageNet和CIFAR10-DVS上的综合实验验证了我们的方法能够达到与BPTT对应方法相当的性能,并超越了最先进的高效训练技术。通过利用速率编码的固有优势,这项工作为在资源受限环境中实现更具可扩展性和更高效的SNNs训练奠定了基础。我们的代码可在 https://github.com/Tab-ct/rate-based-backpropagation 获取。

英文摘要:

Recent insights have revealed that rate-coding is a primary form of information representation captured by surrogate-gradient-based Backpropagation Through Time (BPTT) in training deep Spiking Neural Networks (SNNs). Motivated by these findings, we propose rate-based backpropagation, a training strategy specifically designed to exploit rate-based representations to reduce the complexity of BPTT. Our method minimizes reliance on detailed temporal derivatives by focusing on averaged dynamics, streamlining the computational graph to reduce memory and computational demands of SNNs training. We substantiate the rationality of the gradient approximation between BPTT and the proposed method through both theoretical analysis and empirical observations. Comprehensive experiments on CIFAR-10, CIFAR-100, ImageNet, and CIFAR10-DVS validate that our method achieves comparable performance to BPTT counterparts, and surpasses state-of-the-art efficient training techniques. By leveraging the inherent benefits of rate-coding, this work sets the stage for more scalable and efficient SNNs training within resource-constrained environments. Our code is available at https://github.com/Tab-ct/rate-based-backpropagation.

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

↑