Comprehensive SNN Compression Using ADMM Optimization and Activity Regularization
Tsinghua University(清华大学);University of California, Santa Barbara(加州大学圣塔芭芭拉分校);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)
As well known, the huge memory and compute costs of both artificial neural networks (ANNs) and spiking neural networks (SNNs) greatly hinder their deployment on edge devices with high efficiency. Model compression has been proposed as a promising technique to improve the running efficiency via parameter and operation reduction. Whereas, this technique is mainly practiced in ANNs rather than SNNs. It is interesting to answer how much an SNN model can be compressed without compromising its functionality, where two challenges should be addressed: i) the accuracy of SNNs is usually sensitive to model compression, which requires an accurate compression methodology; ii) the computation of SNNs is event-driven rather than static, which produces an extra compression dimension on dynamic spikes. To this end, we realize a comprehensive SNN compression through three steps. First, we formulate the connection pruning and weight quantization as a constrained optimization problem. Second, we combine spatio-temporal backpropagation (STBP) and alternating direction method of multipliers (ADMM) to solve the problem with minimum accuracy loss. Third, we further propose activity regularization to reduce the spike events for fewer active operations. These methods can be applied in either a single way for moderate compression or a joint way for aggressive compression. We define several quantitative metrics to evaluation the compression performance for SNNs. Our methodology is validated in pattern recognition tasks over MNIST, N-MNIST, CIFAR10, and CIFAR100 datasets, where extensive comparisons, analyses, and insights are provided. To our best knowledge, this is the first work that studies SNN compression in a comprehensive manner by exploiting all compressible components and achieves better results.
Department of Information Engineering (DEI), University of Padova, Italy(帕多瓦大学信息工程系);Department of Information Engineering (DII), University of Brescia, Italy(布雷西亚大学信息工程系);Department of Methematics ``Tullio-Levi Civita'', University of Padova, Italy(帕多瓦大学数学系)
Progressive DNN Compression: A Key to Achieve Ultra-High Weight Pruning and Quantization Rates using ADMM
Sensetime Research(商汤科技研究院);Tsinghua University(清华大学);Syracuse University(雪城大学);Northeastern University(东北大学);Florida International University(佛罗里达国际大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);IBM Research(IBM研究院)
权值修剪和权值量化是DNN模型压缩的两个重要方面。这些技术的先前工作主要基于化学。最近的一项工作使用先进的优化技术ADMM(Alternating Direction Methods of Multipliers)开发了DNN权重修剪的系统框架,实现了最先进的权重修剪结果之一。在这项工作中,我们首先扩展这样的一杆ADMM为基础的框架,以保证解决方案的可行性,并提供快速收敛速度,以及推广到权重量化。我们进一步开发了一个多步骤的渐进式DNN权重修剪和量化框架,具有双重好处:(i)由于ADMM正则化的特殊属性,实现了进一步的权重修剪/量化,以及(ii)减少了每个步骤中的搜索空间。大量的实验结果表明,与以前的工作相比,优越的性能。一些亮点:(i)我们分别在LeNet-5、AlexNet和ResNet-50模型上实现了246倍、36倍和8倍的权重修剪,(几乎)零精度损失;(ii)在AlexNet中甚至实现了显著的61倍权重修剪(ImageNet)与先前的工作相比,实际准确性仅略有下降;(iii)我们是第一批为ResNet和MobileNet模型得出显着权重修剪结果的人之一;(iv)我们为MNIST和CIFAR-10分别导出了第一个无损的、完全二进制化的(所有层)LeNet-5和VGG-16;以及(v)我们为ImageNet导出了第一个完全二进制化的(所有层)ResNet,具有合理的准确性损失…
Progressive Weight Pruning of Deep Neural Networks using ADMM
Syracuse University(雪城大学);Northeastern University(东北大学);George Mason University(乔治梅森大学);MIT-IBM Watson AI Lab, IBM Research(IBM研究院MIT-IBM沃森人工智能实验室)
深度神经网络(DNN)虽然在许多领域实现了人类水平的性能,但具有非常大的模型大小,这阻碍了它们在边缘计算设备上的更广泛应用。已经对DNN模型压缩或修剪进行了广泛的研究工作。然而,大多数以前的工作采取启发式的方法。本文提出了一种基于ADMM(Alternating Direction Method of Multipliers,交替方向乘法)的渐进式权重剪枝方法,该方法是处理具有潜在组合约束的非凸优化问题的一种强有力的技术。该方法受动态规划的启发,通过使用具有中等剪枝率的部分剪枝,达到了极高的剪枝率。因此,它解决了精度下降和收敛时间长的问题时,追求极高的剪枝率。它对ImageNet数据集的剪枝率高达34倍,对MNIST数据集的剪枝率高达167倍,显著高于文献工作所达到的剪枝率。在相同的迭代次数下,该方法具有更快的收敛速度和更高的压缩比。代码和修剪的DNN模型在链接bit.ly/2zxdlss中发布
Adaptive Sparse Structure Development with Pruning and Regeneration for Spiking Neural Networks
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences(中国科学院脑科学与智能技术卓越创新中心)
BASC : Behavior-Aligned Quantization and Pruning for Low-Bit Spiking Neural Networks
Hangzhou International Innovation Institute, Beihang University(北京航空航天大学杭州创新研究院);School of Mathematical Sciences, Peking University(北京大学数学科学学院);Beihang University(北京航空航天大学)
Spiking Neural Network for Ultra-low-latency and High-accurate Object Detection
Institute of Automation, Chinese Academy of Sciences (CASIA)(中国科学院自动化研究所);University of Chinese Academy of Sciences (UCAS)(中国科学院大学);Zhejiang University(浙江大学)
Towards Efficient Deep Spiking Neural Networks Construction with Spiking Activity based Pruning
School of Computer Science and Technology, Dalian University of Technology(大连理工大学计算机科学与技术学院);Guangdong Laboratory of Artificial Intelligence and Digital Economy(广东省人工智能与数字经济实验室);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Centre for Systems Engineering and Innovation, Imperial College London(伦敦帝国理工学院系统工程与创新中心)
Developmental Plasticity-inspired Adaptive Pruning for Deep Spiking and Artificial Neural Networks
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Center for Long-term Artificial Intelligence(长期人工智能中心);Key Laboratory of Brain Cognition and Brain-inspired Intelligence Technology, Chinese Academy of Sciences(中国科学院脑认知与脑启发智能技术重点实验室);School of Future Technology, University of Chinese Academy of Sciences(中国科学院大学未来技术学院)
本文提出受大脑发育可塑性启发的 DPAP 自适应剪枝方法,融合树突棘、脉冲痕迹与局部突触可塑性,在无需预训练或再训练的情况下动态压缩深度 ANN 与 SNN,并取得显著性能、速度提升及 SOTA 结果。
enpheeph: A Fault Injection Framework for Spiking and Compressed Deep Neural Networks
Technische Universität Wien(维也纳工业大学);New York University Abu Dhabi(纽约大学阿布扎比分校)
对深度神经网络(DNN)的研究集中在提高现实世界部署的性能和准确性,从而产生了新的模型,例如脉冲神经网络(SNN)和优化技术,例如,压缩网络的量化和修剪。然而,这些创新模型和优化技术的部署引入了可能的可靠性问题,这是DNN在安全关键应用中广泛使用的支柱,例如,自动驾驶此外,扩展技术节点具有同时发生多个故障的相关风险,这种可能性在最先进的弹性分析中没有得到解决。为了更好地分析DNN的可靠性,我们提出了enpheeph,一个用于尖峰和压缩DNN的故障注入框架。enpheeph框架能够在专用硬件设备上优化执行,例如,GPU,同时提供完整的可定制性来研究不同的故障模型,模拟各种可靠性约束和用例。因此,可以在SNN以及压缩网络上执行故障,对底层代码进行最小到零的修改,这是其他最先进的工具无法实现的。为了评估我们的enpheeph框架,我们分析了不同DNN和SNN模型的弹性,以及不同的压缩技术。通过注入随机和增加数量的故障,我们表明DNN可以显示出准确性的降低,每个参数的故障率低至7 x 10 ^(-7)个故障,准确性下降超过40%。执行enpheeph时的运行时开销小于并发执行100000个错误时的基线执行时间的20%,至少比最先进的框架低10倍,使enpheeph在复杂的错误注入场景中经得起未来的考验。我们在https://github.com/Alexei95/enpheeph上发布en…