Manipulating Identical Filter Redundancy for Efficient Pruning on Deep and Complicated CNN

Xiaohan Ding, Tianxiang Hao, Jungong Han, Yuchen Guo, Guiguang Ding
7/30/2021
22 citations
cs.CVcs.LG

Official code: DingXiaoH/Centripetal-SGD (64 stars, Python, Apache-2.0, last commit 2022-09-08).

Abstract

The existence of redundancy in Convolutional Neural Networks (CNNs) enables us to remove some filters/channels with acceptable performance drops. However, the training objective of CNNs usually tends to minimize an accuracy-related loss function without any attention paid to the redundancy, making the redundancy distribute randomly on all the filters, such that removing any of them may trigger information loss and accuracy drop, necessitating a following finetuning step for recovery.

Show full abstract

In this paper, we propose to manipulate the redundancy during training to facilitate network pruning. To this end, we propose a novel Centripetal SGD (C-SGD) to make some filters identical, resulting in ideal redundancy patterns, as such filters become purely redundant due to their duplicates; hence removing them does not harm the network. As shown on CIFAR and ImageNet, C-SGD delivers better performance because the redundancy is better organized, compared to the existing methods. The efficiency also characterizes C-SGD because it is as fast as regular SGD, requires no finetuning, and can be conducted simultaneously on all the layers even in very deep CNNs. Besides, C-SGD can improve the accuracy of CNNs by first training a model with the same architecture but wider layers then squeezing it into the original width.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Codes of Centripetal SGD

6411PythonMar 3, 20194 years agoApache-2.0

Similar Papers

Cite this paper

@article{ding2021manipulating,
  title  = {Manipulating Identical Filter Redundancy for Efficient Pruning on Deep and Complicated CNN},
  author = {Xiaohan Ding and Tianxiang Hao and Jungong Han and Yuchen Guo and Guiguang Ding},
  year   = {2021},
  eprint = {2107.14444},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.14444}
}

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/2107.14444.svg)](https://codeofpaper.com/paper/2107.14444)

Discussion