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

Gate Decorator: Global Filter Pruning Method for Accelerating Deep Convolutional Neural Networks

Zhonghui You, Kun Yan, Jinmian Ye, Meng Ma, Ping Wang

Overview

The "Gate Decorator" is a global filter pruning method that uses Taylor expansion to identify and remove unimportant neural network filters across an entire model simultaneously. By pairing this with a unique "Tick-Tock" iterative pruning cycle, the authors achieve state-of-the-art compression—such as reducing ResNet-50 FLOPs by 40% while actually increasing its accuracy.

Introduction: The Challenge of CNN Compression

Deep Convolutional Neural Networks (CNNs) are powerful but computationally expensive, making them difficult to deploy on resource-constrained hardware like mobile phones or IoT devices. Filter pruning is a popular solution that removes entire redundant channels to speed up the model and reduce memory footprint.

Illustration of filter pruning: removing a filter eliminates its output feature map and the corresponding input channels in the subsequent layer.

However, most existing methods prune "layer-by-layer." This approach is time-consuming and requires researchers to manually set pruning ratios for every single layer. This paper tackles the Global Filter Importance Ranking (GFIR) problem: how do we determine which filters are the least important across the entire network at once, allowing the algorithm to automatically discover the most efficient architecture?

Methodology: Gate Decorator and Tick-Tock

The authors introduce a comprehensive framework built on three key components to achieve global pruning:

1. Gate Decorator (GD)

Instead of permanently deleting filters during the search phase, the authors "decorate" standard CNN modules by multiplying their output by a channel-wise scaling factor, or "gate" ($\phi$). If a gate is set to zero, the corresponding filter is effectively ignored. Crucially, once pruning is finished, these gates are merged back into the original Batch Normalization layers, meaning the final pruned model requires no special software or hardware to run.

2. Taylor Expansion for Importance

To avoid the computationally prohibitive "brute force" approach of testing every filter combination, the authors use a first-order Taylor expansion. This estimates how much the total loss would change if a specific gate were set to zero, providing a computationally cheap score for global importance.

3. The Tick-Tock Pruning Framework

To maximize accuracy, pruning is conducted through an iterative training cycle:

  • Tick: The model is trained on a small subset of data with most parameters frozen. This phase calculates the importance scores and removes the least useful filters.
  • Tock: The model is fine-tuned on the full dataset with a sparsity constraint (L1 regularization) on the gates. This "pushes" unimportant filters toward zero, making them easier to identify in the next "Tick."

Additionally, to handle complex architectures like ResNet, the authors employ Group Pruning. This groups filters connected by "shortcut" connections, ensuring that when a filter is pruned, the dimensions of the skip-connections still match up perfectly.

Experimental Results

The researchers evaluated their method across a wide variety of tasks and scales, including CIFAR-10, CIFAR-100, ImageNet (ILSVRC-12), CUB-200, and PASCAL VOC 2011. The results demonstrate that the Gate Decorator with Batch Normalization (GBN) outperforms many previous state-of-the-art pruning methods:

  • ResNet-56 (CIFAR-10): Achieved a 70.3% FLOPs reduction with a slight increase in accuracy (0.03%).
  • ResNet-50 (ImageNet): Reduced FLOPs by 40% while improving top-1 accuracy by 0.31%.
  • Wall-clock Speedup: On a Titan X Pascal GPU, the pruned GBN-50 model processed 1,237 images per second, a 43% increase over the baseline's 864 images per second.
  • Segmentation: On PASCAL VOC (using FCN-32s), they reduced parameters by 73% and FLOPs by 27% while actually improving the mean Intersection over Union (mIoU) from 62.84% to 62.86%.

Discussion and Key Insights

By ranking filters globally, the algorithm acts as a "task-driven Neural Architecture Search (NAS)." It often discovers that redundancy is higher in deeper layers, while middle layers are more critical—a nuance frequently missed by manual layer-wise pruning.

Furthermore, the "Tock" phase is essential. Adding a sparse constraint during fine-tuning doesn't just recover accuracy; it actively reveals which filters the network can live without. In several cases, pruning acted as a form of regularization. By removing "noise" (unimportant filters), the model's generalization improved, leading to higher accuracy than the unpruned baseline.

Limitations and Future Work

While the paper shows impressive results, a few areas remain for exploration:

  • Subset Sensitivity: The "Tick" phase relies on a subset of training data (e.g., 100 images per class for ImageNet). The impact of using even smaller or highly biased subsets isn't fully explored.
  • Architecture Scope: The method was primarily tested on VGG and ResNet variants. Its effectiveness on more modern, already-compact architectures like MobileNetV3 or Transformers remains an open question.
  • NAS Comparison: The authors suggest this can be viewed as a NAS method, but a direct quantitative comparison against dedicated NAS frameworks (which search from scratch rather than pruning) was not provided.

Summary updated

BibTeX
@inproceedings{you2019gate,
  author = {Zhonghui You and Kun Yan and Jinmian Ye and Meng Ma and Ping Wang},
  title = {{Gate Decorator: Global Filter Pruning Method for Accelerating Deep Convolutional Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=tPyYMgiIAkO},
}
Figure