Abstract
Neural network pruning has emerged as a critical technique for deploying massive Convolutional Neural Networks (CNNs) on resource-constrained edge devices. This survey provides a comprehensive roadmap of pruning methodologies, categorizing them by selection criteria—data-agnostic versus data-aware—and procedural structures. By analyzing the landscape of current research, the authors highlight a persistent gap between theoretical "FLOP" reductions and actual hardware speedups, emphasizing the practical advantages of structured pruning for real-world edge applications.
Introduction
Modern CNNs are notoriously over-parameterized, often containing millions of redundant parameters. While this redundancy facilitates training and convergence, it creates significant barriers for deployment on edge devices like smartphones or IoT sensors, which operate under strict memory, power, and latency constraints.
Finding the absolute optimal subset of neurons to remove is an NP-hard problem. Consequently, researchers have developed various pruning heuristics to identify and remove non-critical components without compromising model accuracy. This survey navigates these algorithms, helping practitioners balance the trade-offs between model size, inference speed, and predictive performance.
Taxonomy of Pruning Methods
The pruning landscape is primarily defined by two dimensions: the criteria used to select weights for removal and the procedure used to execute the surgery.
1. Pruning Criteria
- Data-Agnostic: These methods evaluate weights in isolation from input data. Common approaches include removing weights with small L1/L2 norms or utilizing the "geometric median" to identify redundant filters.
- Data-Aware: These methods leverage training data to observe network behavior. For instance, APoZ (Average Percentage of Zeros) identifies neurons that rarely activate. Other techniques analyze the entropy of activations or the magnitude of gradients to determine importance.
2. Pruning Structure
- Unstructured Pruning: This approach removes individual weights, resulting in sparse matrices. While theoretically efficient, these often fail to deliver speedups on standard hardware (CPUs/GPUs) optimized for dense calculations.
- Structured Pruning: By removing entire channels, filters, or layers, this method maintains dense structures, leading to immediate and measurable speedups on physical devices.
3. Pruning Procedures
The field has evolved from simple Iterative Pruning (a cycle of training, pruning, and retraining) to more sophisticated techniques. Dynamic Network Surgery allows for a more flexible approach where pruned connections can be re-established if they are later deemed important. Modern research also explores using Reinforcement Learning (RL) and Neural Architecture Search (NAS) to automate the determination of optimal pruning ratios for each layer.
Key Insights: The Reality of Edge Deployment
The FLOPs Fallacy
A critical takeaway from the survey is that reducing Floating Point Operations (FLOPs) does not linearly correlate with reduced latency. A model might achieve a 50% reduction in FLOPs but only a 10% improvement in actual execution time on an edge device due to memory access overhead and hardware-specific optimization bottlenecks.
Structured vs. Unstructured
While unstructured pruning can achieve higher theoretical compression ratios, structured pruning remains the "king" for edge deployment. It avoids the need for specialized hardware or software libraries to handle sparsity, making it the most practical choice for current hardware architectures.
The "Small but Not Fast" Paradox
Counterintuitively, pruning can sometimes increase energy consumption. If the resulting architecture leads to inefficient memory movement patterns, the energy cost per inference may rise even if the total parameter count is lower. This highlights the need for hardware-aware pruning metrics.
Comparative Results
The survey compiles extensive data across standard benchmarks like CIFAR-10 and ImageNet. The results demonstrate that older, "fat" models like AlexNet and VGG-16 can often be pruned by 80-90% in size with negligible accuracy loss. Even modern, efficient architectures like ResNet-50 can see 40-50% reductions in both size and inference time.
Interestingly, the "prune and finetune" approach occasionally results in a negative accuracy reduction, meaning the pruned model outperforms the original. This is likely due to the regularizing effect of removing noisy or redundant parameters.
Future Directions
Despite significant progress, several challenges remain:
- Hardware-Aware Metrics: Future research must move beyond analytical proxies like FLOPs to measure real-world power and latency on physical edge devices.
- Automation: The current reliance on manual hyperparameter tuning for each layer is unsustainable. RL and Bayesian optimization are necessary to automate the pruning pipeline.
- Energy Efficiency: There is a critical lack of research focusing on Joules per inference, which is often the most vital constraint for battery-powered IoT applications.
Summary updated