arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.10591cs.LGcs.AI
收藏

CNN自动剪枝的聚类回退贝叶斯优化

Bayesian Optimization with Clustering and Rollback for CNN Auto Pruning

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学)

Hanwei Fan, Jiandong Mu, Wei Zhang

摘要:

剪枝是卷积神经网络(CNN)模型压缩的一种有效技术,但由于设计空间大,很难找到最优的剪枝策略。为了提高剪枝的可用性,人们提出了许多自动剪枝方法。近年来,贝叶斯优化(BO)由于其坚实的理论基础和较高的采样效率而被认为是一种有竞争力的自动剪枝算法。然而,BO遭受维度灾难。当修剪深CNN时,BO的性能恶化,因为设计空间的维度增加。我们提出了一种新的聚类算法,降低了设计空间的维数,以加快搜索过程。随后,提出了一种回滚算法来恢复高维设计空间,以获得更高的剪枝精度。我们在ResNet,MobileNetV1和MobileNetV2模型上验证了我们提出的方法。实验表明,该方法在不增加运行时间的情况下,在修剪深度CNN时显着提高了BO的收敛速度。源代码可在https://github.com/fanhanwei/BOCR上获得。

英文摘要:

Pruning is an effective technique for convolutional neural networks (CNNs) model compression, but it is difficult to find the optimal pruning policy due to the large design space. To improve the usability of pruning, many auto pruning methods have been developed. Recently, Bayesian optimization (BO) has been considered to be a competitive algorithm for auto pruning due to its solid theoretical foundation and high sampling efficiency. However, BO suffers from the curse of dimensionality. The performance of BO deteriorates when pruning deep CNNs, since the dimension of the design spaces increase. We propose a novel clustering algorithm that reduces the dimension of the design space to speed up the searching process. Subsequently, a rollback algorithm is proposed to recover the high-dimensional design space so that higher pruning accuracy can be obtained. We validate our proposed method on ResNet, MobileNetV1, and MobileNetV2 models. Experiments show that the proposed method significantly improves the convergence rate of BO when pruning deep CNNs with no increase in running time. The source code is available at https://github.com/fanhanwei/BOCR.

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

↑