arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.09881cs.LGcs.AI
收藏

基于迭代激活的结构化剪枝

Iterative Activation-based Structured Pruning

Amazon.com Inc.(亚马逊公司);AWS Arizona State University(亚马逊云服务亚利桑那州立大学);Arizona State University(亚利桑那州立大学)

Kaiqi Zhao, Animesh Jain, Ming Zhao

摘要:

在边缘设备上部署复杂的深度学习模型具有挑战性,因为它们具有大量的计算和内存资源需求,而边缘设备的资源预算是有限的。为了解决这个问题,人们提出了广泛的修剪技术来压缩网络。基于彩票假说(LTH)的最新进展表明,迭代模型修剪往往会产生更小,更准确的模型。然而,LTH研究集中在非结构化修剪,这是硬件效率低下,难以在硬件平台上加速。在本文中,我们研究迭代修剪结构化修剪的背景下,因为结构修剪模型映射商品硬件。我们发现,直接应用一个结构化的基于权重的修剪技术迭代,称为迭代L1范数为基础的修剪(ILP),不产生准确的修剪模型。为了解决这个问题,我们提出了两种基于激活的剪枝方法,迭代激活剪枝(IAP)和自适应迭代激活剪枝(AIAP)。我们观察到,只有1%的准确率损失,IAP和AIAP在LeNet-5上实现了7.75倍和15.88倍的压缩,在ResNet-50上实现了1.25倍和1.71倍的压缩,而ILP分别实现了4.77倍和1.13倍。

英文摘要:

Deploying complex deep learning models on edge devices is challenging because they have substantial compute and memory resource requirements, whereas edge devices' resource budget is limited. To solve this problem, extensive pruning techniques have been proposed for compressing networks. Recent advances based on the Lottery Ticket Hypothesis (LTH) show that iterative model pruning tends to produce smaller and more accurate models. However, LTH research focuses on unstructured pruning, which is hardware-inefficient and difficult to accelerate on hardware platforms. In this paper, we investigate iterative pruning in the context of structured pruning because structurally pruned models map well on commodity hardware. We find that directly applying a structured weight-based pruning technique iteratively, called iterative L1-norm based pruning (ILP), does not produce accurate pruned models. To solve this problem, we propose two activation-based pruning methods, Iterative Activation-based Pruning (IAP) and Adaptive Iterative Activation-based Pruning (AIAP). We observe that, with only 1% accuracy loss, IAP and AIAP achieve 7.75X and 15.88$X compression on LeNet-5, and 1.25X and 1.71X compression on ResNet-50, whereas ILP achieves 4.77X and 1.13X, respectively.

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

↑