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

脉冲神经网络的时空搜索

Spatial-Temporal Search for Spiking Neural Networks

Kaiwei Che, Zhaokun Zhou, Li Yuan, Jianguo Zhang, Yonghong Tian, Luziwei Leng

AI总结:

提出面向SNN的可微时空神经架构搜索方法,在空间上用SpikeDHS和DGS优化操作与替代梯度,在时间上演化神经元时间常数并构建SNN-ANN混合网络,取得优异精度与能效。

摘要:

脉冲神经网络(SNN)凭借稀疏计算和固有时间动态等吸引人的特性,被认为是下一代人工智能的潜在候选者。通过采用人工神经网络(ANN)的架构,SNN在图像分类等基准任务上取得了具有竞争力的性能。然而,成功的ANN架构对SNN而言并非最优。在本工作中,我们应用神经架构搜索(NAS)来为SNN寻找合适的架构。以往面向SNN的NAS方法主要关注空间维度,明显缺乏对时间动态的考虑,而时间动态对SNN至关重要。受生物神经网络异质性的启发,我们提出一种可微方法,在空间和时间两个维度上优化SNN。在空间层面,我们开发了基于脉冲的可微分层搜索(SpikeDHS)框架,其中基于脉冲的操作在计算约束下于单元和层两个层级进行优化。我们进一步提出可微替代梯度搜索(DGS)方法,在训练过程中独立演化局部SG函数。在时间层面,我们通过演化不同类型脉冲神经元的时间常数,探索其多样时间动态的最优配置,并在此基础上进一步开发结合SNN与ANN的混合网络,兼顾精度与效率。我们的方法在CIFAR10/100和ImageNet上取得了可比的分类性能,准确率分别为96.43%、78.96%和70.21%。在基于事件的深度立体匹配上,我们的方法找到了最优的层间变化,并以低26倍的计算成本(6.7 mJ)超过专门设计的ANN的准确率,展示了SNN在处理高度稀疏和动态信号方面的潜力。

英文摘要:

Spiking Neural Networks (SNNs) are considered as a potential candidate for the next generation of artificial intelligence with appealing characteristics such as sparse computation and inherent temporal dynamics. By adopting architectures of Artificial Neural Networks (ANNs), SNNs achieve competitive performances on benchmark tasks like image classification. However, successful architectures of ANNs are not optimal for SNNs. In this work, we apply Neural Architecture Search (NAS) to find suitable architectures for SNNs. Previous NAS methods for SNNs focus primarily on the spatial dimension, with a notable lack of consideration for the temporal dynamics that are of critical importance for SNNs. Drawing inspiration from the heterogeneity of biological neural networks, we propose a differentiable approach to optimize SNN on both spatial and temporal dimensions. At spatial level, we have developed a spike-based differentiable hierarchical search (SpikeDHS) framework, where spike-based operation is optimized on both the cell and the layer level under computational constraints. We further propose a differentiable surrogate gradient search (DGS) method to evolve local SG functions independently during training. At temporal level, we explore an optimal configuration of diverse temporal dynamics on different types of spiking neurons by evolving their time constants, based on which we further develop hybrid networks combining SNN and ANN, balancing both accuracy and efficiency. Our methods achieve comparable classification performance of CIFAR10/100 and ImageNet with accuracies of 96.43%, 78.96%, and 70.21%, respectively. On event-based deep stereo, our methods find optimal layer variation and surpass the accuracy of specially designed ANNs with 26$\times$ lower computational cost ($6.7\mathrm{mJ}$), demonstrating the potential of SNN in processing highly sparse and dynamic signals.

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

↑