arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.07411cs.LGcs.CVstat.ML

ICE-Pruning:一种面向深度神经网络的迭代式成本高效剪枝流水线

ICE-Pruning: An Iterative Cost-Efficient Pruning Pipeline for Deep Neural Networks

School of Computing Science University of Glasgow(计算科学学院格拉斯哥大学)

Wenhao Hu, Paul Henderson, José Cano

AI总结:

针对现有迭代剪枝流水线反复微调导致计算成本高的问题,本文提出ICE-Pruning迭代剪枝流水线,通过自动微调判定、冻结策略和剪枝感知学习率调度器,在保持精度的同时最高将剪枝速度提升9.61倍。

摘要:

剪枝是一种广泛应用的深度神经网络(DNN)压缩方法,其核心是移除模型中相关性较低的参数以缩小模型体积。但移除参数会降低模型精度,因此剪枝通常会结合微调,有时还会搭配权重回卷等其他操作来恢复精度。常见的做法是反复执行剪枝后再微调,每一步移除的模型参数量逐步递增。这类剪枝流水线虽然实现简单,但由于需要反复进行微调,计算成本极高。\n本文提出了ICE-Pruning,一种面向DNN的迭代式剪枝流水线,它通过降低微调的总体成本大幅缩短剪枝所需时间,同时能保持与现有剪枝流水线相当的精度。ICE-Pruning基于三大核心组件:i)自动判定机制,用于确定哪些剪枝步骤后需要执行微调;ii)冻结策略,用于在每个剪枝步骤中加快微调速度;iii)定制化的剪枝感知学习率调度器,用于进一步提升每个剪枝步骤的精度并减少总耗时。我们还为这三大组件引入的超参数(例如冻结比例)设计了高效的自动调优阶段。我们在多个DNN模型和数据集上对ICE-Pruning进行了评估,结果表明它最高可将剪枝速度提升9.61倍。代码已开源至https://github.com/gicLAB/ICE-Pruning

英文摘要:

Pruning is a widely used method for compressing Deep Neural Networks (DNNs), where less relevant parameters are removed from a DNN model to reduce its size. However, removing parameters reduces model accuracy, so pruning is typically combined with fine-tuning, and sometimes other operations such as rewinding weights, to recover accuracy. A common approach is to repeatedly prune and then fine-tune, with increasing amounts of model parameters being removed in each step. While straightforward to implement, pruning pipelines that follow this approach are computationally expensive due to the need for repeated fine-tuning. In this paper we propose ICE-Pruning, an iterative pruning pipeline for DNNs that significantly decreases the time required for pruning by reducing the overall cost of fine-tuning, while maintaining a similar accuracy to existing pruning pipelines. ICE-Pruning is based on three main components: i) an automatic mechanism to determine after which pruning steps fine-tuning should be performed; ii) a freezing strategy for faster fine-tuning in each pruning step; and iii) a custom pruning-aware learning rate scheduler to further improve the accuracy of each pruning step and reduce the overall time consumption. We also propose an efficient auto-tuning stage for the hyperparameters (e.g., freezing percentage) introduced by the three components. We evaluate ICE-Pruning on several DNN models and datasets, showing that it can accelerate pruning by up to 9.61x. Code is available at https://github.com/gicLAB/ICE-Pruning

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

↑