Abstract
Traditional channel pruning for deep convolutional neural networks (CNNs) is a bespoke process, requiring expensive search procedures for every new dataset. This work demonstrates that optimal pruning profiles—the specific layer-wise compression ratios—are primarily determined by the network's architecture rather than the dataset. By leveraging Reinforcement Learning (RL) to discover these architecture-specific profiles on small-scale datasets, we produce "out-of-the-box" pruned models that generalize effectively to large-scale tasks like ImageNet. Our findings suggest that the structural "shape" of a pruned network is a fundamental architectural property, enabling a "search once, prune anywhere" paradigm.
Introduction
Deep CNNs are computationally intensive, making deployment on resource-constrained devices challenging. Channel pruning, which removes entire filters, is a standard solution. However, the process involves two costly steps: selecting which channels to remove and determining the pruning profile (how many channels per layer). Historically, these decisions were thought to be dataset-dependent, necessitating a fresh search for every new application. This paper challenges that assumption, investigating whether pruning profiles can be transferred across datasets for a fixed architecture.
Methodology
The authors deconstruct the pruning pipeline to identify the most critical factors for performance.
Randomness and Plasticity
A key finding is the inherent plasticity of CNNs. The researchers observed that the specific metric used to select channels (e.g., $L_1$ norm vs. random selection) is less important than the subsequent fine-tuning process. Even if the weights of the pruned network are re-initialized randomly, the model can often recover its original performance through fine-tuning. This suggests that the final performance is more dependent on the network's capacity (the profile) than the specific initial weights.
RL-Driven Profile Search
To find optimal pruning profiles, the authors employed a Reinforcement Learning (RL) framework using Proximal Policy Optimization (PPO). The RL agent observes layer descriptions and "Taylor features" (approximations of loss sensitivity) to decide the compression factor for each layer. A novel Gaussian reward function was introduced to balance accuracy with a target global compression factor, preventing the agent from converging to trivial solutions. To ensure generalizability, the agent was trained using a "circular queue" of different models and datasets, forcing it to learn profiles that are not overfit to a single data distribution.
Results
The proposed method was evaluated on CIFAR-10, CIFAR-100, TinyImageNet, and ImageNet.
Transferability Across Datasets
The core result is the successful transfer of pruning profiles. Profiles discovered through an exhaustive RL search on the relatively small CIFAR-10 dataset were found to be among the top-performing configurations when applied to CIFAR-100 and TinyImageNet for the same architecture.
Large-Scale Performance
On the ImageNet benchmark, profiles transferred from CIFAR-trained models achieved performance comparable to state-of-the-art (SOTA) methods like DARC. Notably, this was achieved without running any search algorithm on the ImageNet dataset itself. For a ResNet-20 architecture, a profile transferred from CIFAR achieved a 3.35x compression factor with only a 5% drop in accuracy.
Discussion and Conclusion
The primary insight of this work is that the optimal "shape" of a pruned network is a property of its architecture. This enables "out-of-the-box" pruning: one can perform an expensive search on a small, computationally cheap dataset and apply the resulting "recipe" to models trained on massive datasets.
While these profiles are architecture-specific, the ability to transfer them across datasets significantly reduces the overhead of model compression. Future work may extend these principles to deeper architectures like ResNet-152 or non-convolutional structures like Transformers. Ultimately, this research paves the way for more accessible and efficient deployment of deep learning models across diverse domains.
Summary updated