arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2302.05601cs.LG
收藏

从稀疏性视角剪枝深度神经网络

Pruning Deep Neural Networks from a Sparsity Perspective

Duke University(杜克大学);University of Minnesota(明尼苏达大学)

Enmao Diao, Ganghua Wang, Jiawei Zhan, Yuhong Yang, Jie Ding, Vahid Tarokh

AI总结:

针对现有深度网络剪枝方法缺乏可压缩性量化指标、易出现剪枝不足或过度的问题,提出PQ指数衡量可压缩性,并开发稀疏感知自适应剪枝算法,在压缩效率和鲁棒性上优于迭代剪枝方法。

摘要:

近年来,为了将AI快速部署到存在计算和内存限制的小型设备上,深度网络剪枝受到了广泛关注。剪枝通常通过移除深度网络中冗余的权重、神经元或层来实现,同时力求保持相当的测试性能。目前已有众多深度剪枝算法被提出,并取得了显著的实证成果。然而,现有方法缺乏可量化的指标来估计每次剪枝迭代中子网络的可压缩性,因此可能导致模型剪枝不足或剪枝过度。在本研究中,我们提出PQ Index(PQI,PQ指数)来衡量深度神经网络的潜在可压缩性,并基于此开发了Sparsity-informed Adaptive Pruning(SAP,稀疏感知自适应剪枝)算法。我们的大量实验验证了如下假设:对于通用剪枝流程,当大模型被有效正则化时,PQI先下降;当模型的可压缩性达到极限(该极限似乎对应欠拟合的起始点)时,PQI上升;随后当模型出现坍塌且性能开始显著下降时,PQI再次下降。此外,实验还证明,在选择合适超参数的情况下,所提出的自适应剪枝算法在压缩效率和鲁棒性方面均优于基于彩票假设的剪枝方法等迭代剪枝算法。

英文摘要:

In recent years, deep network pruning has attracted significant attention in order to enable the rapid deployment of AI into small devices with computation and memory constraints. Pruning is often achieved by dropping redundant weights, neurons, or layers of a deep network while attempting to retain a comparable test performance. Many deep pruning algorithms have been proposed with impressive empirical success. However, existing approaches lack a quantifiable measure to estimate the compressibility of a sub-network during each pruning iteration and thus may under-prune or over-prune the model. In this work, we propose PQ Index (PQI) to measure the potential compressibility of deep neural networks and use this to develop a Sparsity-informed Adaptive Pruning (SAP) algorithm. Our extensive experiments corroborate the hypothesis that for a generic pruning procedure, PQI decreases first when a large model is being effectively regularized and then increases when its compressibility reaches a limit that appears to correspond to the beginning of underfitting. Subsequently, PQI decreases again when the model collapse and significant deterioration in the performance of the model start to occur. Additionally, our experiments demonstrate that the proposed adaptive pruning algorithm with proper choice of hyper-parameters is superior to the iterative pruning algorithms such as the lottery ticket-based pruning methods, in terms of both compression efficiency and robustness.

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

↑