Skip to main content
QUICK REVIEW

[Paper Review] Pruning neural networks: is it time to nip it in the bud?

Elliot J. Crowley, Jack Turner|arXiv (Cornell University)|Oct 10, 2018
Advanced Neural Network ApplicationsComputer Science43 references23 citations
TL;DR

This paper challenges the efficacy of neural network pruning by showing that smaller networks trained from scratch (reduced networks) consistently outperform pruned networks—those derived by removing connections from a larger, pre-trained model. The authors demonstrate that pruned architectures, when retrained from scratch, are significantly more competitive, and that reduced networks are faster in inference, suggesting that architectural design via pruning may be more effective than iterative pruning-and-fine-tuning.

ABSTRACT

Pruning is a popular method for compressing a neural network: given a large trained network, one alternates between removing connections and fine-tuning; reducing the overall width of the network. However, the efficacy of network pruning has largely evaded scrutiny. In this paper, we examine ResNets and DenseNets obtained through pruning-and-tuning and make two interesting observations: (i) reduced networks---smaller versions of the original network trained from scratch---consistently outperform pruned networks; (ii) if you take the architecture of a pruned network and then train it from scratch it is significantly more competitive. Furthermore, these architectures are easy to approximate: we can prune once and obtain a whole family of new, scalable network architectures that can simply be trained from scratch. Finally, we compare the inference speed of reduced and pruned networks on hardware, and show that reduced networks are significantly faster.

Motivation & Objective

  • To evaluate the effectiveness of neural network pruning in practice, particularly for ResNets and DenseNets.
  • To compare the performance of pruned networks against smaller networks trained from scratch (reduced networks).
  • To investigate whether the architecture of a pruned network, when retrained from scratch, can yield better performance.
  • To assess the inference speed of reduced versus pruned networks on hardware.
  • To explore whether pruning can be used to generate scalable, efficient network architectures.

Proposed method

  • Training smaller, reduced versions of ResNets and DenseNets from scratch as a baseline for comparison.
  • Applying iterative pruning and fine-tuning to large pre-trained networks to generate pruned models.
  • Taking the architecture of a pruned network and retraining it from scratch to evaluate its performance.
  • Using the pruned architecture as a blueprint to generate a family of scalable network architectures.
  • Measuring and comparing inference speed of reduced and pruned networks on hardware.
  • Analyzing the performance and efficiency of models derived through pruning versus direct training from scratch.

Experimental results

Research questions

  • RQ1Do pruned networks consistently underperform compared to smaller networks trained from scratch?
  • RQ2Can the architecture of a pruned network, when retrained from scratch, achieve better performance than the original pruned model?
  • RQ3Is the inference speed of reduced networks significantly faster than that of pruned networks on real hardware?
  • RQ4Can a single pruned architecture be used to generate a family of scalable, efficient network designs?
  • RQ5Does the iterative pruning-and-fine-tuning process yield models that are both less accurate and slower than direct training from scratch?

Key findings

  • Reduced networks, trained from scratch, consistently outperform pruned networks in accuracy.
  • Retraining the architecture of a pruned network from scratch results in significantly more competitive performance than the original pruned model.
  • The pruned architecture can be used to generate a family of scalable network architectures through simple retraining.
  • Reduced networks achieve significantly faster inference speed on hardware compared to pruned networks.
  • The performance gap between pruned and reduced networks is consistent across different network types, including ResNets and DenseNets.
  • Pruning-and-fine-tuning may not be the most effective method for model compression, as direct training of smaller architectures yields superior results.

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.