Bayesian Optimization with Clustering and Rollback for CNN Auto Pruning

Hanwei Fan, Jiandong Mu, Wei Zhang
9/22/2021
cs.LGcs.AI
bayesian

Official code: fanhanwei/BOCR (5 stars, Jupyter Notebook, MIT, last commit 2023-02-20).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

fanhanwei/BOCROfficial100%
MIT

[ECCV2022] Bayesian Optimization with Cluster and Rollback for CNN Pruning

51Jupyter Notebook, PythonJul 13, 20223 years agoMIT

Similar Papers

Cite this paper

@article{fan2021bayesian,
  title  = {Bayesian Optimization with Clustering and Rollback for CNN Auto Pruning},
  author = {Hanwei Fan and Jiandong Mu and Wei Zhang},
  year   = {2021},
  eprint = {2109.10591},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.10591}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.10591.svg)](https://codeofpaper.com/paper/2109.10591)

Discussion