TL;DR
This paper introduces a novel pruning technique called Average Filter Information Entropy (AFIE) that evaluates filter importance based on the distribution of eigenvalues from a low-rank decomposition of convolutional layer "input-output" matrices. AFIE offers stable importance scores even for models trained for just one epoch, overcoming the dependency on fully trained models seen in prior methods.
What Problem Does This Paper Address?
Convolutional Neural Networks (CNNs) are powerful but computationally expensive due to their large size. Network pruning aims to reduce this computational burden by removing redundant filters. However, most existing structured pruning methods rely on analyzing filter weights or gradients, which are highly sensitive to the training progress of the model. This means these methods require a fully trained model to achieve good pruning results, which is time-consuming and can lead to suboptimal pruning if the model isn't perfectly optimized. The paper addresses this by proposing a pruning metric that is robust to the training stage of the model.
Methods
The core of the proposed method is the Average Filter Information Entropy (AFIE). The process involves three main steps:
- Low-Rank Space Projection: For each convolutional layer, the "input-output" matrix (representing filter interactions) is folded into a 2D matrix. This matrix is then decomposed using Singular Value Decomposition (SVD) to obtain eigenvalues. These eigenvalues are interpreted as representing the "strength of projected information" along different dimensions.
- Normalization of Eigenvalues: The eigenvalues are normalized to a [0, 1] range using a min-max scaling. Subsequently, a softmax function is applied to these normalized eigenvalues to convert them into probabilities, ensuring their sum is 1. This step makes the eigenvalue distributions comparable across different layers.
- Average Filter Information Entropy Calculation: The information entropy is calculated based on these normalized and softmaxed eigenvalues. This entropy value, representing the "energy" or information content of a layer's projections, is then averaged across all filters in that layer to get the AFIE for each filter. This AFIE score is used to determine the pruning ratio for each layer.
A key theoretical underpinning is the demonstration that the update of parameters between a fully-trained and an under-trained model is Lipschitz continuous, implying that the AFIE scores remain stable even with limited training.
Datasets
The proposed framework was evaluated on the following datasets:
- MNIST: A dataset of handwritten digits.
- CIFAR-10: A dataset of 10 object classes.
- ImageNet: A large-scale dataset of diverse images.
The paper does not introduce new benchmarks.
Key Insights and Ideas
- Parameter-Free Importance: The most significant insight is that filter importance can be reliably estimated without directly relying on the model's weights or gradients. This makes the pruning process independent of the model's training progress.
- Early-Stage Pruning: The AFIE metric's stability allows for effective pruning even when the model is trained for just one epoch. This drastically reduces the time and computational resources needed for pruning.
- Eigenvalue Distribution as a Proxy for Importance: The paper posits that the distribution of eigenvalues from SVD of the "input-output" matrix captures essential information about filter interactions and their contribution to the network's representation. A flatter distribution suggests more uniform importance, while a skewed distribution indicates some filters are more critical.
- Robustness to Training: The theoretical analysis and experimental results strongly support the claim that AFIE scores are consistent across different training epochs, from one epoch to full training.
Key Results
- Consistent AFIE Scores: Experiments showed that AFIE scores for each layer remained identical whether the model was trained for 1, 50, or 150 epochs.
- Competitive Pruning Performance: The AFIE-based pruning framework achieved comparable or better accuracy than previous methods (e.g., Net Slim, Taylor) on AlexNet, VGG-16, and ResNet-50 across MNIST, CIFAR-10, and ImageNet.
- Significant Compression: The method achieved substantial reductions in parameters and FLOPs (e.g., 76.42% parameter and 23.08% FLOP reduction for AlexNet on MNIST with a 70% pruning ratio).
- One-Shot Pruning Efficiency: The paper adopted a one-shot pruning strategy (pruning all filters at once based on initial AFIE scores) which is more efficient than iterative methods that require re-evaluation and retraining.
Limitations and Future Work
- Filter Importance within Layers: While AFIE quantifies layer importance, the paper assumes filters within a layer have equal importance for calculating the average filter information entropy. The pruning ratio is then applied to the layer. Future work could explore finer-grained importance within layers.
- Reserved Filters: The method reserves a small percentage (1%) of filters in each layer to maintain topological integrity, preventing complete layer removal. This is a practical consideration, but future work might investigate optimal percentages or alternative strategies.
- Theoretical Extension: While the paper provides theoretical justification for AFIE's stability, further theoretical exploration into the relationship between eigenvalue distributions and filter importance could be beneficial.
- Broader Model Architectures: While tested on AlexNet, VGG-16, and ResNet-50, exploring AFIE's effectiveness on even more diverse and complex architectures (e.g., Transformers, MobileNets) would be valuable.
Summary updated