从轻量级CNN到SpikeNets:通过剪枝的Spike SqueezeNet进行精度-能耗权衡的基准测试
From Lightweight CNNs to SpikeNets: Benchmarking Accuracy-Energy Tradeoffs with Pruned Spiking SqueezeNet
AI总结:
本文通过剪枝Spike SqueezeNet,展示了轻量级SNN在边缘部署中高能效与高精度的平衡能力。
摘要:
脉冲神经网络(SNNs)正逐渐被研究作为比卷积神经网络(CNNs)更节能的替代方案,特别是在边缘智能领域。然而,先前的工作大多强调大规模模型,使得轻量级CNN到SNN管道的设计和评估仍处于探索阶段。在本文中,我们提出了第一个系统性的基准测试,评估通过将紧凑型CNN架构转换为脉冲网络所获得的轻量级SNNs,其中激活被建模为Leaky-Integrate-and-Fire(LIF)神经元,并使用替代梯度下降法进行训练。我们构建了ShuffleNet、SqueezeNet、MnasNet和MixNet的脉冲变体,并在CIFAR-10、CIFAR-100和TinyImageNet上进行评估,测量精度、F1分数、参数数量、计算复杂度和能耗。我们的结果表明,SNNs可以比其CNN对应物提高高达15.7倍的能耗效率,同时保持具有竞争力的精度。其中,SqueezeNet的SNN变体在其他轻量级SNNs中表现最为突出。为了进一步优化此模型,我们应用了一种结构化剪枝策略,移除整个冗余模块,得到一个剪枝架构,SNN-SqueezeNet-P。此剪枝模型将CIFAR-10的精度提高了6%,参数减少了19%,相比原始SNN-SqueezeNet。关键的是,它缩小了与CNN-SqueezeNet之间的差距,达到几乎相同的精度(仅低1%),但因稀疏脉冲驱动计算,能耗减少了88.1%。这些发现确立了轻量级SNNs作为边缘部署的实用低功耗替代方案,突显了一条可行的路径,用于在边缘部署高性能、低功耗的智能。
英文摘要:
Spiking Neural Networks (SNNs) are increasingly studied as energy-efficient alternatives to Convolutional Neural Networks (CNNs), particularly for edge intelligence. However, prior work has largely emphasized large-scale models, leaving the design and evaluation of lightweight CNN-to-SNN pipelines underexplored. In this paper, we present the first systematic benchmark of lightweight SNNs obtained by converting compact CNN architectures into spiking networks, where activations are modeled with Leaky-Integrate-and-Fire (LIF) neurons and trained using surrogate gradient descent under a unified setup. We construct spiking variants of ShuffleNet, SqueezeNet, MnasNet, and MixNet, and evaluate them on CIFAR-10, CIFAR-100, and TinyImageNet, measuring accuracy, F1-score, parameter count, computational complexity, and energy consumption. Our results show that SNNs can achieve up to 15.7x higher energy efficiency than their CNN counterparts while retaining competitive accuracy. Among these, the SNN variant of SqueezeNet consistently outperforms other lightweight SNNs. To further optimize this model, we apply a structured pruning strategy that removes entire redundant modules, yielding a pruned architecture, SNN-SqueezeNet-P. This pruned model improves CIFAR-10 accuracy by 6% and reduces parameters by 19% compared to the original SNN-SqueezeNet. Crucially, it narrows the gap with CNN-SqueezeNet, achieving nearly the same accuracy (only 1% lower) but with an 88.1% reduction in energy consumption due to sparse spike-driven computations. Together, these findings establish lightweight SNNs as practical, low-power alternatives for edge deployment, highlighting a viable path toward deploying high-performance, low-power intelligence on the edge.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。