Skip to main content
QUICK REVIEW

[Paper Review] Learning both Weights and Connections for Efficient Neural Networks

Song Han, Jeff Pool|arXiv (Cornell University)|Jun 8, 2015
Advanced Neural Network ApplicationsComputer Science22 references666 citations
TL;DR

This paper proposes a three-stage method to simultaneously learn optimal network weights and connections by pruning low-magnitude connections and retraining, achieving up to 9× and 13× parameter reduction in AlexNet and VGG-16 respectively with no accuracy loss on ImageNet.

ABSTRACT

Neural networks are both computationally intensive and memory intensive, making them difficult to deploy on embedded systems. Also, conventional networks fix the architecture before training starts; as a result, training cannot improve the architecture. To address these limitations, we describe a method to reduce the storage and computation required by neural networks by an order of magnitude without affecting their accuracy by learning only the important connections. Our method prunes redundant connections using a three-step method. First, we train the network to learn which connections are important. Next, we prune the unimportant connections. Finally, we retrain the network to fine tune the weights of the remaining connections. On the ImageNet dataset, our method reduced the number of parameters of AlexNet by a factor of 9x, from 61 million to 6.7 million, without incurring accuracy loss. Similar experiments with VGG-16 found that the number of parameters can be reduced by 13x, from 138 million to 10.3 million, again with no loss of accuracy.

Motivation & Objective

  • Address the high computational and memory costs of large neural networks for mobile and embedded deployment.
  • Overcome the limitation of fixed architectures in conventional training by enabling architecture learning during training.
  • Reduce model size and energy consumption without sacrificing accuracy, especially by minimizing costly off-chip DRAM access.
  • Enable efficient deployment of deep neural networks on mobile devices by making models smaller and more memory-efficient.
  • Demonstrate that pruning can be used not only to compress models but also to improve generalization by finding optimal network capacity.

Proposed method

  • Train a dense neural network normally to learn important connections via standard backpropagation.
  • Prune connections with weights below a global or layer-specific magnitude threshold, converting dense layers into sparse ones.
  • Retrain the pruned sparse network using L2 regularization to fine-tune remaining weights and recover accuracy.
  • Repeat the pruning and retraining process iteratively to further reduce model size and improve sparsity.
  • Use sensitivity analysis per layer to set individual pruning thresholds, with more sensitive layers (e.g., first convolutional layer) pruned less aggressively.
  • Store pruned weights as sparse matrices with compressed indices (5-bit for FC, 8-bit for CONV), reducing storage overhead to 15.6%.

Experimental results

Research questions

  • RQ1Can we reduce neural network parameters by pruning low-magnitude connections without degrading accuracy?
  • RQ2Does iterative pruning and retraining lead to better model efficiency and accuracy than single-step pruning?
  • RQ3Can both convolutional and fully connected layers be effectively pruned while preserving performance?
  • RQ4How does pruning affect the distribution of network weights and the model’s generalization capability?
  • RQ5To what extent can sparsity reduce memory access energy, especially by enabling on-chip storage of weights?

Key findings

  • AlexNet’s parameters were reduced from 61 million to 6.7 million (9× compression) with no top-1 accuracy loss on ImageNet.
  • VGG-16’s parameters were reduced from 138 million to 10.3 million (13× compression) while maintaining the same accuracy.
  • Iterative pruning achieved up to 9× compression with no accuracy drop, and accuracy even improved slightly at some pruning levels due to reduced overfitting.
  • The first convolutional layer was most sensitive to pruning due to fewer input channels and less redundancy, requiring careful thresholding.
  • After pruning and retraining, weight distributions became bimodal and more spread out, indicating stronger, more distinct connections.
  • Sparse storage with compressed indices reduced memory footprint significantly, enabling on-chip storage and avoiding expensive off-chip DRAM access.

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.