arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08013cs.CV
收藏

移动设备上模型加速的联合通道和权重修剪

Joint Channel and Weight Pruning for Model Acceleration on Moblie Devices

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Kwai Inc(快手公司)

Tianli Zhao, Xi Sheryl Zhang, Wentao Zhu, Jiaxing Wang, Sen Yang, Ji Liu, Jian Cheng

摘要:

对于移动设备上的实际深度神经网络设计,必须考虑各种应用中的计算资源和推理延迟所引起的约束。在深度网络加速相关的方法中,修剪是一种广泛采用的做法,以平衡计算资源消耗和准确性,其中不重要的连接可以按通道或随机删除,对模型准确性的影响最小。通道修剪立即导致显著的延迟减少,而随机权重修剪更灵活地平衡延迟和准确性。在本文中,我们提出了一个统一的框架与联合通道修剪和权重修剪(JCW),并实现了更好的Pareto边界之间的延迟和准确性比以前的模型压缩方法。为了充分优化延迟和准确性之间的权衡,我们在JCW框架中开发了一个量身定制的多目标进化算法,该算法可以通过一次搜索来获得各种部署要求的最佳候选架构。大量的实验表明,JCW在ImageNet分类数据集上实现了延迟和准确性之间的更好权衡,而不是各种最先进的修剪方法。我们的代码可在https://github.com/jcw-anonymous/JCW上获得。

英文摘要:

For practical deep neural network design on mobile devices, it is essential to consider the constraints incurred by the computational resources and the inference latency in various applications. Among deep network acceleration related approaches, pruning is a widely adopted practice to balance the computational resource consumption and the accuracy, where unimportant connections can be removed either channel-wisely or randomly with a minimal impact on model accuracy. The channel pruning instantly results in a significant latency reduction, while the random weight pruning is more flexible to balance the latency and accuracy. In this paper, we present a unified framework with Joint Channel pruning and Weight pruning (JCW), and achieves a better Pareto-frontier between the latency and accuracy than previous model compression approaches. To fully optimize the trade-off between the latency and accuracy, we develop a tailored multi-objective evolutionary algorithm in the JCW framework, which enables one single search to obtain the optimal candidate architectures for various deployment requirements. Extensive experiments demonstrate that the JCW achieves a better trade-off between the latency and accuracy against various state-of-the-art pruning methods on the ImageNet classification dataset. Our codes are available at https://github.com/jcw-anonymous/JCW.

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

↑