NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ThiNet: A Filter Level Pruning Method for Deep Neural Network Compression

Jian-Hao Luo, Jianxin Wu, Weiyao Lin

Abstract

We propose an efficient and unified framework, namely ThiNet, to simultaneously accelerate and compress CNN models in both training and inference stages. We focus on the filter level pruning, i.e., the whole filter would be discarded if it is less important. Our method does not change the original network structure, thus it can be perfectly supported by any off-the-shelf deep learning libraries. We formally establish filter pruning as an optimization problem, and reveal that we need to prune filters based on statistics information computed from its next layer, not the current layer, which differentiates ThiNet from existing methods. Experimental results demonstrate the effectiveness of this strategy, which has advanced the state-of-the-art. We also show the performance of ThiNet on ILSVRC-12 benchmark. ThiNet achieves 3.31 x FLOPs reduction and 16.63× compression on VGG-16, with only 0.52% top-5 accuracy drop. Similar experiments with ResNet-50 reveal that even for a compact network, ThiNet can also reduce more than half of the parameters and FLOPs, at the cost of roughly 1% top-5 accuracy drop. Moreover, the original VGG-16 model can be further pruned into a very small model with only 5.05MB model size, preserving AlexNet level accuracy but showing much stronger generalization ability.

Introduction

Modern Convolutional Neural Networks (CNNs) like VGG-16 and ResNet are notoriously over-parameterized, containing far more parameters and performing more calculations than necessary. This redundancy hinders deployment on resource-constrained devices like mobile phones or embedded systems. While "unstructured pruning" (deleting individual weights) can reduce model size, it results in sparse matrices that are difficult to accelerate on standard hardware. ThiNet addresses this by focusing on filter-level pruning. By removing entire filters, the resulting model remains "dense" and compatible with existing deep learning libraries, effectively creating a "thinner" version of the original architecture.

Methodology

The ThiNet framework follows a unified three-step process: filter selection, pruning, and fine-tuning.

The ThiNet pruning pipeline: filter selection, pruning, and fine-tuning.

The "Next-Layer" Insight

A key innovation of ThiNet is its filter selection criterion. Unlike traditional methods that evaluate a layer's importance based on its own weights or activations, ThiNet argues that a filter's value is determined by how the subsequent layer utilizes its output. Filter selection is formulated as a reconstruction problem: identifying the subset of input channels that best approximates the output of the next layer.

Optimization and Refinement

Because finding the optimal subset of filters is NP-hard, ThiNet employs a greedy algorithm to iteratively select filters that minimize reconstruction error. Following selection, a least-squares refinement step adjusts the remaining weights to compensate for the removed information. This process is applied layer-by-layer, followed by fine-tuning to recover accuracy.

Experimental Evaluation

ThiNet was evaluated on several benchmarks, including ImageNet (ILSVRC-12) for large-scale classification, CUB-200 for fine-grained recognition, and Indoor-67 for domain adaptation.

Key Results

On ImageNet, ThiNet achieved a 3.31× reduction in FLOPs and a 16.63× compression in parameters for VGG-16, with a negligible 0.52% drop in top-5 accuracy. Even for the more efficient ResNet-50, ThiNet reduced parameters and FLOPs by approximately 50% with only a ~1% accuracy drop.

Comparison of ThiNet with other pruning methods (Random, Weight sum, APoZ) on ImageNet.

The results demonstrate that ThiNet consistently outperforms other pruning strategies like random selection or weight-sum based pruning, especially at higher compression rates.

Discussion and Conclusion

ThiNet highlights that filters act as feature extractors for subsequent layers; if a feature is redundant for the next layer, its parent filter can be safely removed. This structured approach ensures hardware-friendly sparsity. Furthermore, pruning a pre-trained large model yields better results than training a smaller model from scratch, suggesting the large model serves as an effective "teacher."

Despite its success, ThiNet faces challenges with complex architectures like ResNet due to residual connections requiring matching channel counts. Currently, pruning is restricted to specific layers within blocks to maintain compatibility. Future work includes automating the determination of per-layer compression rates and extending the method to handle projection shortcuts in residual networks.

Summary updated

BibTeX
@inproceedings{luo2017thinet,
  author = {Jian-Hao Luo and Jianxin Wu and Weiyao Lin},
  title = {{ThiNet: A Filter Level Pruning Method for Deep Neural Network Compression}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  url = {https://openreview.net/forum?id=BJWcv-f_bS},
}
Figure