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

StructADMM:一个系统高效的DNN结构化权重剪枝框架

StructADMM: A Systematic, High-Efficiency Framework of Structured Weight Pruning for DNNs

Bar-Ilan University(巴伊兰大学)

Tianyun Zhang, Shaokai Ye, Kaiqi Zhang, Xiaolong Ma, Ning Liu, Linfeng Zhang, Jian Tang, Kaisheng Ma, Xue Lin, Makan Fardad, Yanzhi Wang

摘要:

DNN的权重修剪方法已被证明可以在不损失准确性的情况下实现良好的模型修剪率,从而减轻大规模DNN的显著计算/存储要求。提出了结构化权重修剪方法,以克服不规则网络结构的限制,并展示了实际的GPU加速。然而,在先前的工作中,修剪率(稀疏度)和GPU加速是有限的(小于50%)时,需要保持准确性。在这项工作中,我们通过提出一个统一的,系统的DNN结构化权重修剪框架来克服这些限制。它是一个框架,可用于诱导不同类型的结构化稀疏性,例如滤波器稀疏性、通道稀疏性和形状稀疏性,以及非结构化稀疏性。该框架将随机梯度下降与ADMM相结合,可以理解为一种动态正则化方法,其中正则化目标在每次迭代中解析更新。在不损失AlexNet模型准确性的情况下,我们在两个GPU上实现了2.58倍和3.65倍的平均测量加速,明显优于之前的工作。当允许2%的适度精度损失时,平均加速比达到3.15倍和8.52倍。在这种情况下,卷积层的模型压缩是15.0倍,对应于11.93倍的测量CPU加速。我们在ResNet模型和其他数据集(如UCF 101和CIFAR-10)上的实验证明了我们的框架具有更高的性能。

英文摘要:

Weight pruning methods of DNNs have been demonstrated to achieve a good model pruning rate without loss of accuracy, thereby alleviating the significant computation/storage requirements of large-scale DNNs. Structured weight pruning methods have been proposed to overcome the limitation of irregular network structure and demonstrated actual GPU acceleration. However, in prior work the pruning rate (degree of sparsity) and GPU acceleration are limited (to less than 50%) when accuracy needs to be maintained. In this work,we overcome these limitations by proposing a unified, systematic framework of structured weight pruning for DNNs. It is a framework that can be used to induce different types of structured sparsity, such as filter-wise, channel-wise, and shape-wise sparsity, as well non-structured sparsity. The proposed framework incorporates stochastic gradient descent with ADMM, and can be understood as a dynamic regularization method in which the regularization target is analytically updated in each iteration. Without loss of accuracy on the AlexNet model, we achieve 2.58X and 3.65X average measured speedup on two GPUs, clearly outperforming the prior work. The average speedups reach 3.15X and 8.52X when allowing a moderate ac-curacy loss of 2%. In this case the model compression for convolutional layers is 15.0X, corresponding to 11.93X measured CPU speedup. Our experiments on ResNet model and on other data sets like UCF101 and CIFAR-10 demonstrate the consistently higher performance of our framework.

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

↑