Abstract
Deep neural networks are typically overparameterized, leading to significant computational overhead during training and inference. While the Lottery Ticket Hypothesis suggests that sparse, trainable sub-networks exist at initialization, identifying them usually requires expensive iterative training. This paper introduces Gradient Signal Preservation (GraSP), a "single-shot" pruning method that identifies these "winning tickets" before training begins. By prioritizing weights that maintain gradient flow rather than those that minimize initial loss, GraSP enables the training of highly sparse models from scratch with minimal accuracy degradation, outperforming existing methods at extreme sparsity levels.
Introduction
The computational cost of training dense, overparameterized models is a major bottleneck in deep learning. Traditional pruning methods mitigate inference costs but often require training the full model first. Recent work like SNIP attempted to prune at initialization by preserving the initial loss value. However, the authors argue that at initialization, the loss is essentially random and uninformative. GraSP addresses this by focusing on the network's ability to learn, ensuring that gradient signals can propagate effectively from the output back to the input layers.
Methodology: Gradient Signal Preservation (GraSP)
GraSP identifies critical weights by analyzing their impact on the gradient norm. Unlike methods that look at "connection sensitivity" relative to the loss, GraSP prunes weights whose removal results in the least decrease (or even an increase) in the gradient norm.
The GraSP Criterion
The method employs a second-order Taylor approximation to estimate the change in the gradient norm. This approach accounts for weight interactions via the Hessian matrix. To maintain computational efficiency, GraSP utilizes "Hessian-vector products" (the Pearlmutter trick), avoiding the explicit calculation of the full Hessian. This allows for a "single-shot" pruning process: scores are calculated once at initialization, the network is pruned, and then trained normally.
Key Insights: Dynamics and Connectivity
A central insight of GraSP is that preserving training dynamics (gradient flow) is more critical than preserving the initial state (loss) when the model is untrained.
Furthermore, GraSP naturally avoids "layer bottlenecks." Previous methods like SNIP often prune entire layers at high sparsity, effectively disconnecting the network. By considering the Hessian, GraSP preserves the network's structural connectivity across various architectures. Theoretically, this is linked to the Neural Tangent Kernel (NTK); GraSP encourages larger eigenvalues in the NTK, which correlates with faster and more efficient optimization.
Experimental Results
The authors evaluated GraSP on CIFAR-10/100 and ImageNet using VGG and ResNet architectures.
Performance at Extreme Sparsity
GraSP significantly outperforms SNIP and random pruning at sparsity levels exceeding 95%. On ImageNet, GraSP pruned 80% of a VGG-16 at initialization with only a 1.6% drop in top-1 accuracy. For ResNet-50 at 90% sparsity, GraSP achieved 68.14% top-1 accuracy, a 6.2% improvement over SNIP. The method proved robust across different initialization schemes and batch sizes used for the initial gradient calculation.
Conclusion and Future Work
GraSP represents a significant step toward efficient "foresight pruning." By focusing on gradient flow, it identifies robust sub-networks at initialization, saving resources during the most expensive phase of the machine learning lifecycle. Future research may focus on closing the remaining performance gap with post-training pruning methods and developing sparsity-aware optimizers to further leverage the unique structures discovered by GraSP.
Summary updated