A Spectral Clustering Based Filter-Level Pruning Method for Convolutional Neural Networks

Convolutional Neural Networks (CNNs) usually have millions or even billions of parameters, which make them hard to be deployed into mobile devices. In this work, we present a novel filter-level pruning method to alleviate this issue. More concretely, we first construct an undirected fully connected graph to represent a pre-trained CNN model. Then, we employ the spectral clustering algorithm to divide the graph into some subgraphs, which is equivalent to clustering the similar filters of the CNN into the same groups. After gaining the grouping relationships among the filters, we finally keep one filter for one group and retrain the pruned model. Compared with previous pruning methods that identify the redundant filters by heuristic ways, the proposed method can select the pruning candidates more reasonably and precisely. Experimental results also show that our proposed pruning method has significant improvements over the state-ofthe-arts. key words: convolutional neural network, spectral clustering, filter-level, pruning

[1]  Bin Yu,et al.  Structural Compression of Convolutional Neural Networks Based on Greedy Filter Pruning , 2017, ArXiv.

[2]  Song Han,et al.  Learning both Weights and Connections for Efficient Neural Network , 2015, NIPS.

[3]  Hanan Samet,et al.  Pruning Filters for Efficient ConvNets , 2016, ICLR.

[4]  Andrew Zisserman,et al.  Very Deep Convolutional Networks for Large-Scale Image Recognition , 2014, ICLR.

[5]  Trevor Darrell,et al.  Caffe: Convolutional Architecture for Fast Feature Embedding , 2014, ACM Multimedia.

[6]  Yuhui Xu,et al.  Filter Level Pruning Based on Similar Feature Extraction for Convolutional Neural Networks , 2018, IEICE Trans. Inf. Syst..

[7]  James Zijun Wang,et al.  Rethinking the Smaller-Norm-Less-Informative Assumption in Channel Pruning of Convolution Layers , 2018, ICLR.

[8]  J. MacQueen Some methods for classification and analysis of multivariate observations , 1967 .

[9]  Chathurika S. Wickramasinghe,et al.  Deep Self-Organizing Maps for Unsupervised Image Classification , 2019, IEEE Transactions on Industrial Informatics.

[10]  Michael I. Jordan,et al.  On Spectral Clustering: Analysis and an algorithm , 2001, NIPS.

[11]  Ulrike von Luxburg,et al.  A tutorial on spectral clustering , 2007, Stat. Comput..

[12]  Changsheng Xu,et al.  P2T: Part-to-Target Tracking via Deep Regression Learning , 2018, IEEE Transactions on Image Processing.

[13]  Jiaqi Wang,et al.  Three-way enhanced convolutional neural networks for sentence-level sentiment classification , 2019, Inf. Sci..