[Paper Review] Hybrid Pruning: Thinner Sparse Networks for Fast Inference on Edge Devices
This paper proposes hybrid pruning, a novel method combining coarse-grained channel pruning and fine-grained weight pruning to create thinner, sparse neural networks for efficient inference on edge devices. By introducing a fast sensitivity test to determine layer-specific pruning thresholds based on accuracy tolerance and hardware constraints (e.g., channels as multiples of 8), the approach achieves state-of-the-art results—reducing ResNet50 parameters by 72.9% with only a 0.88% top-1 accuracy drop on ImageNet, while enabling 4.5× speedup on ResNet56 with minimal accuracy loss.
We introduce hybrid pruning which combines both coarse-grained channel and fine-grained weight pruning to reduce model size, computation and power demands with no to little loss in accuracy for enabling modern networks deployment on resource-constrained devices, such as always-on security cameras and drones. Additionally, to effectively perform channel pruning, we propose a fast sensitivity test that helps us quickly identify the sensitivity of within and across layers of a network to the output accuracy for target multiplier accumulators (MACs) or accuracy tolerance. Our experiment shows significantly better results on ResNet50 on ImageNet compared to existing work, even with an additional constraint of channels be hardware-friendly number.
Motivation & Objective
- To address the challenge of deploying large, accurate deep neural networks (DNNs) on resource-constrained edge devices such as drones and always-on cameras.
- To overcome the limitations of existing pruning methods that apply uniform pruning across layers, which often leads to significant accuracy drops due to varying layer sensitivity.
- To develop a fast, lightweight sensitivity test that identifies layer-specific pruning limits for a given accuracy tolerance or target MACs without requiring additional training.
- To enable hardware-friendly sparsity by enforcing channel counts as multiples of 8 or 4, improving compatibility with edge accelerators.
- To demonstrate that combining multi-granularity sparsity (channel and weight pruning) significantly reduces model size and computation with minimal accuracy loss.
Proposed method
- Proposes a fast sensitivity test that evaluates each layer’s tolerance to pruning by iteratively masking output channels based on absolute weight sum, stopping when accuracy drops below a threshold (e.g., 3–5% below original).
- Uses the sensitivity test to compute per-layer pruning percentages that preserve accuracy within a user-defined tolerance, then rounds to hardware-friendly channel counts (e.g., multiples of 8).
- Applies statistics-aware weight pruning on the pruned, thinner model by computing layer-wise thresholds based on mean and standard deviation of weights, with a global sparsity control factor σ.
- Dynamically updates binary masks during training to sparsify weights in the forward pass, maintaining full-precision gradients for backpropagation.
- Integrates both channel and weight pruning in a two-stage pipeline: first channel pruning via sensitivity test, then weight pruning on the resulting sparse model.
- Supports any deep learning framework and does not require meta-learning or additional training for new models, making it broadly deployable.
Experimental results
Research questions
- RQ1Can combining coarse-grained channel pruning and fine-grained weight pruning significantly reduce model size and computation on edge devices with minimal accuracy loss?
- RQ2How can layer-specific sensitivity to pruning be efficiently measured without extensive retraining or hardware-specific tuning?
- RQ3What is the optimal balance between model compression and accuracy retention when enforcing hardware-friendly channel counts (e.g., multiples of 8)?
- RQ4Does multi-granularity sparsity (simultaneous channel and weight sparsity) outperform single-granularity pruning in terms of compression and inference speed?
- RQ5Can a fast, non-iterative sensitivity test reliably predict the maximum safe pruning ratio per layer for a given accuracy tolerance?
Key findings
- On ResNet50 with ImageNet, the proposed hybrid pruning reduced parameters by 72.9% (from 25.5M to 6.9M) with only a 0.88% drop in top-1 accuracy (from 76.01% to 74.32%).
- The method achieved 2× reduction in MACs with a 3.7× reduction in parameters, outperforming prior works such as ThiNet, NISP, and SPP in both compression and accuracy.
- For ResNet56 on CIFAR-10, the approach achieved 59% sparsity via channel pruning alone (2.4× speedup), and 78% sparsity with hybrid pruning (4.5× parameter reduction) and less than 1% top-1 accuracy drop.
- The sensitivity test ran in just 8.86 minutes on a CPU and 3.38 seconds on a GPU, making it practical for rapid model analysis without additional training.
- Layers with increased output channels (e.g., transition layers or residual blocks) were found to be more sensitive to pruning, confirming the need for layer-aware pruning strategies.
- The hybrid pruning method achieved state-of-the-art performance on thinner ResNet50 with hardware-friendly channel counts, demonstrating the effectiveness of multi-granularity sparsity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.