[Paper Review] Robust Pruning at Initialization
This paper proposes SBP-SR, a novel pruning method at network initialization that ensures pruned models remain trainable by leveraging rescaling and reparameterization to maintain the Edge of Chaos (EOC) regime. It achieves state-of-the-art accuracy on CIFAR10, CIFAR100, TinyImageNet, and ImageNet, even at extreme sparsity levels like 99.5% and 99.9%, outperforming prior one-shot pruning methods such as SNIP.
Overparameterized Neural Networks (NN) display state-of-the-art performance. However, there is a growing need for smaller, energy-efficient, neural networks tobe able to use machine learning applications on devices with limited computational resources. A popular approach consists of using pruning techniques. While these techniques have traditionally focused on pruning pre-trained NN (LeCun et al.,1990; Hassibi et al., 1993), recent work by Lee et al. (2018) has shown promising results when pruning at initialization. However, for Deep NNs, such procedures remain unsatisfactory as the resulting pruned networks can be difficult to train and, for instance, they do not prevent one layer from being fully pruned. In this paper, we provide a comprehensive theoretical analysis of Magnitude and Gradient based pruning at initialization and training of sparse architectures. This allows us to propose novel principled approaches which we validate experimentally on a variety of NN architectures.
Motivation & Objective
- To address the instability of one-shot pruning at initialization, where entire layers can be pruned, rendering models untrainable.
- To theoretically analyze why magnitude and gradient-based pruning fail in deep networks when not aligned with the Edge of Chaos (EOC) regime.
- To develop principled rescaling and reparameterization techniques that restore trainability in pruned networks by maintaining EOC dynamics.
- To validate the proposed method on diverse architectures and datasets, demonstrating superior performance at high sparsity levels.
Proposed method
- Proposes Sensitivity-Based Pruning (SBP) using the magnitude of the product of weights and gradients at initialization, i.e., |W ∂ℒ/∂W|, to identify and remove less important connections.
- Introduces a rescaling trick that adjusts the variance of pruned layers to restore the network to the Edge of Chaos (EOC), ensuring stable gradient flow.
- For ResNets, proposes a reparameterization called 'Stable ResNet' (SR) to mitigate exploding gradients and maintain EOC dynamics post-pruning.
- Employs a layer-wise pruning strategy with Bernoulli masks to systematically control the covariance structure and ensure subnetworks remain on the EOC.
- Uses mean-field approximation to theoretically analyze gradient propagation and derive conditions under which pruning preserves trainability.
- Validates the method via extensive experiments on ResNet, FFNN, and CNN architectures across CIFAR10, CIFAR100, TinyImageNet, and ImageNet.
Experimental results
Research questions
- RQ1Can one-shot pruning at initialization be made robust to layer collapse and untrainability in deep networks?
- RQ2Is the Edge of Chaos (EOC) regime necessary for effective pruning at initialization in fully connected and convolutional networks?
- RQ3Can rescaling and reparameterization restore trainability in pruned networks that have been pushed out of the EOC by pruning?
- RQ4Does the Lottery Ticket Hypothesis hold for subnetworks initialized on the Edge of Chaos, even when starting from arbitrary initializations?
- RQ5Can SBP-SR achieve state-of-the-art performance at extreme sparsity levels across multiple benchmarks?
Key findings
- SBP-SR achieves 94.69% test accuracy on ResNet104 with 90% sparsity on CIFAR10, outperforming SNIP's 93.25%.
- At 99.5% sparsity, SBP-SR maintains 87.47% accuracy on ResNet104, while SNIP drops to 33.63%.
- On ResNet104 with 99.9% sparsity, SBP-SR achieves 72.70% accuracy, compared to SNIP's 10.11%.
- For ResNet32, SBP-SR achieves 92.56% accuracy at 90% sparsity, slightly exceeding SNIP's 92.26%.
- Theoretical analysis confirms that pruning can be made to preserve the EOC regime via proper rescaling, enabling stable training.
- The Weak Lottery Ticket Hypothesis is proven true: for any random initialization with σw > σw,EOC, there exists a subnetwork initialized on the EOC.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.