Abstract
Modern deep neural networks, particularly those with skip-connections like ResNet and DenseNet, are often over-parameterized. This paper introduces Pruning with Energy Dependence (PED), a framework that leverages Energy Statistics to quantify model-free statistical dependencies between hidden layers and final outputs. By identifying and removing redundant layers through a clustering-based selection process, PED achieves significant reductions in parameters and FLOPs with minimal accuracy loss, outperforming several state-of-the-art pruning methods on CIFAR and ImageNet benchmarks.
Introduction
Modern Convolutional Neural Networks (CNNs) are notoriously over-parameterized, often containing millions of parameters that demand massive memory and computational power. While pruning—removing unnecessary parts of the network—is a common solution, doing it effectively for architectures with skip-connections is challenging.
In standard feed-forward networks, information generally flows linearly. However, skip-connections break this "Markov Chain" property, meaning the information content doesn't necessarily decrease as you go deeper. Existing pruning methods often rely on weight norms or parametric assumptions about data distributions that don't hold up in high-dimensional feature spaces. This work proposes a "model-free" way to quantify exactly how much a specific layer contributes to the final prediction.
Methods: Pruning with Energy Dependence (PED)
The authors propose a structured pruning approach called PED (Pruning with Energy Dependence). The core components are:
- Energy Distance (ED): A statistical measure used to quantify the "dissimilarity" between two distributions. Unlike Shannon Mutual Information, Energy Distance is "model-free" and doesn't require assuming a specific probability distribution for the feature maps.
- Energy Dependence: A measure of how much a feature map $T$ reveals about the output labels $Y$. A higher value indicates a more "informative" layer.
- The PED Algorithm:
- Clustering: Instead of just picking the top-$k$ most informative layers (Ranking), the algorithm clusters layers based on their Energy Dependence values using an optimal 1D k-means approach.
- Selection: In each cluster, only the "cluster head" (the most informative unit) is kept, while others are pruned as redundant.
- Iterative Re-training: The network is pruned in stages and re-trained to recover lost accuracy.
As shown in the figure above, the clustering approach consistently maintains higher test accuracy compared to simple ranking or random selection, especially at higher pruning rates (lower remaining parameters/FLOPs).
Experimental Setup
The researchers evaluated PED on three standard computer vision benchmarks:
- CIFAR-10: 60,000 small images across 10 classes.
- CIFAR-100: Similar to CIFAR-10 but with 100 finer-grained classes.
- ImageNet (ILSVRC-2012): A massive dataset with over 1 million images and 1,000 classes, used to test the scalability of the method on ResNet50.
Key Results
The PED method consistently performed at or above the level of state-of-the-art (SOTA) pruning techniques across various architectures.
- ResNet56 (CIFAR-10): PED reduced parameters by 62.96% and FLOPs by 63.86% while maintaining a test accuracy of 93.36% (virtually identical to the unpruned baseline).
- ResNet164 (CIFAR-100): One variant (ResNet164-b) achieved a 72.80% reduction in parameters and 64.30% reduction in FLOPs with only a small dip in accuracy.
- ImageNet (ResNet50): PED outperformed several SOTA methods (like HRank and GAL-0.5), achieving 72.80% Top-1 accuracy while cutting FLOPs by over 50%.
Discussion and Key Insights
- Information isn't Monotonic: Because of skip-connections, a deeper layer isn't necessarily "smarter" than a shallower one. PED accounts for this by measuring dependency directly rather than assuming a linear loss of information.
- Statistical Indistinguishability: The authors argue that if two layers have very similar information values, they are statistically indistinguishable due to data sampling noise. This is why they use clustering rather than simple ranking; it helps identify groups of layers that provide redundant information.
- Model-Freeness: By avoiding parametric assumptions, the method remains computationally efficient even when dealing with the massive, high-dimensional feature maps found in deep CNNs.
Limitations
Like many pruning methods, PED requires multiple stages of pruning and re-training, which can be time-consuming compared to "one-shot" methods. Additionally, the number of clusters ($K$) and stages ($N$) are hyperparameters that require manual oversight. Future work could explore applications to emerging architectures like Transformers.
Summary updated