[Paper Review] BLK-REW: A Unified Block-based DNN Pruning Framework using Reweighted Regularization Method
This paper proposes BLK-REW, a unified block-based DNN pruning framework that uses reweighted group lasso regularization to enable structured pruning across both CNNs and RNNs. By introducing flexible block-wise structured sparsity and an efficient reweighting mechanism, BLK-REW achieves high compression rates with minimal accuracy drop and enables real-time inference on mobile devices through integrated compiler optimization.
Accelerating DNN execution on various resource-limited computing platforms has been a long-standing problem. Prior works utilize l1-based group lasso or dynamic regularization such as ADMM to perform structured pruning on DNN models to leverage the parallel computing architectures. However, both of the pruning dimensions and pruning methods lack universality, which leads to degraded performance and limited applicability. To solve the problem, we propose a new block-based pruning framework that comprises a general and flexible structured pruning dimension as well as a powerful and efficient reweighted regularization method. Our framework is universal, which can be applied to both CNNs and RNNs, implying complete support for the two major kinds of computation-intensive layers (i.e., CONV and FC layers). To complete all aspects of the pruning-for-acceleration task, we also integrate compiler-based code optimization into our framework that can perform DNN inference in a real-time manner. To the best of our knowledge, it is the first time that the weight pruning framework achieves universal coverage for both CNNs and RNNs with real-time mobile acceleration and no accuracy compromise.
Motivation & Objective
- To address the lack of universality in existing structured pruning methods that are limited to specific network types like CNNs.
- To overcome the suboptimal solution quality and long convergence time of ADMM-based pruning, especially for FC layers in RNNs.
- To develop a flexible pruning dimension that supports both CNNs and RNNs without accuracy degradation.
- To integrate compiler-based code optimization to enable real-time inference on resource-limited mobile platforms.
- To achieve high model compression with minimal accuracy loss using a dynamic, efficient regularization method.
Proposed method
- Introduces block-based structured pruning (BLK pruning), which divides DNN layers into variable-sized blocks and applies structured pruning independently per block to increase design flexibility.
- Employs a reweighted group lasso regularization method that dynamically adjusts regularization strength based on weight magnitude, enabling more precise and effective sparsity induction.
- Uses a reweighting scheme that iteratively updates the regularization penalty to focus on less critical weights, improving convergence and pruning quality.
- Integrates compiler-aided code generation and optimization (e.g., Winograd, TFLite, TVM) to accelerate inference on mobile CPUs and GPUs.
- Applies the framework end-to-end on both CNNs (e.g., VGG-16, ResNet-18) and RNNs (e.g., GRU on TIMIT), supporting both convolutional and fully connected layers.
- Employs a unified training pipeline that combines block-wise sparsity constraints with reweighted regularization to jointly optimize for compression and accuracy.
Experimental results
Research questions
- RQ1Can a unified pruning framework achieve high compression and real-time inference across both CNNs and RNNs?
- RQ2Does reweighted regularization outperform traditional l1-group lasso and ADMM in pruning quality and convergence speed?
- RQ3Can block-based structured sparsity maintain high accuracy while enabling hardware-compatible, efficient inference on mobile devices?
- RQ4How does the integration of compiler-level optimization affect inference latency in pruned models?
- RQ5Can the framework achieve state-of-the-art compression rates without compromising model accuracy?
Key findings
- BLK-REW achieves 28.5× compression on VGG-16 with 94.0% top-1 accuracy, matching or exceeding non-structured pruning accuracy while maintaining hardware compatibility.
- On ResNet-18, the framework achieves 7.6× compression with 69.0% top-1 accuracy, preserving 98.5% of the original model’s performance.
- For MobileNet-V2, BLK-REW achieves 10.3× compression with 94.5% top-1 accuracy, demonstrating strong generalization across efficient architectures.
- On GRU-based speech recognition, the framework achieves 231.3× compression with 18.8% test error rate, enabling real-time inference at 0.21ms on mobile GPU.
- Inference on mobile CPU/GPU achieves sub-33ms latency for image classification tasks, satisfying real-time requirements (e.g., 30fps video).
- The reweighted regularization method converges significantly faster than ADMM and achieves better sparsity patterns than l1-group lasso, especially in FC layers.
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.