Recent Advances on Neural Network Pruning at Initialization

Huan Wang, Can Qin, Yue Bai, Yulun Zhang, Yun Fu

Abstract

Pruning at Initialization (PaI) is an emerging paradigm that identifies and trains sparse neural networks from the very beginning of the training process. This approach aims to eliminate the massive computational overhead associated with pre-training dense models—a requirement in traditional Pruning after Training (PaT)—while achieving comparable performance. This article summarizes the current landscape of PaI, categorizing methods into sparse training and sparse selection, and discusses the theoretical and practical challenges remaining in the field.

Introduction: The "Training Tax" of Over-parameterization

Deep learning success is largely attributed to over-parameterization; larger models typically optimize more easily and generalize better. However, this comes at a significant cost in memory, energy, and inference speed. While traditional Pruning after Training (PaT) effectively reduces inference costs by removing redundant parameters from a converged model, it fails to address the efficiency of the training process itself. Researchers still must pay a "tax" by training a giant model to convergence before sparsification can occur.

Pruning at Initialization (PaI) seeks to bypass this tax. It asks a fundamental question: Can we identify a sparse, high-performing subnetwork within a randomly initialized dense model before any heavy training begins?

The Pruning at Initialization Paradigm

The core difference between PaT and PaI lies in the source of the weights and the mask used to define the sparse structure. As shown in the comparison below, PaI methods typically rely on the initial network state rather than a converged one.

Comparison of pruning paradigms based on weight/mask sources and training requirements.

Taxonomy of PaI Methods

The field of PaI can be broadly categorized into two primary tracks: Sparse Training and Sparse Selection.

Taxonomy of Pruning at Initialization (PaI) methods, highlighting the distinction between static and dynamic masks.

1. Sparse Training

This track focuses on finding a sparse mask and then optimizing the weights of the resulting subnetwork.

  • Static Masks (Post-selected): The Lottery Ticket Hypothesis (LTH) is the foundational work here. It involves training a dense model to find a "winning" mask via magnitude pruning, resetting weights to their original values, and then training only that subnetwork.
  • Static Masks (Pre-selected): Methods such as SNIP, GraSP, and SynFlow use data-driven or structural criteria at "iteration zero" to select a mask without any prior training.
  • Dynamic Masks: Techniques like RigL and SNFS allow the mask to evolve during training by dropping weak connections and growing new ones based on gradient information.

2. Sparse Selection (Strong LTH)

A more radical approach, Sparse Selection (e.g., Hidden Networks), searches for a subnetwork that performs well without any weight updates. In this scenario, "training" consists entirely of selecting the correct connections from a random distribution, suggesting that pruning itself can act as a powerful optimization tool.

Key Insights and Results

Research into PaI has yielded several transformative insights:

  • The "Winning Ticket" is Real: LTH demonstrated that dense networks contain sparse subnetworks that can match full-model accuracy when trained in isolation.
  • Pruning as Optimization: The "Strong LTH" suggests that finding the right subnetwork in a sufficiently large random model is theoretically as powerful as traditional weight training.
  • Data-Free Pruning: Some methods, like SynFlow, can identify effective sparse structures based solely on the flow of gradients through the network's topology, without requiring training data.
  • Accuracy Parity: Many PaI methods achieve full accuracy at 80-90% sparsity on datasets like CIFAR. Notably, "Hidden" networks can find subnetworks in a random Wide ResNet-50 that outperform a trained ResNet-34 on ImageNet without a single weight update.

Limitations and Future Work

Despite its promise, PaI faces several hurdles:

  1. The Performance Gap: PaI generally still underperforms traditional PaT methods like OBD at extreme sparsity levels.
  2. The "Wall-Clock" Problem: Most research focuses on unstructured pruning. Because standard hardware (GPUs) is optimized for dense matrices, the theoretical FLOP savings of removing individual weights often do not translate to faster training times without specialized sparse kernels.
  3. Lack of Structured PaI: There is a significant research gap in structured pruning (removing entire filters or channels) at initialization, which is necessary for hardware acceleration.
  4. Theoretical Foundations: A deeper understanding is needed regarding why certain initializations contain "winning tickets" and how to find them reliably in very deep architectures.

To facilitate further research, the authors have released smile-pruning, a dedicated codebase for benchmarking these various PaI methods across standard vision and NLP tasks.

Summary updated

BibTeX
@inproceedings{wang2022recent,
  author = {Huan Wang and Can Qin and Yue Bai and Yulun Zhang and Yun Fu},
  title = {{Recent Advances on Neural Network Pruning at Initialization}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/786},
}
Figure