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

脉冲神经网络中的并行训练

Parallel Training in Spiking Neural Networks

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Future Technology, University of Chinese Academy of Sciences(中国科学院大学未来技术学院);School of Computer Science, Fudan University(复旦大学计算机科学技术学院)

Yanbin Huang, Man Yao, Yuqi Pan, Changze Lv, Siyuan Xu, Xiaoqing Zheng, Bo Xu, Guoqi Li

AI总结:

本文提出了一种动态衰减脉冲神经元,通过去除重置机制实现并行训练,同时保持串行推断能力,提升了训练效率和通用性。

摘要:

生物启发的整合-放电-重置机制构成了脉冲神经网络(SNNs)高效处理的基础。近年来,大模型的进步要求脉冲神经元支持高度并行计算,以在现代GPU上高效扩展。本文提出了一种新的功能视角,为设计并行脉冲神经元提供一般指导。我们认为,重置机制会引发复杂的时序依赖并阻碍并行训练,应予以去除。然而,任何此类修改必须满足两个原则:1)保留重置作为核心生物机制的功能;2)实现并行训练而不牺牲脉冲神经元的串行推断能力,这决定了其在测试时的效率。为此,我们识别了重置的功能,并分析了如何在并行训练与串行推断之间取得平衡,进而提出了一种动态衰减脉冲神经元。我们在三个方面对我们的方法进行了全面测试:1)训练效率和外推能力。在16k长度的序列上,我们比开创性的并行脉冲神经元实现了25.6倍的训练加速,且我们的模型在2k长度上训练后,可以稳定地在30k长度的序列上进行推断。2)通用性。我们展示了所提出方法在五个任务类别(图像分类、神经形态事件处理、时间序列预测、语言模型和强化学习)、三种网络架构(脉冲CNN/Transformer/SSMs)和两种脉冲激活模式(脉冲/整数激活)上的一致有效性。3)能耗。我们的神经元的脉冲放电比传统和现有并行脉冲神经元更低。

英文摘要:

The bio-inspired integrate-fire-reset mechanism of spiking neurons constitutes the foundation for efficient processing in Spiking Neural Networks (SNNs). Recent progress in large models demands that spiking neurons support highly parallel computation to scale efficiently on modern GPUs. This work proposes a novel functional perspective that provides general guidance for designing parallel spiking neurons. We argue that the reset mechanism, which induces complex temporal dependencies and hinders parallel training, should be removed. However, any such modification should satisfy two principles: 1) preserving the functions of reset as a core biological mechanism; and 2) enabling parallel training without sacrificing the serial inference ability of spiking neurons, which underpins their efficiency at test time. To this end, we identify the functions of the reset and analyze how to reconcile parallel training with serial inference, upon which we propose a dynamic decay spiking neuron. We conduct comprehensive testing of our method in terms of: 1) Training efficiency and extrapolation capability. On 16k-length sequences, we achieve a 25.6x training speedup over the pioneering parallel spiking neuron, and our models trained on 2k-length can stably perform inference on sequences as long as 30k. 2) Generality. We demonstrate the consistent effectiveness of the proposed method across five task categories (image classification, neuromorphic event processing, time-series forecasting, language modeling, and reinforcement learning), three network architectures (spiking CNN/Transformer/SSMs), and two spike activation modes (spike/integer activation). 3) Energy consumption. The spiking firing of our neuron is lower than that of vanilla and existing parallel spiking neurons.

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

↑