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

UPDP:一种面向CNN与视觉Transformer的统一渐进式深度剪枝器

UPDP: A Unified Progressive Depth Pruner for CNN and Vision Transformer

Advanced Micro Devices, Inc.(超威半导体公司)

Ji Liu, Dehua Tang, Yuanxian Huang, Li Zhang, Xiaocheng Zeng, Dong Li, Mingjie Lu, Jinzhang Peng, Yu Wang, Fan Jiang, Lu Tian, Ashish Sirasao

AI总结:

本文提出统一渐进式深度剪枝器UPDP,通过新颖的块剪枝策略和渐进式训练方法解决高效CNN与视觉Transformer的深度剪枝难题,在ConvNeXtV1和视觉Transformer上均取得优于现有方法的性能。

摘要:

传统的通道剪枝方法通过减少网络通道数进行剪枝,但难以有效剪枝具有深度可分离卷积层和某些高效模块(如流行的倒残差块)的高效CNN模型。先前的深度剪枝方法通过减少网络深度进行剪枝,但由于某些归一化层的存在,不适合剪枝某些高效模型。此外,直接移除激活层来微调子网络会破坏原始模型权重,阻碍剪枝后的模型实现高性能。为了解决这些问题,我们提出了一种针对高效模型的新型深度剪枝方法。我们的方法提出了一种新颖的块剪枝策略和子网络的渐进式训练方法。此外,我们将剪枝方法扩展到视觉Transformer模型。实验结果表明,我们的方法在各种剪枝配置下始终优于现有的深度剪枝方法。我们将方法应用于ConvNeXtV1,获得了三个剪枝后的ConvNeXtV1模型,这些模型在推理性能相当的情况下超越了大多数SOTA高效模型。我们的方法还在视觉Transformer模型上取得了最先进的剪枝性能。

英文摘要:

Traditional channel-wise pruning methods by reducing network channels struggle to effectively prune efficient CNN models with depth-wise convolutional layers and certain efficient modules, such as popular inverted residual blocks. Prior depth pruning methods by reducing network depths are not suitable for pruning some efficient models due to the existence of some normalization layers. Moreover, finetuning subnet by directly removing activation layers would corrupt the original model weights, hindering the pruned model from achieving high performance. To address these issues, we propose a novel depth pruning method for efficient models. Our approach proposes a novel block pruning strategy and progressive training method for the subnet. Additionally, we extend our pruning method to vision transformer models. Experimental results demonstrate that our method consistently outperforms existing depth pruning methods across various pruning configurations. We obtained three pruned ConvNeXtV1 models with our method applying on ConvNeXtV1, which surpass most SOTA efficient models with comparable inference performance. Our method also achieves state-of-the-art pruning performance on the vision transformer model.

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

↑