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

具备高效时空动力学的无乘法可并行脉冲神经元

Multiplication-Free Parallelizable Spiking Neurons with Efficient Spatio-Temporal Dynamics

Peng Cheng Laboratory(鹏城实验室);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);School of Electronic and Computer Engineering, Shenzhen Graduate School, Peking University(北京大学深圳研究生院电子与计算机工程学院);School of Computer Science, Peking University(北京大学计算机学院);Centre de Recherche Cerveau et Cognition (CERCO), UMR5549 CNRS–Université Toulouse 3(法国国家科学研究中心-图卢兹第三大学脑与认知研究中心);University of Chinese Academy of Sciences(中国科学院大学)

Peng Xue, Wei Fang, Zhengyu Ma, Zihan Huang, Zhaokun Zhou, Yonghong Tian, Timothée Masquelier, Huihui Zhou

AI总结:

针对现有可并行脉冲神经元模型计算与内存成本高的问题,提出无乘法通道并行脉冲神经元,通过通道卷积、锯齿扩张和位移运算优化,在多数据集上性能优于SOTA且训练速度更快,为资源受限场景提供硬件友好方案。

摘要:

脉冲神经网络(Spiking Neural Networks, SNNs)与人工神经网络(Artificial Neural Networks, ANNs)的区别在于其受生物神经系统启发的复杂神经元动力学和稀疏二值激活(脉冲)。传统神经元模型采用迭代式逐步动力学,导致SNNs计算串行化、训练速度缓慢。近期已有可并行脉冲神经元模型被提出,以充分利用图形处理器的大规模并行计算能力加速SNNs训练。但现有可并行脉冲神经元模型涉及密集浮点运算,且仅能在大阶数下实现强长期依赖学习能力,代价是极高的计算与内存成本。为解决性能与成本的矛盾,我们提出无乘法通道并行脉冲神经元(mul-free channel-wise Parallel Spiking Neuron),该模型硬件友好,适用于SNNs的资源受限应用场景。所提神经元引入通道卷积增强学习能力,采用锯齿扩张降低神经元阶数,并使用位移运算避免乘法运算。本文深入讨论了加速方法的设计与实现算法。我们的方法在神经形态Spiking Heidelberg Digits语音数据集、序列CIFAR图像数据集以及神经形态DVS-Lip视觉数据集上得到验证,性能优于当前最优(SOTA)脉冲神经元。训练速度结果证明了我们加速方法的有效性,为未来研究提供了实用参考。我们的代码可在Github获取:https://github.com/PengXue0812/Multiplication-Free-Parallelizable-Spiking-Neurons-with-Efficient-Spatio-Temporal-Dynamics。

英文摘要:

Spiking Neural Networks (SNNs) are distinguished from Artificial Neural Networks (ANNs) for their complex neuronal dynamics and sparse binary activations (spikes) inspired by the biological neural system. Traditional neuron models use iterative step-by-step dynamics, resulting in serial computation and slow training speed of SNNs. Recently, parallelizable spiking neuron models have been proposed to fully utilize the massive parallel computing ability of graphics processing units to accelerate the training of SNNs. However, existing parallelizable spiking neuron models involve dense floating operations and can only achieve high long-term dependencies learning ability with a large order at the cost of huge computational and memory costs. To solve the dilemma of performance and costs, we propose the mul-free channel-wise Parallel Spiking Neuron, which is hardware-friendly and suitable for SNNs' resource-restricted application scenarios. The proposed neuron imports the channel-wise convolution to enhance the learning ability, induces the sawtooth dilations to reduce the neuron order, and employs the bit-shift operation to avoid multiplications. The algorithm for the design and implementation of acceleration methods is discussed extensively. Our methods are validated in neuromorphic Spiking Heidelberg Digits voices, sequential CIFAR images, and neuromorphic DVS-Lip vision datasets, achieving superior performance over SOTA spiking neurons. Training speed results demonstrate the effectiveness of our acceleration methods, providing a practical reference for future research. Our code is available at \href{https://github.com/PengXue0812/Multiplication-Free-Parallelizable-Spiking-Neurons-with-Efficient-Spatio-Temporal-Dynamics}{Github}.

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

↑