Skip to main content
QUICK REVIEW

[Paper Review] Prospect Pruning: Finding Trainable Weights at Initialization using Meta-Gradients

Milad Alizadeh, Shyam A. Tailor|arXiv (Cornell University)|Feb 16, 2022
Advanced Neural Network ApplicationsComputer Science11 citations
TL;DR

Prospect Pruning (ProsPr) is a novel pruning-at-initialization method that uses meta-gradients over the first few training steps to identify trainable subnetworks, explicitly accounting for trainability after pruning. It achieves state-of-the-art accuracy on vision classification tasks with single-shot pruning and reduced data requirements, outperforming existing methods by incorporating optimization dynamics into the saliency criterion.

ABSTRACT

Pruning neural networks at initialization would enable us to find sparse models that retain the accuracy of the original network while consuming fewer computational resources for training and inference. However, current methods are insufficient to enable this optimization and lead to a large degradation in model performance. In this paper, we identify a fundamental limitation in the formulation of current methods, namely that their saliency criteria look at a single step at the start of training without taking into account the trainability of the network. While pruning iteratively and gradually has been shown to improve pruning performance, explicit consideration of the training stage that will immediately follow pruning has so far been absent from the computation of the saliency criterion. To overcome the short-sightedness of existing methods, we propose Prospect Pruning (ProsPr), which uses meta-gradients through the first few steps of optimization to determine which weights to prune. ProsPr combines an estimate of the higher-order effects of pruning on the loss and the optimization trajectory to identify the trainable sub-network. Our method achieves state-of-the-art pruning performance on a variety of vision classification tasks, with less data and in a single shot compared to existing pruning-at-initialization methods.

Motivation & Objective

  • To address the poor performance of existing pruning-at-initialization methods, which fail to account for trainability after pruning.
  • To overcome the short-sightedness of current saliency criteria that evaluate only a single step at initialization without considering subsequent training.
  • To develop a method that explicitly models the impact of pruning on the optimization trajectory and loss over the first few training steps.
  • To enable high-accuracy, single-shot pruning at initialization without iterative retraining or gradual pruning.
  • To improve the practicality and efficiency of neural network pruning by identifying sparse subnetworks that are both sparse and trainable from the start.

Proposed method

  • ProsPr computes a saliency score based on meta-gradients, which are gradients of the loss with respect to the initial weights after a few optimization steps.
  • It backpropagates through the first few steps of stochastic gradient descent to estimate how pruning a given weight affects the loss during early training.
  • The method uses a first-order approximation of the meta-gradient to improve computational efficiency and gradient stability.
  • Saliency scores are computed for all weights, and the least important ones are pruned based on these scores.
  • The pruning mask is applied directly to the initial weights, and the remaining subnetwork is trained from scratch.
  • The approach is designed to be single-shot, avoiding iterative pruning and retraining loops common in prior methods.

Experimental results

Research questions

  • RQ1Can a pruning-at-initialization method that accounts for the optimization trajectory after pruning achieve better performance than existing methods?
  • RQ2How does incorporating meta-gradients over early training steps improve the identification of trainable subnetworks compared to static saliency metrics?
  • RQ3To what extent can ProsPr achieve state-of-the-art accuracy with a single pruning step and reduced data usage?
  • RQ4Does modeling trainability through meta-gradients reduce the need for iterative or gradual pruning strategies?
  • RQ5Can meta-gradients effectively capture higher-order effects of pruning on both loss and optimization dynamics?

Key findings

  • ProsPr achieves state-of-the-art accuracy on multiple vision classification benchmarks, outperforming existing pruning-at-initialization methods.
  • The method achieves high accuracy with a single-shot pruning process, eliminating the need for iterative retraining or gradual pruning.
  • ProsPr reduces performance degradation compared to prior methods, even at high sparsity levels.
  • The use of meta-gradients enables better identification of trainable subnetworks by modeling the effect of pruning on early training dynamics.
  • The method is effective with less data than previous approaches, demonstrating improved sample efficiency in subnetwork discovery.
  • Gradient stability issues arise when computing meta-gradients over more than three training steps, limiting the method to a small number of initial steps.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.