Skip to main content
QUICK REVIEW

[Paper Review] Effective Model Sparsification by Scheduled Grow-and-Prune Methods

Xiaolong Ma, Minghai Qin|arXiv (Cornell University)|Jun 18, 2021
Advanced Neural Network ApplicationsComputer Science41 references5 citations
TL;DR

This paper proposes a scheduled grow-and-prune (GaP) method for model sparsification that avoids pre-training dense models by iteratively growing and pruning contiguous layer partitions. The approach achieves state-of-the-art accuracy at high sparsity—e.g., 77.9% top-1 accuracy on ImageNet with a 90% non-uniform sparse ResNet-50—surpassing prior methods while reducing memory footprint and improving weight coverage through systematic exploration.

ABSTRACT

Deep neural networks (DNNs) are effective in solving many real-world problems. Larger DNN models usually exhibit better quality (e.g., accuracy) but their excessive computation results in long inference time. Model sparsification can reduce the computation and memory cost while maintaining model quality. Most existing sparsification algorithms unidirectionally remove weights, while others randomly or greedily explore a small subset of weights in each layer for pruning. The limitations of these algorithms reduce the level of achievable sparsity. In addition, many algorithms still require pre-trained dense models and thus suffer from large memory footprint. In this paper, we propose a novel scheduled grow-and-prune (GaP) methodology without having to pre-train a dense model. It addresses the shortcomings of the previous works by repeatedly growing a subset of layers to dense and then pruning them back to sparse after some training. Experiments show that the models pruned using the proposed methods match or beat the quality of the highly optimized dense models at 80% sparsity on a variety of tasks, such as image classification, objective detection, 3D object part segmentation, and translation. They also outperform other state-of-the-art (SOTA) methods for model sparsification. As an example, a 90% non-uniform sparse ResNet-50 model obtained via GaP achieves 77.9% top-1 accuracy on ImageNet, improving the previous SOTA results by 1.5%. Code available at: https://github.com/boone891214/GaP.

Motivation & Objective

  • To address the limitations of existing model sparsification methods that unidirectionally prune weights or rely on pre-trained dense models.
  • To reduce memory footprint by eliminating the need for pre-training dense models during sparsification.
  • To improve sparsity-accuracy trade-offs by systematically exploring all weights through structured layer partitioning and scheduled growth/pruning.
  • To achieve better model quality at high sparsity levels by enabling dynamic weight re-evaluation during training.

Proposed method

  • The GaP method partitions a DNN into contiguous layers and schedules iterative growth and pruning of these partitions.
  • In cyclic GaP, one partition is grown to dense while others remain sparse; after training, it is pruned and the next partition is grown, cycling through all partitions.
  • In parallel GaP, multiple models are trained simultaneously on different machines, each with a different partition grown at a time.
  • The method ensures full weight coverage by exploring all weights in a partition during its dense phase, avoiding the incomplete coverage of random or greedy exploration.
  • Sparsity is maintained throughout training, and the sparse mask is updated only after all weights in a partition have been explored.
  • The approach is theoretically grounded with convergence analysis showing sublinear convergence rate under standard assumptions.

Experimental results

Research questions

  • RQ1Can model sparsification be achieved without pre-training a dense model, thereby reducing memory overhead?
  • RQ2Does systematic, partition-based growth and pruning lead to better weight coverage and model quality than random or greedy exploration?
  • RQ3Can the proposed scheduled GaP method achieve state-of-the-art accuracy at high sparsity levels across diverse vision and NLP tasks?
  • RQ4How does the convergence behavior of the scheduled GaP method compare to existing sparse training methods?

Key findings

  • A 90% non-uniform sparse ResNet-50 model trained with GaP achieves 77.9% top-1 accuracy on ImageNet, improving the previous SOTA by 1.5%.
  • At 80% sparsity, GaP models match or exceed the accuracy of highly optimized dense models across image classification, object detection, 3D segmentation, and machine translation tasks.
  • The method outperforms state-of-the-art sparsification techniques such as RigL, DSR, and SET, particularly at high sparsity levels.
  • Theoretical analysis confirms that the cyclic GaP method converges sublinearly with a rate of O(1/√Q), where Q is the number of training cycles.
  • The approach reduces memory footprint by eliminating the need for pre-trained dense models, making it suitable for resource-constrained training environments.

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.