Abstract
Traditional network pruning follows a "pre-train, prune, fine-tune" pipeline, which is computationally expensive and potentially restrictive. This paper introduces "Pruning from Scratch," a method that discovers efficient architectures by optimizing channel importance gates on randomly initialized networks. By decoupling structure learning from weight optimization, the proposed approach achieves state-of-the-art accuracy with a 10x to 100x speedup in the pruning process, challenging the necessity of pre-trained models in structured pruning.
Introduction
To deploy deep neural networks on resource-constrained devices, network pruning is commonly used to remove redundant parameters. The standard paradigm assumes that a large, over-parameterized model must first be fully trained to identify important components. However, this pre-training phase is computationally intensive. Moreover, the authors hypothesize that pre-training forces networks into a "homogeneous" state, restricting the search space and potentially hiding more efficient architectures that could be discovered earlier in the training process.
Methodology
The "Pruning from Scratch" pipeline shifts the focus from weight optimization to structure learning. Instead of pruning a pre-trained model, the method operates on a randomly initialized network.
The process involves four key steps:
- Gate Mechanism: Scalar gate values ($\lambda$) are associated with each channel, acting as multipliers on channel outputs.
- Structure Optimization: These gates are optimized using a sparsity-inducing objective function (modified $L_1$ norm) while the network weights remain frozen at their random initialization.
- Thresholding: A global threshold ($\tau$), found via binary search, determines which channels to prune based on their optimized gate values.
- Training from Scratch: The resulting pruned architecture is initialized and trained from zero using standard optimization techniques.
Key Insights
A central finding of this work is that pre-training acts as a bottleneck for architecture search. Pruned structures derived from pre-trained weights tend to be highly similar (homogeneous), whereas starting from random weights allows the algorithm to explore a more diverse set of potential architectures.
As shown in the similarity heatmaps, structures found using random weights exhibit significantly more diversity across different seeds (similarity scores between 0.73 and 0.90) compared to those found after extensive training (Epoch 160), where similarity scores approach 1.0. This suggests that the "winning ticket" in structured pruning is the architecture itself, rather than specific weight initializations.
Results
The researchers evaluated "Pruning from Scratch" on CIFAR-10 and ImageNet datasets across various architectures including VGG, ResNet, and MobileNet.
- Accuracy: On CIFAR-10, the method consistently matched or outperformed state-of-the-art techniques like AMC and Soft Filter Pruning. For ResNet110, it achieved a +0.20% accuracy gain over the baseline while reducing FLOPs by 40%.
- Scalability: On ImageNet with ResNet50, the method reached 77.2% top-1 accuracy, surpassing both the original baseline (76.1%) and other pruning methods like ThiNet.
- Efficiency: The search process is remarkably fast. For ResNet56 on CIFAR-10, the proposed method found the pruned structure in just 7 minutes (0.12 hours), representing a 10x to 100x speedup over traditional methods like Network Slimming (2.3 hours).
Conclusion
"Pruning from Scratch" demonstrates that the expensive pre-training step in traditional pruning pipelines is largely unnecessary for finding efficient network structures. By treating pruning as a micro-level Neural Architecture Search on randomly initialized weights, researchers can discover diverse, high-performing architectures with significantly reduced computational overhead. While this study focuses on structured pruning, it opens new avenues for efficient model design and challenges existing assumptions about the role of pre-training in model compression.
Summary updated