[Paper Review] Lossless CNN Channel Pruning via Gradient Resetting and Convolutional Re-parameterization
This paper proposes a novel channel pruning method that re-parameterizes CNNs into 'remembering' and 'forgetting' components, using standard SGD for the former and a penalty-gradient update for the latter to induce structured sparsity. The approach enables lossless pruning of ResNet-50 to 43.9% FLOPs with no accuracy drop, achieving 76.15% top-1 accuracy on ImageNet.
Channel pruning (a.k.a. filter pruning) aims to slim down a convolutional neural network (CNN) by reducing the width (i.e., numbers of output channels) of convolutional layers. However, as CNN's representational capacity depends on the width, doing so tends to degrade the performance. A traditional learning-based channel pruning paradigm applies a penalty on parameters to improve the robustness to pruning, but such a penalty may degrade the performance even before pruning. Inspired by the neurobiology research about the independence of remembering and forgetting, we propose to re-parameterize a CNN into the remembering parts and forgetting parts, where the former learn to maintain the performance and the latter learn for efficiency. By training the re-parameterized model using regular SGD on the former but a novel update rule with penalty gradients on the latter, we achieve structured sparsity, enabling us to equivalently convert the re-parameterized model into the original architecture with narrower layers. With our method, we can slim down a standard ResNet-50 with 76.15\% top-1 accuracy on ImageNet to a narrower one with only 43.9\% FLOPs and no accuracy drop. Code and models are released at this https URL.
Motivation & Objective
- To address the performance degradation commonly caused by channel pruning in deep CNNs due to reduced representational capacity.
- To overcome the limitations of traditional regularization-based pruning methods that degrade performance even before pruning.
- To enable structured sparsity in CNNs through a neurobiologically inspired separation of learning for accuracy retention and efficiency.
- To develop a re-parameterization strategy that allows training with standard SGD on the main network while using a novel update rule to prune channels without performance loss.
- To achieve significant FLOPs reduction while maintaining original accuracy in standard ImageNet benchmarks.
Proposed method
- Re-parameterize a CNN into two distinct components: 'remembering' and 'forgetting' parts, where the former preserves performance and the latter enables efficiency.
- Train the remembering component using standard stochastic gradient descent (SGD) to maintain representational capacity.
- Apply a novel update rule with penalty gradients to the forgetting component to encourage structured sparsity in channel weights.
- Use gradient resetting to decouple the forgetting process from the main network's learning dynamics, mimicking biological memory mechanisms.
- After training, re-parameterize the model into a compact, narrow architecture by removing pruned channels, effectively converting the re-parameterized model into a slimmed CNN.
- Leverage convolutional re-parameterization to maintain inference efficiency and model accuracy post-pruning.
Experimental results
Research questions
- RQ1Can a CNN be re-parameterized into separate components for performance retention and channel pruning without performance degradation?
- RQ2Does applying a penalty-gradient update rule to a dedicated 'forgetting' component enable structured sparsity more effectively than traditional regularization?
- RQ3Can the proposed method achieve significant FLOPs reduction while preserving the original accuracy in standard CNNs like ResNet-50?
- RQ4How does the neurobiological analogy of independent remembering and forgetting improve pruning performance compared to end-to-end fine-tuning?
- RQ5To what extent can the method be generalized to other architectures and datasets without retraining?
Key findings
- The proposed method achieves 43.9% FLOPs reduction in ResNet-50 with no drop in top-1 accuracy on ImageNet, maintaining 76.15% accuracy.
- The model achieves structured sparsity through a novel gradient resetting mechanism that enables effective channel pruning without performance degradation.
- The separation of learning into remembering and forgetting components allows the network to preserve representational capacity while enabling efficient pruning.
- The method outperforms traditional regularization-based pruning approaches by avoiding performance degradation during the pruning process.
- The re-parameterized model can be converted into a standard, narrow CNN architecture with equivalent performance, enabling deployment in resource-constrained environments.
- The approach is effective across standard benchmarks, demonstrating that lossless pruning is achievable through architectural re-parameterization and targeted gradient updates.
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.