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

脉冲神经网络中Quantization的硬件影响和权值修剪

The Hardware Impact of Quantization and Pruning for Weights in Spiking Neural Networks

University of Notre Dame(圣母大学)

Clemens JS Schaefer, Pooria Taheri, Mark Horeni, Siddharth Joshi

摘要:

脉冲神经网络(SNN)的能量高效实现和部署已经引起了极大的兴趣,这是由于开发能够实现生物大脑的计算能力和能量效率的人工系统的可能性。SNN在现代数字硬件上的高效实现也受到机器学习和深度神经网络(DNN)的进步的启发。在DNN的有效部署中广泛采用的两种技术-参数的量化和修剪,可以压缩模型大小,减少内存占用,并促进低延迟执行。量化和修剪之间的相互作用以及它们如何影响SNN加速器上的模型性能目前尚不清楚。我们研究了各种组合的修剪和量化的隔离,累积,并同时(联合)到一个国家的最先进的SNN目标的动态视觉传感器相机(DVS)的手势识别。我们表明,这种国家的最先进的模型是服从积极的参数量化,没有遭受任何损失的准确性下降到三元权重。然而,修剪仅保持高达80%稀疏度的等精度,这导致比我们的建筑模型上的最佳量化多45%的能量。应用修剪和量化两者可能导致准确度损失,以针对给定硬件配置在能量准确度帕累托边界上提供有利的折衷。

英文摘要:

Energy efficient implementations and deployments of Spiking neural networks (SNNs) have been of great interest due to the possibility of developing artificial systems that can achieve the computational powers and energy efficiency of the biological brain. Efficient implementations of SNNs on modern digital hardware are also inspired by advances in machine learning and deep neural networks (DNNs). Two techniques widely employed in the efficient deployment of DNNs -- the quantization and pruning of parameters, can both compress the model size, reduce memory footprints, and facilitate low-latency execution. The interaction between quantization and pruning and how they might impact model performance on SNN accelerators is currently unknown. We study various combinations of pruning and quantization in isolation, cumulatively, and simultaneously (jointly) to a state-of-the-art SNN targeting gesture recognition for dynamic vision sensor cameras (DVS). We show that this state-of-the-art model is amenable to aggressive parameter quantization, not suffering from any loss in accuracy down to ternary weights. However, pruning only maintains iso-accuracy up to 80% sparsity, which results in 45% more energy than the best quantization on our architectural model. Applying both pruning and quantization can result in an accuracy loss to offer a favourable trade-off on the energy-accuracy Pareto-frontier for the given hardware configuration.

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

↑