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

通过脉冲感知数据剪枝实现脉冲神经网络的高效训练

Efficient Training of Spiking Neural Networks by Spike-aware Data Pruning

The Hong Kong Polytechnic University(香港理工大学)

Chenxiang Ma, Xinyi Chen, Yujie Wu, Kay Chen Tan, Jibin Wu

AI总结:

针对脉冲神经网络规模扩张带来的训练开销高、现有数据剪枝方法不适用的问题,提出脉冲感知数据剪枝方法SADP,通过脉冲感知重要性得分高效筛选样本,在保证准确率的同时显著加速训练,为SNN高效扩展提供了数据中心范式。

摘要:

脉冲神经网络(SNNs)被公认为传统人工神经网络(ANNs)的高能效替代方案,随着模型和数据集规模的扩大,其发展十分迅速。然而,这种规模扩张带来了巨大的训练开销,给计算资源有限的研究人员带来了挑战,也阻碍了SNNs的持续发展。数据剪枝是一种通过保留信息量最大的样本、丢弃冗余样本来加速训练的有效策略,但该策略在SNNs领域的研究仍十分匮乏。直接将基于ANN的数据剪枝方法应用于SNNs,无法捕捉样本的内在重要性,还存在梯度方差高的问题。针对这些挑战,我们提出了一种新颖的脉冲感知数据剪枝(SADP)方法。SADP通过将每个样本的选择概率设定为与其梯度范数成正比来降低梯度方差,同时通过一种名为脉冲感知重要性得分的高效上界,避免了直接梯度计算的高昂成本。该得分考虑了“全有或全无”的脉冲对梯度范数的影响,且计算开销可忽略不计。在不同数据集和架构上开展的大量实验表明,SADP的性能始终优于现有数据剪枝基线方法,并且在不同剪枝比例下,训练加速比接近理论最大值。值得注意的是,SADP在ImageNet上将训练时间减少了35%,同时保持了与全量数据训练相当的准确率。因此,本研究为高效SNN训练建立了一种以数据为中心的范式,为SNN向更大模型和数据集规模扩展铺平了道路。源代码将在审稿过程结束后公开发布。

英文摘要:

Spiking neural networks (SNNs), recognized as an energy-efficient alternative to traditional artificial neural networks (ANNs), have advanced rapidly through the scaling of models and datasets. However, such scaling incurs considerable training overhead, posing challenges for researchers with limited computational resources and hindering the sustained development of SNNs. Data pruning is a promising strategy for accelerating training by retaining the most informative examples and discarding redundant ones, but it remains largely unexplored in SNNs. Directly applying ANN-based data pruning methods to SNNs fails to capture the intrinsic importance of examples and suffers from high gradient variance. To address these challenges, we propose a novel spike-aware data pruning (SADP) method. SADP reduces gradient variance by determining each example's selection probability to be proportional to its gradient norm, while avoiding the high cost of direct gradient computation through an efficient upper bound, termed spike-aware importance score. This score accounts for the influence of all-or-nothing spikes on the gradient norm and can be computed with negligible overhead. Extensive experiments across diverse datasets and architectures demonstrate that SADP consistently outperforms data pruning baselines and achieves training speedups close to the theoretical maxima at different pruning ratios. Notably, SADP reduces training time by 35% on ImageNet while maintaining accuracy comparable to that of full-data training. This work, therefore, establishes a data-centric paradigm for efficient SNN training and paves the way for scaling SNNs to larger models and datasets. The source code will be released publicly after the review process.

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

↑