Abstract
As the optimization problem of pruning a neural network is nonconvex and the strategies are only guaranteed to find local solutions, a good initialization becomes paramount. To this end, we present the Amenable Sparse Network Investigator (ASNI) algorithm that learns a sparse network whose initialization is compressed. The learned sparse structure found by ASNI is amenable since its corresponding initialization consists of only $2L$ numbers, where $L$ is the number of layers. These centroids are learned after only one single round of training. We experimentally show that these learned centroids are sufficient to initialize the nonzero parameters of the learned sparse structure to achieve approximately the accuracy of a non-sparse network.
Introduction
Deep Neural Networks (DNNs) are notoriously over-parameterized, leading to high computational costs. Pruning—removing unnecessary weights—helps, but it usually falls into two distinct camps: Task 1 focuses on finding an accurate, sparse "off-the-shelf" network ready for deployment, while Task 2 aims to find a sparse structure (a mask) that is "trainable" from scratch, often referred to as the Lottery Ticket Hypothesis (LTH).
The challenge is that standard LTH methods require expensive, multiple rounds of training and often fail on large-scale models like ResNet-50. Meanwhile, "foresight" pruning (pruning before training) often results in lower accuracy. ASNI bridges this gap by solving both tasks simultaneously in just one training round, even for large-scale ImageNet models.
Methodology
The ASNI framework consists of two primary components designed to optimize both network structure and initialization efficiency.
ASNI-I: The Pruner
This stage uses a novel global pruning strategy governed by a sigmoid function. Instead of pruning a fixed amount every epoch, the sigmoid schedule manages the "sparsity budget" dynamically. Pruning is performed magnitude-wise after each epoch of training. This involves an early phase with low pruning to learn connectivity, a middle phase for aggressive pruning, and a final "healing" phase for fine-tuning remaining weights.
ASNI-II: The Initializer
Following the pruning phase, the weights in each layer tend to cluster into two distinct normal-like distributions—one positive and one negative. ASNI-II calculates the mean of these two clusters (centroids $c_+$ and $c_-$) for each layer. These $2L$ numbers form the "amenable" initialization, allowing the sparse network to be retrained from scratch to reach near-dense accuracy.
Key Results
The authors evaluated ASNI across a diverse range of benchmarks including MNIST, CIFAR-10, and ImageNet-1K.
- Accuracy: On ImageNet with ResNet-50 at 80% sparsity, ASNI-I achieved 75.23% top-1 accuracy, outperforming state-of-the-art single-round methods like RigL (74.55%) and Gradual Magnitude Pruning (74.68%).
- Retrainability: Sparse networks initialized with the ASNI-II "amenable" centroids reached 75.17% accuracy, nearly matching the performance of the weights learned during the first round.
- Extreme Compression: For a ResNet-50 with over 25 million parameters, ASNI-II reduces the required initialization data to just $2 \times 54$ numbers, representing a massive leap in model compression.
Conclusion
ASNI demonstrates that trained sparse weights naturally segregate into two clusters, allowing for extreme initialization compression. By pruning globally and gradually, ASNI successfully finds "winning tickets" in a single pass, even on large-scale datasets where traditional LTH methods struggle. This approach provides a robust path toward deploying efficient, high-performance sparse models.
Summary updated