[Paper Review] VACL: Variance-Aware Cross-Layer Regularization for Pruning Deep Residual Networks
This paper proposes VACL, a variance-aware cross-layer regularization method for pruning deep residual networks by grouping filters across skip-connection layers and minimizing inter-layer weight variance to enforce aligned structural sparsity. It achieves up to 79.5% parameter reduction in ResNet110 on CIFAR-10 with no accuracy drop and 63.3% pruning on ImageNet with less than 1% top-5 accuracy drop, outperforming state-of-the-art methods.
Improving weight sparsity is a common strategy for producing light-weight deep neural networks. However, pruning models with residual learning is more challenging. In this paper, we introduce Variance-Aware Cross-Layer (VACL), a novel approach to address this problem. VACL consists of two parts, a Cross-Layer grouping and a Variance Aware regularization. In Cross-Layer grouping the $i^{th}$ filters of layers connected by skip-connections are grouped into one regularization group. Then, the Variance-Aware regularization term takes into account both the first and second-order statistics of the connected layers to constrain the variance within a group. Our approach can effectively improve the structural sparsity of residual models. For CIFAR10, the proposed method reduces a ResNet model by up to 79.5% with no accuracy drop and reduces a ResNeXt model by up to 82% with less than 1% accuracy drop. For ImageNet, it yields a pruned ratio of up to 63.3% with less than 1% top-5 accuracy drop. Our experimental results show that the proposed approach significantly outperforms other state-of-the-art methods in terms of overall model size and accuracy.
Motivation & Objective
- To address the challenge of pruning deep residual networks with skip-connections, where misaligned sparsity patterns reduce pruning efficiency.
- To reduce the variance of weights across connected layers tied by skip-connections, which hinders effective pruning.
- To improve structural sparsity by enforcing channel-aligned sparsity across residual blocks.
- To develop a regularization method that leverages both first- and second-order statistics of weights within grouped layers.
- To demonstrate that pruned models trained with VACL generalize well to downstream tasks like scene recognition.
Proposed method
- VACL introduces cross-layer grouping by clustering the i-th filters of all layers connected via skip-connections into a single regularization group.
- It applies a variance-aware regularization term that considers both the mean and variance of weights within each group to minimize magnitude differences.
- The regularization term is designed to encourage similar magnitudes across connected layers, reducing the risk of high parameter variance when zeroing out weights.
- The method integrates with a training-and-prune pipeline, where sparsity is induced during training via the regularization term.
- It uses Group Lasso-style regularization with a learned hyperparameter λ to control the strength of sparsity induction.
- The approach supports both fine-tuning from a pre-trained model and training from random initialization, with competitive performance.
Experimental results
Research questions
- RQ1Can cross-layer regularization improve structural sparsity in residual networks by aligning sparsity patterns across skip-connected layers?
- RQ2How does considering both first- and second-order statistics of weights improve pruning performance compared to standard L1 or Group Lasso regularization?
- RQ3Does VACL enable effective pruning with minimal accuracy drop when applied to deep residual architectures like ResNet and ResNeXt?
- RQ4Can models pruned using VACL generalize well to transfer learning tasks such as scene recognition on the Indoor-67 dataset?
- RQ5Is training a pruned model from random initialization viable with VACL, and how does it compare to the standard train-prune-fine-tune paradigm?
Key findings
- On CIFAR-10, VACL reduces ResNet110 model size by 79.5% with no accuracy drop, achieving a top-1 error of 22.85%.
- For ResNeXt-29-8-64 on CIFAR-10, the method achieves 82% parameter reduction with less than 1% accuracy drop.
- On ImageNet, VACL achieves a 63.3% pruning ratio on ResNet50 with only 0.94% top-5 accuracy drop, and 1.61% top-1 accuracy drop.
- The method outperforms state-of-the-art approaches like ThiNet-70 and ThiNet-50 in terms of model compactness and accuracy trade-off.
- Models trained with VACL generalize well, achieving 70.1% accuracy on the Indoor-67 scene recognition dataset with only 6.1M parameters.
- Training from random initialization using VACL yields comparable accuracy to fine-tuning, with a maximum difference of 0.16% across runs.
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.