arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.07875cs.LGstat.ML
收藏

有效神经网络剪枝的激活和权值联合正则化

Joint Regularization on Activations and Weights for Efficient Neural Network Pruning

Duke University(杜克大学);Black Sesame Technologies(黑芝麻科技)

Qing Yang, Wei Wen, Zuoguan Wang, Hai Li

摘要:

随着深度神经网络(DNN)的快速扩展,已经对诸如权重修剪的网络模型压缩进行了广泛的研究,以提高部署效率。这项工作的目的是推进压缩超出神经元激活的权重。我们提出了联合正则化技术,同时调节权重和激活的分布。通过区分和利用学习过程中神经元响应和连接之间的显著性差异,联合修剪网络(即\textit{JPnet})优化了激活和权重的稀疏性,以提高执行效率。JPnet的深度稀疏化揭示了专用于稀疏矩阵运算的现有DNN加速器的更多优化空间。我们通过具有不同激活函数和不同数据集的各种网络模型,彻底评估了联合正则化的有效性。通过对推理精度的$0.4\%$降级约束,与原始密集模型相比,JPnet可以节省$72.3\% \sim 98.8\%$的计算成本,分别在激活数和权重数上减少多达$5.2\times$和$12.3\times$。

英文摘要:

With the rapid scaling up of deep neural networks (DNNs), extensive research studies on network model compression such as weight pruning have been performed for improving deployment efficiency. This work aims to advance the compression beyond the weights to neuron activations. We propose the joint regularization technique which simultaneously regulates the distribution of weights and activations. By distinguishing and leveraging the significance difference among neuron responses and connections during learning, the jointly pruned network, namely \textit{JPnet}, optimizes the sparsity of activations and weights for improving execution efficiency. The derived deep sparsification of JPnet reveals more optimization space for the existing DNN accelerators dedicated for sparse matrix operations. We thoroughly evaluate the effectiveness of joint regularization through various network models with different activation functions and on different datasets. With $0.4\%$ degradation constraint on inference accuracy, a JPnet can save $72.3\% \sim 98.8\%$ of computation cost compared to the original dense models, with up to $5.2\times$ and $12.3\times$ reductions in activation and weight numbers, respectively.

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

↑