Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Pruning Filters for Efficient ConvNets

  • Problem Weight pruning mostly removes parameters from fully connected layers, which contribute little computation. It leaves irregular sparsity in convolutional layers, where most computation sits, and dense BLAS libraries handle that poorly.
  • Method Filter pruning removes the filters with the smallest absolute-weight sums, together with their feature maps and the matching next-layer kernels. Unlike weight pruning, it keeps the model dense, then the remaining weights are retrained.
  • Results On CIFAR-10, VGG-16 reached 34.2% FLOP pruned with error 6.60, against 6.75 for the unpruned VGG-16.

Why remove whole filters instead of weights

Magnitude-based weight pruning has compressed AlexNet and VGGNet substantially, but most of the removed parameters sit in fully connected layers. In VGG-16 those layers hold 90% of the total parameters yet contribute less than 1% of the floating point operations, so the FLOP count barely changes.

Computation keeps growing in convolutional layers as networks get deeper, so the savings have to come from there. Pruned weights in convolutional kernels leave irregular sparsity, and the sparse libraries that could exploit it are limited, while the sparse data structures add storage overhead.

Removing a whole filter together with its output feature map keeps the model dense, so the computation maps directly onto the dense matrix multiplications that existing BLAS libraries already run. Each pruned filter removes one matrix product's worth of work, so the number of pruned filters sets the speedup and is easy to tune for a target.

Ranking filters by their absolute weights

Each filter F_{i,j} is a stack of n_i two-dimensional kernels, one per input channel, and produces one output feature map. Its importance is the sum of the absolute values of its kernel weights, which is its ℓ1-norm, written as \\( s_j = \\sum_{l=1}^{n_i} \\sum |K_l| \\). All filters in a layer share the same n_i, so the sum ranks filters in the same order as their average absolute kernel weight.

A small kernel sum suggests that the filter produces a weak output feature map compared with its neighbours in the same layer. The procedure computes s_j for every filter, sorts the filters by it, and removes the m smallest together with their feature maps. The kernels of the next layer that read those feature maps are dropped, and new kernel matrices for both layers are filled with the remaining weights.

Removing m of the n_{i+1} filters in layer i cuts the computation of layers i and i+1 by the fraction m/n_{i+1}, since the cost of a layer scales with n_{i+1} n_i k^2 h_{i+1} w_{i+1}.

Setting per-layer pruning rates from sensitivity

The authors prune one layer at a time and measure validation accuracy, which gives each layer's sensitivity to pruning. Layers whose accuracy stays flat as filters are removed are the ones with steeper weight-sum curves, while layers with flatter curves are more sensitive.

Layers in the same stage, which share a feature map size, behave similarly, so one pruning ratio is applied to all layers of a stage. Sensitive layers are pruned by a smaller percentage or skipped, which avoids adding a separate meta-parameter for each layer.

On VGG-16 for CIFAR-10, each convolutional layer with 512 feature maps can lose at least 60% of its filters without accuracy loss, and with retraining almost 90% can be removed. The first layer tolerates pruning better than the next few layers, and removing 80% of its filters still leaves 12 filters, more than the 3 input channels, whereas an 80% cut in the second layer leaves a 64 to 12 mapping that the authors expect to lose information.

The configuration in Table 2 prunes 50% of the filters in Conv 1 and Conv 2 and halves Conv 8 to 256 maps, with 75% of the filters removed in Conv 9 to Conv 13, giving a total FLOP reduction of 34%. The pruned model reaches an error of 6.60 with 34.2% of FLOP pruned, against 6.75 for the unpruned VGG-16.

Pruning across layers and residual shortcuts

Pruning and retraining one layer at a time is slow for deep networks, and a joint view of all layers shows how robust the network is overall. Two selection strategies handle the multi-layer case: independent pruning ranks each layer on its own, while greedy pruning leaves out kernels that belong to feature maps already removed in earlier layers.

The greedy strategy is not globally optimal, but the authors report that it gives higher accuracy than independent pruning, especially when many filters are removed. Both strategies produce a kernel matrix of size (n_{i+1} − 1) × (n_{i+2} − 1) in the layers that follow.

In a residual block with a projection shortcut, the first convolutional layer can be pruned freely because it does not change the block's output width. The second layer's output must be added to the identity feature maps, so its pruned indices are copied from the 1×1 kernels of the shortcut, which are chosen by the same criterion.

