Abstract
Pruning at Initialization (PaI) makes training overparameterized neural networks more efficient by reducing the overall computational cost from training to inference. Recent PaI studies showed that random pruning is more effective than ranking-based pruning, which learns connectivity. However, the effectiveness of each pruning method depends on the existence of skip connections and the compression ratio. While random pruning performs better than ranking-based pruning on architectures with skip connections, the superiority without skip connections is reversed in the high compression range. This paper proposes Minimum Connection Assurance (MiCA) that achieves higher accuracy than conventional PaI methods for architectures with and without skip connections, regardless of the compression ratio. MiCA preserves the random connection between the layers and maintains the performance at high compression ratios without the costly connection learning that ranking-based pruning requires.
Introduction
Deep learning models are increasingly deployed on edge devices with limited resources. Pruning at Initialization (PaI) has emerged as a key technique to reduce memory and computational overhead by removing unnecessary connections before training begins. However, a significant performance gap exists between ranking-based pruning (RbPI), which uses gradients to identify important weights, and random pruning (RPI). While RPI is computationally efficient, it fails at high compression ratios (e.g., >100x), particularly in architectures without skip connections like VGG-16.
The Connectivity Challenge
The primary failure mode of random pruning at high compression is the creation of "dead" or non-functional nodes. These are neurons that lack a complete path from the input layer to the output layer. When a significant portion of the network becomes disconnected, information cannot flow, and the model cannot learn effectively.
This issue is often masked in modern architectures like ResNet because skip connections provide alternative paths for information flow. In architectures without these "safety nets," the structural integrity of the sparse network becomes the bottleneck for performance.
Minimum Connection Assurance (MiCA)
To address this, we propose Minimum Connection Assurance (MiCA), a restricted random pruning algorithm. MiCA ensures that every kept edge contributes to a functional path through a two-step process:
- Minimum Connection Construction: MiCA identifies a skeletal "minimum connection" path. It calculates the necessary nodes per layer to ensure end-to-end propagation and connects at least one input node from defined "blocks" to an output node.
- Random Allocation: The remaining parameter budget, defined by the target compression ratio, is then distributed randomly across the network.
By guaranteeing a functional skeleton, MiCA prevents "layer collapse" while maintaining the low computational cost of random methods.
Experimental Evaluation
We evaluated MiCA across various benchmarks, including CIFAR-10/100 and ImageNet for image classification, and OGBN-ArXiv for node classification using Graph Neural Networks (GCN/GIN).
Key Results
- High Compression Performance: In VGG-16 on CIFAR-10, MiCA improved the accuracy of standard random pruning by 27.0% at a $10^{4.7}\times$ compression ratio.
- Efficiency: MiCA achieves performance comparable to state-of-the-art ranking methods like SNIP and SynFlow without the need for expensive gradient calculations.
- Universality: The method proved effective for both Convolutional Neural Networks and Graph Neural Networks, indicating that minimum connectivity is a fundamental requirement for sparse learning.
Discussion and Conclusion
Our findings suggest that at extreme compression levels, the topology of the network (how layers are connected) is more critical than the specific importance of individual weights. MiCA demonstrates that random connectivity is sufficient for high performance, provided that the network remains "alive" through guaranteed functional paths.
While MiCA shows significant gains in high-compression scenarios, its benefits are less pronounced at lower compression ratios where connectivity is naturally maintained. Future work will explore reducing the variance inherent in the random allocation step and scaling these connectivity constraints to even larger datasets like ImageNet, where current gains are more modest.
Summary updated