TL;DR
This paper introduces a novel "in-training" pruning method that dynamically compresses neural networks during the training process, eliminating the need for a fully pre-trained model. By analyzing "activation density" (AE) per layer, the method efficiently identifies and reduces redundant network components, leading to significantly faster training times and substantial reductions in computational cost (OPS) while maintaining comparable accuracy.
What Problem Does This Paper Address?
Deep neural networks, while powerful, are often computationally expensive due to their large number of parameters and high inference costs. Traditional pruning methods typically involve training a large network to high accuracy, then iteratively pruning and retraining it. This process is time-consuming and requires a substantial pre-trained model as a starting point. The authors aim to address this by developing a pruning strategy that integrates directly into the training loop, making the compression process more efficient and less dependent on pre-existing, fully trained models.
Methods
The core of this paper is the "Activation Density" (AE) metric, defined as the ratio of non-zero activations to total activations within a layer. The authors propose an "in-training" pruning approach where:
- Dynamic Pruning: The network is trained until a "pruning criteria" (p) is met, typically when the total AE saturates.
- AE Analysis: The AE is calculated for each layer.
- Layer-wise Sizing: The size (number of channels) of each convolutional layer in the next training iteration is determined by multiplying its original size by its current AE. This effectively compresses layers with lower activation density.
- Progressive Downsizing: This process is repeated iteratively, creating successively smaller networks (net1, net2, etc.) until a "stopping criteria" (δ) is met, usually indicated by an upward trend in the AE profile, suggesting that further pruning would harm accuracy.
- Random Initialization: Crucially, each new pruned network is randomly initialized, demonstrating that pre-trained weights are not necessary for successful compression.
Datasets
The authors evaluated their method on the following standard image classification datasets:
- CIFAR-10
- CIFAR-100
- TinyImageNet
Key Insights and Ideas
- Activation Density as a Redundancy Indicator: The paper posits that a decreasing AE during training signifies redundant features or connections within a layer. This provides an intuitive, albeit empirical, basis for pruning.
- In-Training Pruning is Viable: A significant finding is that pruning can be effectively performed during training, eliminating the need for a fully pre-trained model. This drastically reduces overall training time.
- Random Initialization Suffices: The authors demonstrate that randomly initializing the pruned networks yields comparable results to using weights from the larger, unpruned network, challenging a common assumption in pruning literature.
- Architecture Matters for Compression: The paper supports the idea that network architecture plays a key role in compression efficiency, with residual networks (like ResNet) showing higher AE and thus less compression potential compared to VGG-type networks.
- OPS Reduction is Prioritized: The AE-driven pruning method appears to aggressively target Operations Per Second (OPS) intensive layers, leading to substantial compute savings even when parameter reduction is not as extreme as in some other methods.
Key Results
- Significant Compression: Achieved up to 200x reduction in parameters and over 60x reduction in OPS (e.g., ResNet18 on CIFAR-10).
- Comparable Accuracy: Maintained accuracy comparable to baseline networks.
- Reduced Training Time: Significantly shorter total training times compared to traditional iterative pruning methods.
- Lower Training Complexity: Demonstrated considerable reduction in training compute complexity (1.6x to 3.2x lower) at near iso-accuracy.
- Architecture Agnostic: The method can be applied to various network architectures (VGG-19, ResNet18).
Limitations and Future Work
- Empirical Basis for AE: While effective, the hypothesis that decreasing AE directly correlates with redundancy is empirically validated rather than theoretically proven.
- Potential for Overfitting (Theoretical): The authors acknowledge a theoretical concern that enforcing higher density (less sparsity) might lead to over-fitting in ReLU networks, though they argue that the AE saturation point makes achieving 100% density unlikely.
- Future Work: The authors suggest exploring combinations of their approach with Lottery Ticket Hypothesis (LTH) methods to potentially achieve optimal performance across various architectures and datasets. They also propose investigating the implications of their method on ReLU networks and the potential for over-fitting.
Summary updated