[Paper Review] Accelerate CNNs from Three Dimensions: A Comprehensive Pruning Framework
This paper proposes a three-dimensional pruning framework that jointly optimizes depth, width, and input resolution to minimize accuracy loss during CNN acceleration. By modeling accuracy as a polynomial regression of these three dimensions and solving for the optimal trade-off via constrained optimization, the method achieves state-of-the-art performance with significantly reduced data collection cost through specialized low-rank polynomial approximation and iterative fine-tuning.
Most neural network pruning methods, such as filter-level and layer-level prunings, prune the network model along one dimension (depth, width, or resolution) solely to meet a computational budget. However, such a pruning policy often leads to excessive reduction of that dimension, thus inducing a huge accuracy loss. To alleviate this issue, we argue that pruning should be conducted along three dimensions comprehensively. For this purpose, our pruning framework formulates pruning as an optimization problem. Specifically, it first casts the relationships between a certain model's accuracy and depth/width/resolution into a polynomial regression and then maximizes the polynomial to acquire the optimal values for the three dimensions. Finally, the model is pruned along the three optimal dimensions accordingly. In this framework, since collecting too much data for training the regression is very time-costly, we propose two approaches to lower the cost: 1) specializing the polynomial to ensure an accurate regression even with less training data; 2) employing iterative pruning and fine-tuning to collect the data faster. Extensive experiments show that our proposed algorithm surpasses state-of-the-art pruning algorithms and even neural architecture search-based algorithms.
Motivation & Objective
- To address the suboptimal accuracy loss caused by pruning only one dimension (depth, width, or resolution) in existing CNN pruning methods.
- To formulate model acceleration as a joint optimization problem across depth, width, and resolution to find the optimal balance.
- To reduce the high cost of data collection for polynomial regression by introducing a low-rank specialized MAP and iterative pruning.
- To demonstrate that comprehensive three-dimensional pruning outperforms both unidimensional pruning and NAS-based approaches.
Proposed method
- Formulates pruning as an optimization problem: maximize accuracy subject to a computational budget constraint across depth, width, and resolution.
- Models the accuracy predictor (MAP) using polynomial regression of depth, width, and resolution, approximating the complex relationship between hyperparameters and accuracy.
- Introduces a specialized polynomial with low-rank weight tensors to prevent overfitting and improve generalization with limited training data.
- Employs iterative pruning and fine-tuning to rapidly collect (d, w, r, a) training data, avoiding costly retraining from scratch.
- Solves the optimization problem using Lagrange multipliers to find the optimal (d*, w*, r*) values that maximize accuracy under the budget constraint.
- Uses Taylor’s theorem to justify polynomial approximation of arbitrary continuous accuracy functions.
Experimental results
Research questions
- RQ1Can jointly optimizing depth, width, and resolution lead to better accuracy retention than unidimensional pruning?
- RQ2How can an accurate accuracy predictor (MAP) be constructed with minimal training data for three-dimensional hyperparameter search?
- RQ3What is the impact of polynomial degree and regularization on the generalization and robustness of the MAP?
- RQ4Can iterative pruning and fine-tuning significantly reduce the data collection cost for training the MAP?
- RQ5How does three-dimensional pruning compare to NAS-based methods in terms of accuracy and computational cost?
Key findings
- The proposed framework achieves state-of-the-art accuracy on CIFAR-10 and TinyImageNet under comparable computational budgets, surpassing existing pruning algorithms.
- For ResNet-32 on CIFAR-10, the optimal pruning setting is (d*, w*, r*) = (0.78, 0.82, 0.98), and for ResNet-56 on TinyImageNet, it is (0.65, 1.0, 0.63).
- The specialized MAP achieves a training error of 0.08% and evaluation error of 0.25%, significantly outperforming standard polynomial regression and regularized variants.
- Polynomial degrees ≥3 yield consistent optimal predictions across different models, indicating robustness to hyperparameter choice.
- Visualization of feature maps shows that the pruned model’s last-layer activations are most similar to the original model, confirming better feature preservation.
- The method reduces data collection cost by using iterative fine-tuning and low-rank specialization, enabling efficient training of the MAP with limited data.
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.