Abstract
Deep Learning models have become the dominant approach in several areas due to their high performance. Unfortunately, the size and hence computational requirements of operating such models can be considerably high. Therefore, this constitutes a limitation for deployment on memory and battery constrained devices such as mobile phones or embedded systems. To address these limitations, we propose a novel and simple pruning method that compresses neural networks by removing entire filters and neurons according to a global threshold across the network without any pre-calculation of layer sensitivity. The resulting model is compact, non-sparse, with the same accuracy as the non-compressed model, and most importantly requires no special infrastructure for deployment. We prove the viability of our method by producing highly compressed models, namely VGG-16, ResNet-56, and ResNet-110 respectively on CIFAR10 without losing any performance compared to the baseline, as well as ResNet-34 and ResNet-50 on ImageNet without a significant loss of accuracy. We also provide a well-retrained 30% compressed ResNet-50 that slightly surpasses the base model accuracy. Additionally, compressing more than 56% and 97% of AlexNet and LeNet-5 respectively. Interestingly, the resulted models' pruning patterns are highly similar to the other methods using layer sensitivity pre-calculation step. Our method does not only exhibit good performance but what is more also easy to implement.
Introduction
Deep learning models are notoriously resource-intensive, complicating deployment on battery-constrained mobile devices or embedded systems. Model pruning—the removal of redundant network components—is a common solution. However, existing techniques often suffer from two main drawbacks:
- Unstructured Pruning: Removing individual weights creates sparse matrices that standard hardware (CPUs/GPUs) cannot accelerate without specialized libraries.
- Complex Heuristics: Structured pruning (removing whole filters) typically requires expensive "layer sensitivity" pre-calculations to determine which layers are safe to prune.
This paper proposes Structured Global Pruning, a method that is both globally consistent and easy to implement, avoiding complex per-layer analysis while maintaining high performance.
Methodology
The proposed method follows a streamlined pipeline to identify and remove redundant structured components (filters and neurons) across the entire network simultaneously.
The process involves five key steps:
- Importance Scoring: Calculate the L1-norm (sum of absolute values) for every filter in convolutional layers and every neuron in fully connected layers.
- Normalization: Normalize the L1-norm by the weight count of the filter/neuron to ensure a fair global comparison across layers of different sizes.
- Global Thresholding: Stack all normalized scores from the entire network, sort them, and determine a single threshold based on a target pruning percentage $p$.
- Structured Pruning: Remove any filter or neuron falling below the threshold. This results in a smaller, standard dense model.
- Fine-tuning: Retrain the pruned model to recover accuracy, often using an iterative schedule to gradually reach the target compression level.
Results and Analysis
The authors evaluated the method on standard benchmarks including MNIST (LeNet-5), CIFAR-10 (VGG-16, ResNet-56/110), and ImageNet (AlexNet, ResNet-34/50).
Performance Benchmarks
The results demonstrate significant parameter reduction with minimal to no accuracy loss:
- VGG-16 (CIFAR-10): 86.10% parameter reduction with a +0.16% accuracy increase.
- ResNet-110 (CIFAR-10): 53.06% reduction with a +0.03% accuracy gain.
- ResNet-50 (ImageNet): 45.65% reduction with only a 0.51% drop in accuracy. A 30% pruned version even outperformed the base model.
- LeNet-5 (MNIST): A staggering 97.40% reduction while maintaining baseline performance.
Automatic Sensitivity Discovery
A key insight is that the global threshold naturally "discovers" layer sensitivity. As shown in the pruning patterns below, the method automatically prunes deeper layers more aggressively, confirming that early layers capture essential low-level features while deeper layers contain more redundancy.
Furthermore, weight distribution analysis revealed a "compensation effect": surviving neurons increase in magnitude after retraining to offset the loss of pruned neighbors.
Conclusion
Structured Global Pruning offers a simple yet powerful alternative to complex pruning heuristics. By using a normalized global threshold, it achieves state-of-the-art compression rates while remaining easy to integrate into production pipelines. Future work will focus on optimizing specifically for FLOPs reduction and applying the technique to modern architectures like DenseNet.
Summary updated