Abstract
Deep convolutional neural networks (CNNs) achieve state-of-the-art performance but are computationally expensive and memory-intensive. This paper introduces Structured Sparsity Regularization (SSR), a filter pruning framework designed to produce compact models suitable for mobile and embedded deployment. Unlike weight-level pruning, SSR removes entire filters, enabling immediate hardware acceleration. We propose a fast Alternative Updating with Lagrange Multipliers (AULM) solver to optimize the sparsity-inducing objective. Our approach achieves significant speedups on architectures like ResNet and VGG with minimal accuracy impact, and even improves performance in some instances through effective regularization.
Introduction
Modern CNNs like ResNet-152 require billions of operations, making them difficult to deploy on edge devices. Traditional network pruning often results in "unstructured" sparsity—randomly distributed zero weights that standard hardware cannot efficiently skip. To address this, we focus on filter-level pruning. By removing entire filters and their corresponding feature maps, we reduce the network's width, leading to direct, hardware-agnostic acceleration without requiring specialized sparse-matrix libraries.
Methodology: Structured Sparsity Regularization
The core of our approach is the integration of structured sparsity directly into the training objective.
Structured Sparsity Norms
We utilize $\ell_{2,1}$ and $\ell_{2,0}$ norms to penalize entire filters rather than individual weights. This encourages the optimization process to zero out non-contributory filters globally across the network.
The AULM Solver
Optimizing these non-smooth sparsity functions is computationally demanding. We propose the Alternative Updating with Lagrange Multipliers (AULM) solver. Inspired by ADMM and enhanced with Nesterov’s acceleration, AULM is approximately 2.5x faster than previous state-of-the-art solvers.
Pruning Pipeline
The process follows a systematic loop:
- Filter Evaluation: Assess filter importance using SSR.
- Pruning: Remove unimportant filters and their associated output feature maps.
- Cross-Layer Update: Adjust the input channels of the subsequent layer to match the new dimensions.
- Fine-tuning: Retrain the pruned network to recover accuracy.
Experimental Evaluation
We evaluated SSR across multiple benchmarks, including MNIST, ImageNet, and PASCAL VOC.
Large-Scale Classification (ImageNet)
On VGG-16, SSR reduced parameters from 138M to 9.2M while improving Top-1 accuracy by 1.65%. This suggests that pruning acts as a powerful regularizer for over-parameterized models. For ResNet-50, we achieved a 1.9x CPU speedup.
Transfer Learning and Object Detection
Pruned models maintain high performance on downstream tasks. A VGG-16 backbone pruned via SSR for Faster R-CNN achieved a 2.45x GPU acceleration on a Titan X with only a 0.3% drop in mean Average Precision (mAP) on PASCAL VOC 2007.
Discussion and Future Work
While effective, pruning complex architectures like ResNet presents challenges due to residual "shortcut" connections, which require matching input/output dimensions. Currently, we preserve the final layer of residual blocks to maintain consistency. Future work will explore automated "filter selection layers" to handle these constraints more flexibly and extend pruning to batch normalization and pooling layers.
Conclusion
SSR provides a robust framework for creating compact, efficient CNNs. By focusing on structured sparsity and utilizing the high-speed AULM solver, we bridge the gap between theoretical model compression and practical hardware acceleration.
Summary updated