On Iterative Neural Network Pruning, Reinitialization, and the Similarity of Masks

Michela Paganini, Jessica Zosa FordearXiv 2020

Abstract

This paper investigates the uniqueness of "winning tickets" in neural network pruning. By comparing various pruning methods using Jaccard distance and weight stability metrics, we demonstrate that multiple distinct sub-networks can achieve high performance. We find that unstructured pruning with weight rewinding can emerge structured patterns, and that weight stability serves as a strong predictor of sub-network performance.

Introduction

Deep learning models are notoriously over-parametrized, leading to high computational costs and memory requirements. The "Lottery Ticket Hypothesis" (LTH) suggests that within these giant networks, there exist sparse sub-networks ("winning tickets") that can be trained to the same accuracy as the original model if reset to their initial weights. However, several questions remain: Is there only one such lucky sub-network? Does the specific pruning algorithm (e.g., removing individual weights vs. entire neurons) change the "ticket" we find? This paper investigates the uniqueness of these sub-networks and explores how different pruning strategies influence the connectivity and learning dynamics of the resulting sparse models.

Methods

The authors employ Iterative Magnitude Pruning (IMP), the standard procedure for finding winning tickets, across several architectures (LeNet, AlexNet, VGG-11) and datasets (MNIST, CIFAR-10). The study systematically varies:

  • Pruning Granularity: Unstructured (removing individual connections) vs. Structured (removing entire filters or channels).
  • Importance Metrics: Comparing $L_1$, $L_2$, and $L_{-\infty}$ norms to determine which weights or units to cut.
  • Weight Treatment: Comparing Weight Rewinding (resetting to initial values), Finetuning (continuing from trained values), and Sign-based Reinitialization (keeping only the sign of the initial weights).

To compare the resulting sub-networks, the authors use the Jaccard distance (a measure of how much two sets of masks overlap) and track Weight Stability—how much a weight's value changes between pruning iterations.

Key Results and Insights

The "Many Tickets" Phenomenon

A central finding is that different pruning methods (e.g., $L_1$ vs. $L_2$ structured pruning) find sub-networks that perform similarly but have almost zero overlap in their masks. This suggests that over-parametrized networks contain many "equiperforming" winning tickets, not just one. As pruning progresses, the Jaccard distance between masks found by different methods increases significantly, proving the sub-networks are structurally unique.

Jaccard distance between masks across different layers (conv1 to fc3), illustrating the divergence of sub-networks found by different pruning strategies.

Performance and Pruning Hierarchy

The study reveals a clear hierarchy in pruning resilience. Random structured pruning (removing random channels) consistently outperforms random unstructured pruning (removing random individual weights), suggesting networks are more resilient to losing entire units than a "swiss cheese" pattern of missing connections. Furthermore, a "hybrid" approach—using structured pruning for convolutional layers and unstructured pruning for fully-connected layers—showed high weight stability and competitive accuracy across different levels of sparsity.

Test accuracy as a function of the fraction of pruned weights for various structured and unstructured pruning methods.

Emergent Structure and Stability

One of the most surprising findings is that magnitude-based unstructured pruning, when combined with weight rewinding, naturally begins to prune entire rows of filters. It effectively performs "input feature selection" even though it wasn't explicitly programmed to do so. Additionally, the authors found a strong correlation between "weight stability" and accuracy. If a pruning method results in weights that converge to roughly the same values iteration after iteration, that sub-network is much more likely to be a high-performing winning ticket.

Conclusion

This work challenges the notion of a unique winning ticket, demonstrating that multiple structurally diverse sub-networks can achieve comparable performance. The results highlight the importance of weight rewinding in surfacing emergent structures and suggest that weight stability is a key indicator of a sub-network's potential. Future research is needed to determine if these findings scale to larger models like Transformers or ResNets on ImageNet.

Summary updated

BibTeX
@misc{paganini2020iterative,
  author = {Michela Paganini and Jessica Zosa Forde},
  title = {{On Iterative Neural Network Pruning, Reinitialization, and the Similarity of Masks}},
  year = {2020},
  eprint = {2001.05050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.05050},
}
Figure