Abstract
Deep Convolutional Neural Networks (CNNs) are often too computationally expensive for deployment on resource-constrained edge devices. While channel pruning is a common solution, traditional approaches often rely on manual heuristics or sub-optimal filter selection criteria. This paper presents ABCPruner, a novel framework that treats channel pruning as an automated architecture search problem. By utilizing the Artificial Bee Colony (ABC) algorithm, ABCPruner efficiently identifies the optimal number of channels for each layer. Our experiments demonstrate that ABCPruner can significantly reduce parameters and FLOPs—by up to 88.68% for VGGNet-16—while maintaining or even enhancing model accuracy.
Introduction
The deployment of deep CNNs on mobile and embedded systems is hindered by their high memory and computational requirements. Channel pruning addresses this by removing entire filters, thereby reducing the model's width. However, determining the optimal pruning rate for each layer is a complex task. Most existing methods focus on which filters to prune based on weight magnitude or importance scores, often overlooking the more critical question of the resulting network's structure. Given the astronomical search space for potential pruned architectures, manual tuning is impractical. ABCPruner addresses this by automating the search for the ideal layer-wise channel configuration.
Methodology: The ABCPruner Framework
ABCPruner shifts the focus from filter selection to architecture search. The process is formalized as finding the optimal channel configuration within a constrained search space.
1. Combination Shrinkage
To manage the vast search space, the authors implement "combination shrinkage." Instead of considering every possible number of channels, the search is restricted to discrete intervals (e.g., 10% increments of the original width). This simplification makes the optimization problem tractable while retaining enough flexibility to discover efficient structures.
2. Artificial Bee Colony (ABC) Optimization
The search is driven by the ABC algorithm, a meta-heuristic inspired by the foraging behavior of honeybees:
- Employed Bees: Explore the neighborhood of current solutions to find improved pruned structures.
- Onlooker Bees: Select and refine candidate structures based on their "fitness," which is measured by the model's accuracy after a brief training period (typically 2 epochs).
- Scout Bees: Prevent the search from stalling in local optima by abandoning stagnant solutions and initializing new random structures.
3. One-Stage Pipeline
Unlike "Meta-Network" approaches that require training an auxiliary model, ABCPruner operates in a single stage. It samples filters from a pre-trained model to initialize candidates, evaluates them rapidly, and concludes with a final fine-tuning of the best-discovered architecture.
Key Insights
- Structure over Selection: A core finding is that the final architecture (the number of channels per layer) is more influential than the specific weights preserved. A well-structured pruned network can be trained to high performance even if initialized with random weights.
- Automated Hyper-parameter Tuning: ABCPruner eliminates the need for expert-defined pruning rates. The algorithm automatically allocates more capacity to critical layers and prunes redundant ones more aggressively.
- Search Efficiency: By using short training cycles (2 epochs) as a proxy for final accuracy, the framework significantly reduces the computational cost of the evolutionary search.
Experimental Results
ABCPruner was evaluated on CIFAR-10 and ImageNet benchmarks across various architectures, including VGGNet, GoogLeNet, and the ResNet family.
As shown in the table above, ABCPruner achieves remarkable results on CIFAR-10. For VGGNet-16, the framework removed 88.68% of parameters and 61.20% of channels while actually improving Top-1 accuracy by 0.06%. Similarly, for ResNet-110, it achieved a 65.04% reduction in FLOPs with a 0.08% accuracy gain.
On the more challenging ImageNet dataset, ABCPruner also demonstrated superior performance. For ResNet-50, it reduced FLOPs by over 54% with a minimal accuracy drop, outperforming established methods like ThiNet and MetaPruning. Furthermore, ABCPruner proved to be more training-efficient, requiring only 102 total epochs compared to 244 for ThiNet and 160 for MetaPruning.
Limitations and Future Work
While ABCPruner automates much of the process, users must still define a global upper bound ($\alpha$) for the preserved channels, which dictates the overall compression-accuracy trade-off. Additionally, while more efficient than many competitors, the evolutionary search still incurs a non-trivial computational cost during the fitness evaluation phase. Future research could explore extending this automated structure search to other domains, such as object detection and generative modeling.
Summary updated