Pruning once and retraining can recover accuracy for resilient layers within a shorter schedule than the original training, while removing filters from sensitive layers or large parts of the network may leave the original accuracy out of reach. Iterative pruning and retraining may do better, but it needs many more epochs, which matters most for very deep networks.

Retraining uses a constant learning rate of 0.001 for 40 epochs on CIFAR-10 and 20 epochs on ImageNet, which is one-fourth of the original training epochs. Pruned models are built as new networks with fewer filters, and the surviving weights are copied in, and the batch normalization weights of a pruned convolutional layer are removed with it.

ResNet results on CIFAR-10 and ImageNet

On CIFAR-10 the ResNets have three stages, and only the first layer of each residual block is pruned because the identity feature maps cannot be selected through a projection. Most layers tolerate pruning, and the sensitive ones sit next to the residual blocks where the number of feature maps changes. Skipping the sensitive layers 16, 20, 38 and 54 and pruning 10% of the filters gives ResNet-56-pruned-A an error of 6.90 against 6.96 for ResNet-56, with 10.4% of FLOP pruned.

ResNet-56-pruned-B uses per-stage rates of p1=60%, p2=30% and p3=10% and skips layers 16, 18, 20, 34, 38 and 54. It reaches an error of 6.94 with 27.6% of FLOP pruned, while the same architecture trained from scratch reaches 8.69. ResNet-110-pruned-B uses p1=50%, p2=40% and p3=30% and skips layers 36, 38 and 74, reaching an error of 6.70 and 38.6% of FLOP pruned against 6.47 for ResNet-110.

Training the pruned ResNet-110-pruned-B from scratch gives an error of 7.06, and the authors suggest that small-capacity networks are harder to train than to recover by retraining.

On ImageNet, ResNet-34 uses a projection shortcut at down-sampling points, and its first layers are pruned with two settings: (A) p1=30%, p2=30%, p3=30%, and (B) p1=50%, p2=60%, p3=40%. Option B gives 24.2% FLOP pruned with an error of 27.83 against 26.77 for ResNet-34, and the authors describe about 1% loss in accuracy for this option. The identity shortcuts and second layers are more sensitive, and ResNet-34-pruned-C prunes only the third stage at p3=20%, giving 7.5% FLOP reduction with 0.75% accuracy loss.

The authors conclude that pruning the first layer of each residual block reduces FLOP more effectively than pruning the second layer, which they link to the bottleneck design of deeper ResNets.

Filter norms against random and activation-based selection

On VGG-16 for CIFAR-10, pruning the smallest filters beats pruning random filters for most layers at different ratios.

The activation-based baseline removes feature maps whose statistics on sample training data are weak, which requires a forward pass over sample images. The authors compare the ℓ1-norm of the filters with mean, standard deviation, ℓ1 and ℓ2 statistics of the feature maps, and with the variance criterion of Polyak and Wolf. Smallest-filter pruning outperforms the mean, ℓ1, ℓ2 and variance criteria, while the standard deviation criterion matches it up to a 60% pruning ratio and then drops, especially in conv 1 to conv 3.

Limitations

Pruned models are reported for VGG-16 and ResNets on CIFAR-10 and for ResNet-34 on ImageNet, while VGG on ImageNet is not pruned. Results are given in FLOP and parameter counts, and the main results table reports no separate speed measurement.

The sensitivity of each layer is measured by pruning that layer alone, so interactions between layers are not isolated by this measurement. ResNet-34 is described as harder to prune than the deeper ResNets, and its pruned-B configuration loses about 1% accuracy.

ResNet-110-pruned-B error is 6.70 against 6.47 for the unpruned ResNet-110, so the claim of close-to-original accuracy does not hold equally for every pruned model. The retraining schedule is fixed at a learning rate of 0.001 for 40 epochs on CIFAR-10 and 20 epochs on ImageNet, and no search over these values is reported.

Paper info

Authors
Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, Hans Peter Graf
Venue
arXiv · Preprint
First published
2016-8-31
Added
2026-11-12
Updated
2017-3-10
Version
v3
arXiv
1608.08710
Category
cs.CV · cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, Hans Peter Graf (2016). Pruning Filters for Efficient ConvNets. arXiv:1608.08710v3. https://arxiv.org/abs/1608.08710v3

BibTeX
@misc{li2016pruning,
  title = {{Pruning Filters for Efficient ConvNets}},
  author = {Hao Li and Asim Kadav and Igor Durdanovic and Hanan Samet and Hans Peter Graf},
  year = {2016},
  eprint = {1608.08710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1608.08710v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up