Abstract
Convolutional Neural Network (CNN) is more and more widely used in various fields, and its computation and memory-demand are also increasing significantly. In order to make it applicable to limited conditions such as embedded application, network compression comes out. Among them, researchers pay more attention to network pruning. In this paper, we encode the convolution network to obtain the similarity of different encoding nodes, and evaluate the connectivity-power among convolutional kernels on the basis of the similarity. Then impose different level of penalty according to different connectivity-power. Meanwhile, we propose Channel Pruning base on the Dissimilarity of Angle (DACP). Firstly, we train a sparse model by GL penalty, and impose an angle dissimilarity constraint on the channels and filters of convolutional network to obtain a more sparse structure. Eventually, the effectiveness of our method is demonstrated in the section of experiment. On CIFAR-10, we reduce 66.86% FLOPs on VGG-16 with 93.31% accuracy after pruning, where FLOPs represents the number of floating-point operations per second of the model. Moreover, on ResNet-32, we reduce FLOPs by 58.46%, which makes the accuracy after pruning reach 91.76%.
Introduction
Deep Learning models, particularly Convolutional Neural Networks (CNNs), are notoriously resource-hungry. To run them on "edge" devices like smartphones or embedded sensors, we need to make them smaller and faster through a process called pruning.
Traditional pruning often relies on a "smaller-norm-is-less-important" philosophy—essentially cutting out weights with the smallest values. However, the authors argue this is a flawed metric: small weights can sometimes carry critical information, while large weights might simply be redundant (i.e., multiple filters doing the exact same job). The challenge is finding a way to identify and remove this redundancy without hurting the model's ability to generalize.
Methodology
The authors propose a two-stage approach to "structured pruning," which removes entire channels or filters rather than individual weights, making it hardware-friendly:
- Initial Sparsity: They first train the model using a Group LASSO (GL) penalty. This encourages entire groups of parameters (like a whole filter) to shrink toward zero, creating a more effective baseline for pruning than standard L2-norm penalties.
- Angle Dissimilarity (AD) Constraint: This is the core innovation. The researchers treat channels and filters as vectors in a high-dimensional space and calculate the cosine similarity (the angle) between them. If two filters have a very small angle between them, they are redundant. The DACP method imposes a penalty on these similar pairs, forcing the model to either diversify them or shrink the redundant ones for pruning.
- Computational Optimization: To avoid the $O(n^3)$ complexity of all-pairs comparison, the authors approximate the process by calculating a "mean vector" for each layer and measuring the similarity of each channel against this single base vector, reducing complexity to $O(n^2)$.
Key Insights and Feature Visualization
A critical observation of this work is that the diversity of features is more important than the raw magnitude of weights. By focusing on the angle between filters, the model is forced to learn a more diverse set of features. The authors introduce the concept of "connectivity-power" to evaluate how well-distributed and non-redundant the information flow is through the network.
As shown in the feature visualization, applying the Angle Dissimilarity penalty actually "restores" or clarifies certain features that were previously redundant or muddy in a standard Group LASSO model. Because they prune at the channel/filter level, the resulting model remains coherent and can be easily deployed on standard hardware.
Key Results
The DACP method consistently outperformed or matched state-of-the-art pruning techniques across various benchmarks:
- VGG-16 on CIFAR-10: Reduced FLOPs by 66.86% while maintaining 93.31% accuracy.
- ResNet-32 on CIFAR-10: Reduced FLOPs by 58.46% with a final accuracy of 91.76%.
- ResNet-34 on CIFAR-100: Achieved a massive 65.49% reduction in FLOPs while keeping accuracy at 72.51%.
- Caltech-101: On VGG-16, they achieved a 22.95% FLOP reduction and actually improved accuracy slightly (from 95.28% to 95.55%), suggesting the pruning acted as a form of regularization.
Conclusion
DACP demonstrates that angular diversity is a powerful metric for identifying redundancy in CNNs. By moving beyond weight magnitude, the method achieves significant compression with minimal impact on performance. Future work will explore more sophisticated ways to define basis vectors for similarity and the dynamic use of connectivity-power to guide sparsity from the start of training.
Summary updated