Skip to main content
QUICK REVIEW

[Paper Review] Enhancing the Regularization Effect of Weight Pruning in Artificial Neural Networks

Brian R. Bartoldson, Adrian Barbu|arXiv (Cornell University)|May 4, 2018
Industrial Vision Systems and Defect DetectionEngineering10 references4 citations
TL;DR

This paper introduces Annealed Pruning (AP), a novel weight pruning method that enhances generalization by targeting large weights for removal rather than small ones. AP reduces parameter count by 85% while improving CIFAR-10 test accuracy by 5.1% over baseline and 1.5% over dropout, demonstrating that pruning high-magnitude weights strengthens regularization effects.

ABSTRACT

Artificial neural networks (ANNs) may not be worth their computational/memory costs when used in mobile phones or embedded devices. Parameter-pruning algorithms combat these costs, with some algorithms capable of removing over 90% of an ANN's weights without harming the ANN's performance. Removing weights from an ANN is a form of regularization, but existing pruning algorithms do not significantly improve generalization error. We show that pruning ANNs can improve generalization if pruning targets large weights instead of small weights. Applying our pruning algorithm to an ANN leads to a higher image classification accuracy on CIFAR-10 data than applying the popular regularizer dropout. The pruning couples this higher accuracy with an 85% reduction of the ANN's parameter count.

Motivation & Objective

  • To address the inefficacy of existing pruning algorithms in improving generalization despite reducing model size.
  • To investigate whether pruning large weights—previously considered important—could yield better generalization than pruning small weights.
  • To develop a pruning algorithm that combines annealing schedules with randomized weight reentry to enhance model robustness and compression.
  • To demonstrate that pruning high-magnitude weights leads to stronger regularization effects than traditional approaches.
  • To provide a method that simultaneously compresses models and improves test accuracy beyond standard regularization like dropout.

Proposed method

  • AP modifies the feature selection algorithm from Barbu et al. [7] by targeting the largest-magnitude weights for pruning instead of the smallest.
  • The algorithm uses an annealing schedule to gradually reduce the number of active weights, with the target number of remaining weights decreasing over training epochs.
  • At each training step, the algorithm keeps only the top $ M_e $ weights by absolute magnitude, where $ M_e $ is a decreasing function of the epoch number.
  • Pruned weights are not permanently removed; instead, they are allowed to re-enter the network through a randomized reactivation mechanism inspired by genetic algorithms.
  • The method is applied specifically to dense layers in convolutional neural networks, which contain the majority of parameters in many architectures.
  • The algorithm is evaluated on a standard CNN architecture trained on CIFAR-10, comparing performance against baseline, dropout, and small-weight pruning variants.

Experimental results

Research questions

  • RQ1Does pruning large-magnitude weights improve generalization more than pruning small-magnitude weights in neural networks?
  • RQ2Can a pruning strategy that combines annealing and randomized weight reentry achieve better test accuracy than standard regularization like dropout?
  • RQ3To what extent can parameter count be reduced while simultaneously improving generalization performance?
  • RQ4Is the regularization effect of pruning stronger when targeting high-impact connections rather than low-impact ones?
  • RQ5How does the timing of weight removal (gradual vs. immediate) affect model performance and generalization?

Key findings

  • Annealed Pruning (AP) achieved a 5.1% improvement in test accuracy on CIFAR-10 compared to the baseline CNN, outperforming both the baseline and the dropout-regularized model.
  • AP reduced the number of parameters in the CNN from 1,250,858 to 188,714—equivalent to an 85% reduction in model size.
  • The AP model maintained or improved test accuracy throughout training, with no overfitting observed even after 20 epochs, unlike the baseline model which began overfitting around epoch 5.
  • When AP was modified to prune small weights instead of large ones, generalization performance degraded significantly, indicating that pruning large weights is critical to the method’s success.
  • The temporary drop in accuracy at epoch 17 was attributed to the abrupt removal of model capacity, suggesting that gradual pruning is essential for stability.
  • AP’s performance surpasses that of dropout in both compression and generalization, demonstrating that pruning-based regularization can be more effective than dropout in certain settings.

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.