Skip to main content
QUICK REVIEW

[Paper Review] Filter Pruning via Geometric Median for Deep Convolutional Neural Networks Acceleration

Yang He, Ping Liu|arXiv (Cornell University)|Nov 1, 2018
Advanced Neural Network ApplicationsComputer Science47 references22 citations
TL;DR

This paper proposes Filter Pruning via Geometric Median (FPGM), a novel filter pruning method that identifies and removes filters with redundant information by leveraging the geometric median of filter feature maps, rather than relying on norm-based importance criteria. FPGM achieves state-of-the-art performance, reducing over 52% FLOPs on ResNet-110 with a 2.69% relative accuracy improvement on CIFAR-10 and cutting over 42% FLOPs on ResNet-101 with no top-5 accuracy drop on ImageNet.

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

Motivation & Objective

  • To identify the underlying limitations of norm-based filter pruning criteria, which rely on two strict requirements: large norm deviation and small minimum norm.
  • To propose a new filter pruning method that does not depend on these restrictive assumptions by focusing on filter redundancy instead of relative importance.
  • To achieve superior model compression and inference speedup while preserving or even improving accuracy on standard benchmarks.
  • To demonstrate the effectiveness of geometric median-based pruning across diverse architectures and datasets, including CIFAR-10 and ILSVRC-2012.

Proposed method

  • FPGM computes the geometric median of filters within each convolutional layer to identify the most replaceable filters based on their mutual relationships.
  • Filters closest to the geometric median are considered redundant and are pruned, as they can be represented by the remaining filters without significant performance loss.
  • The method uses an iterative reweighting algorithm to approximate the geometric median, minimizing the sum of distances to all filters in the layer.
  • A distance function—specifically ℓ₁-norm or cosine distance—is used to measure filter similarity in the feature map space.
  • The pruning process is applied during training with a scheduled pruning interval, allowing for end-to-end optimization.
  • The method is combined with fine-tuning to further improve accuracy after pruning.

Experimental results

Research questions

  • RQ1Does the norm-based filter pruning criterion fail when the norm deviation is small or the minimum norm is not negligible?
  • RQ2Can a geometric median-based approach outperform norm-based criteria in pruning scenarios where the latter’s assumptions are violated?
  • RQ3Does pruning filters based on redundancy rather than relative importance lead to better model compression and accuracy retention?
  • RQ4How does FPGM perform across different network architectures and datasets, particularly when norm-based criteria fail?
  • RQ5Can FPGM be combined effectively with other compression techniques to further enhance model efficiency?

Key findings

  • On CIFAR-10, FPGM reduces more than 52% FLOPs on ResNet-110 while achieving a 2.69% relative accuracy improvement over the baseline.
  • On ILSVRC-2012, FPGM reduces over 42% FLOPs on ResNet-101 with no top-5 accuracy drop and only a 0.05% top-1 accuracy loss.
  • FPGM outperforms the state-of-the-art method [15] by 1.28% in top-5 accuracy on ResNet-101 with similar FLOP reduction.
  • For ResNet-50, FPGM with fine-tuning achieves higher inference speedup than [16] and exceeds their accuracy by 0.85%.
  • The ablation study shows that FPGM is robust to pruning interval and achieves better performance at 18% and 40% FLOP reduction than the unpruned baseline.
  • Feature map visualization confirms that pruned filters (e.g., 7, 23, 27) can be effectively replaced by others (e.g., 5, 12, 16, 0, 4, 33) in capturing structural features like bamboo and panda outlines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.