Beyond Network Pruning: a Joint Search-and-Training Approach

Xiaotong Lu, Han Huang, Weisheng Dong, Xin Li, Guangming Shi

Abstract

Traditional network pruning is a slow, three-stage process: train a giant model, cut it down, then fine-tune. This paper introduces a joint search-and-training approach that learns a compact, efficient network from scratch by treating pruning as a dynamic architecture search. This method cuts training time by up to 5x while maintaining or improving accuracy across standard benchmarks like CIFAR and ImageNet.

Introduction

Deep neural networks are notoriously over-parameterized, leading to massive computational costs. The standard remedy is pruning—removing unimportant filters or weights. However, conventional wisdom dictates that one must first train a large, "bloated" model to serve as a baseline. This paper challenges two common beliefs: that a large model must be trained first, and that specific weights from that model must be preserved. Inspired by the "Lottery Ticket Hypothesis," the authors aim to skip the expensive pre-training phase and find "winning tickets" directly through an efficient, iterative search process.

The Joint Search-and-Training Framework

The authors propose a framework that alternates between two phases: a Sampler and an Updater.

The Joint Search-and-Training framework alternates between sampling compact sub-networks and updating the target network weights.

As shown in the framework overview, the process starts with a "coarsely trained" target network. The Sampler picks a compact sub-network based on thresholds determined by an auxiliary network called ThresNet. The Updater then trains this sub-network and maps the learned weights back to the target network. This cycle repeats, allowing the search space to evolve as the weights become more informative. To prevent the search from getting stuck in local optima, Monte Carlo-inspired random noise is introduced to the filter weights during sampling.

Flexible Pruning via ThresNet

Instead of using a fixed pruning rate (e.g., "remove 50% of filters in every layer"), the authors use ThresNet. This small auxiliary network uses Reinforcement Learning (Policy Gradient) to analyze the distribution of weights in a layer and decide on an optimal pruning threshold. This allows the model to be "skinny" where it can afford to be and "thick" where complexity is needed.

Comparison of fixed pruning rates versus the proposed flexible method. The proposed method adapts to weight distributions, preserving important filters that fixed rates might discard.

As illustrated in the comparison above, fixed pruning rates often discard important large weights or keep useless small ones just to hit a quota. By looking at the distribution of weights, ThresNet makes much smarter decisions about what to keep, framing pruning not as a post-processing step, but as a specialized case of Neural Architecture Search (NAS).

Experimental Results

The proposed method consistently outperformed traditional pruning methods (like SFP and FPGM) and matched or exceeded the performance of state-of-the-art NAS methods (like TAS) while being significantly faster.

  • Speedup: On CIFAR-10, the approach was 3x to 5x faster in total clock time compared to TAS.
  • CIFAR-10: For ResNet-110, they achieved 94.22% accuracy with a 58% reduction in FLOPs (floating-point operations).
  • ImageNet: On ResNet-50, they achieved 75.51% Top-1 accuracy with a 44.9% FLOP reduction. Notably, the entire search and training process took only 90 hours—roughly the same time it takes to train a standard unpruned model once.
  • VGG-16: On CIFAR-100, they reached 74.63% accuracy, outperforming other structural selection methods like SSS and GCP.

Conclusion

By iteratively updating a "target" network with knowledge from "compact" sub-networks, the model learns the optimal architecture and weights simultaneously. While the Reinforcement Learning component adds some complexity and the search phase can struggle with under-fitting on very small datasets, the overall framework provides a powerful and efficient alternative to traditional pruning pipelines.

Summary updated

BibTeX
@inproceedings{lu2020beyond,
  author = {Xiaotong Lu and Han Huang and Weisheng Dong and Xin Li and Guangming Shi},
  title = {{Beyond Network Pruning: a Joint Search-and-Training Approach}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/358},
}
Figure