Global Channel Pruning With Self-Supervised Mask Learning
- 30 October 2024
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Circuits and Systems for Video Technology
- Vol. 35 (3) , 2013-2025
Abstract
Network pruning is widely used in model compression due to its simplicity and efficiency. Existing methods typically introduce sparse loss regularization to learn masks. However, this sparse regularization approach lacks a clear criterion for evaluating channel importance and relies on manually defined rules, leading to a decline in model performance. In this article, a Self-Supervised Mask Learning (SSML) method for global channel pruning is proposed, casting mask learning as a self-supervised binary classification task to automatically identify less important channels. Specifically, a dedicated pretext task is designed for the channelwise masks, which leverages the original network to generate pseudo-labels from the mask itself to guide mask learning. Then, a polarization mask loss function is proposed, transforming the discrete mask learning problem into a differentiable binary classification problem. The proposed loss function distinguishes the similarity between pseudo-labels and masks, clustering similar masks together in the feature space and separating dissimilar masks, ultimately allowing channels with masks of 0 to be safely removed without damaging the performance of the pruned model. In addition, SSML can train from scratch to yield a compact model. Extensive experiments on CIFAR-10, CIFAR-100 and ImageNet datasets demonstrate that SSML outperforms state-of-the-art methods. For instance, SSML prunes 52.7% of the FLOPs of ResNe34 on the ImageNet dataset with only 0.01% drop in Top-1 accuracy. Moreover, the generalization of SSML is verified on downstream tasks.Keywords
Funding Information
- Science and Technology Development Plan of Jilin Province (20230201082GX)
This publication has 45 references indexed in Scilit:
- On-Device Domain Learning for Keyword Spotting on Low-Power Extreme Edge Embedded Systems2024
- ARPruning: An automatic channel pruning based on attention map rankingNeural Networks, 2024
- Network pruning via resource reallocationPattern Recognition, 2023
- Group-based network pruning via nonlinear relationship between convolution filtersApplied Intelligence, 2022
- AutoPruner: An end-to-end trainable filter pruning method for efficient deep model inferencePattern Recognition, 2020
- AMC: AutoML for Model Compression and Acceleration on Mobile Devices2018
- Quantized Convolutional Neural Networks for Mobile Devices2016
- Fully convolutional networks for semantic segmentation2015
- ImageNet Large Scale Visual Recognition ChallengeInternational Journal of Computer Vision, 2015
- Dimensionality Reduction by Learning an Invariant Mapping2006