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

脉冲神经网络量化超越精度

Quantization of Spiking Neural Networks Beyond Accuracy

Worcester Polytechnic Institute(沃斯特理工大学)

Evan Gibson Smith, Jacob Whitehill, Fatemeh Ganji

AI总结:

研究探讨了脉冲神经网络量化中行为保持与精度的关系,提出EMD作为评估指标,发现统一量化会导致分布偏移,而学习量化能保持行为。

摘要:

量化是脉冲神经网络稀疏事件驱动计算的自然补充,能降低内存带宽和算术成本以适应资源受限硬件。然而,现有SNN量化评估几乎只关注精度,忽略了量化网络是否保持其全精度对应物的放电行为。我们证明量化方法、截断范围和位宽在等效精度下会产生显著不同的放电分布,这些差异对标准指标不可见,但对部署相关,如有效稀疏性、状态存储和事件处理负载。为填补这一差距,我们提出地球移动距离作为放电分布差异的诊断度量,并系统应用于SEW-ResNet架构上的权重和膜量化,训练于CIFAR-10和CIFAR-100。我们发现统一量化即使在精度保持时也会导致分布偏移,而LQ-Net风格的学习量化能保持行为接近全精度基线。我们的结果表明,行为保持应作为精度的评估标准,EMD提供了评估其的原理工具。

英文摘要:

Quantization is a natural complement to the sparse, event-driven computation of Spiking Neural Networks, reducing memory bandwidth and arithmetic cost for deployment on resource-constrained hardware. However, existing SNN quantization evaluation focuses almost exclusively on accuracy, overlooking whether a quantized network preserves the firing behavior of its full-precision counterpart. We demonstrate that quantization method, clipping range, and bit-width can produce substantially different firing distributions at equivalent accuracy, differences invisible to standard metrics but relevant to deployment, where firing activity governs effective sparsity, state storage, and event-processing load. To capture this gap, we propose Earth Mover's Distance as a diagnostic metric for firing distribution divergence, and apply it systematically across weight and membrane quantization on SEW-ResNet architectures trained on CIFAR-10 and CIFAR-100. We find that uniform quantization induces distributional drift even when accuracy is preserved, while LQ-Net style learned quantization maintains firing behavior close to the full-precision baseline. Our results suggest that behavior preservation should be treated as an evaluation criterion alongside accuracy, and that EMD provides a principled tool for assessing it.

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

↑