Filter Pruning via Geometric Median for Deep Convolutional Neural Networks Acceleration

Yang He, Ping Liu, Ziwei Wang, Zhilan Hu, Yi Yang
11/1/2018
cs.CV

Official code: he-y/filter-pruning-geometric-median (612 stars, PyTorch, last commit 2023-08-31).

Abstract

Previous works utilized ''smaller-norm-less-important'' criterion to prune filters with smaller norm values in a convolutional neural network. In this paper, we analyze this norm-based criterion and point out that its effectiveness depends on two requirements that are not always met: (1) the norm deviation of the filters should be large; (2) the minimum norm of the filters should be small. To solve this problem, we propose a novel filter pruning method, namely Filter Pruning via Geometric Median (FPGM), to compress the model regardless of those two requirements. Unlike previous methods, FPGM compresses CNN models by pruning filters with redundancy, rather than those with ''relatively less'' importance. When applied to two image classification benchmarks, our method validates its usefulness and strengths. Notably, on CIFAR-10, FPGM reduces more than 52% FLOPs on ResNet-110 with even 2.69% relative accuracy improvement. Moreover, on ILSVRC-2012, FPGM reduces more than 42% FLOPs on ResNet-101 without top-5 accuracy drop, which has advanced the state-of-the-art. Code is publicly available on GitHub: https://github.com/he-y/filter-pruning-geometric-median

View on arXivView PDF

Code Implementations(1)

PyTorch

Filter Pruning via Geometric Median for Deep Convolutional Neural Networks Acceleration (CVPR 2019 Oral)

612115Shell, PythonMar 26, 20193 years ago
model-compressionpruningpytorch

Cite this paper

@article{he2018filter,
  title  = {Filter Pruning via Geometric Median for Deep Convolutional Neural Networks Acceleration},
  author = {Yang He and Ping Liu and Ziwei Wang and Zhilan Hu and Yi Yang},
  year   = {2018},
  eprint = {1811.00250},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.00250}
}

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

Discussion