Skip to main content
QUICK REVIEW

[Paper Review] Global Sparse Momentum SGD for Pruning Very Deep Neural Networks

Xiaohan Ding, Guiguang Ding|arXiv (Cornell University)|Sep 27, 2019
Speech and Audio ProcessingComputer Science125 citations
TL;DR

GSM prunes DNNs end-to-end by globally selecting a fixed number of parameters to update actively while pushing others toward zero via momentum-based weight decay, enabling lossless pruning without retraining and automatic per-layer sparsity discovery.

ABSTRACT

Deep Neural Network (DNN) is powerful but computationally expensive and memory intensive, thus impeding its practical usage on resource-constrained front-end devices. DNN pruning is an approach for deep model compression, which aims at eliminating some parameters with tolerable performance degradation. In this paper, we propose a novel momentum-SGD-based optimization method to reduce the network complexity by on-the-fly pruning. Concretely, given a global compression ratio, we categorize all the parameters into two parts at each training iteration which are updated using different rules. In this way, we gradually zero out the redundant parameters, as we update them using only the ordinary weight decay but no gradients derived from the objective function. As a departure from prior methods that require heavy human works to tune the layer-wise sparsity ratios, prune by solving complicated non-differentiable problems or finetune the model after pruning, our method is characterized by 1) global compression that automatically finds the appropriate per-layer sparsity ratios; 2) end-to-end training; 3) no need for a time-consuming re-training process after pruning; and 4) superior capability to find better winning tickets which have won the initialization lottery.

Motivation & Objective

  • Motivate model compression to enable deployment on resource-constrained devices without large accuracy loss.
  • Develop an end-to-end pruning method that directly controls the global compression ratio.
  • Eliminate the need for layer-wise hyperparameter tuning and post-pruning retraining.
  • Enable automatic discovery of per-layer sparsity ratios during training.
  • Show that GSM can find strong winning tickets and perform lossless pruning on deep networks.

Proposed method

  • Split SGD updates into active and passive parts using a global compression ratio C and Q = |Theta|/C.
  • Compute a first-order Taylor-based parameter importance metric T(x,y,w) = |(∂L/∂w) w| at each iteration.
  • Apply activation selection to keep the top-Q parameters as active (using gradients), and update the rest passively with only weight decay.
  • Use momentum SGD with mask B^(k) to enable passive updates and occasional reactivation of pruned connections.
  • Allow implicit reactivation and continuous reduction of many parameters toward zero without explicit fine-tuning.
  • Prune globally by keeping the top-Q magnitude parameters after training.
  • Demonstrate improved winning tickets by comparing GSM-found tickets against magnitude-based tickets.

Experimental results

Research questions

  • RQ1Can a global compression ratio be directly controlled within end-to-end training to achieve high sparsity without accuracy loss?
  • RQ2How does a momentum-based two-part update influence pruning speed, accuracy, and per-layer sparsity distribution?
  • RQ3Does GSM enable implicit connection reactivation and avoid costly retraining after pruning?
  • RQ4Are GSM-found winning tickets more effective than those obtained by magnitude-based pruning?
  • RQ5Can GSM effectively prune very deep networks (e.g., ResNet-50, DenseNet-40) and large datasets (ImageNet)?

Key findings

  • GSM achieves high compression (e.g., up to 125x on LeNet-5, 8–10x on CIFAR-10/ResNet-56/DenseNet-40) with little or no loss in accuracy.
  • GSM discovers per-layer sparsity automatically, aligning pruning with layer sensitivity without manual hyperparameter tuning.
  • Momentum accelerates zeroing-out of redundant parameters, enabling faster convergence toward sparsity.
  • Reactivation during training helps recover from early pruning mistakes, preserving accuracy.
  • GSM identifies stronger winning tickets than magnitude-based pruning in several experiments (e.g., LeNet-5, LeNet-300).
  • GSM outperforms a prior method (L-OBS) on ResNet-50 pruning under similar conditions.

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.