Skip to main content
QUICK REVIEW

[Paper Review] Structured Pruning is All You Need for Pruning CNNs at Initialization

Yaohui Cai, Weizhe Hua|arXiv (Cornell University)|Mar 4, 2022
Advanced Neural Network ApplicationsComputer Science13 citations
TL;DR

This paper proposes PreCrop, a structured pruning method that prunes CNNs at initialization by optimizing layer-wise channel density using a novel expectation-based proxy (SynExp), achieving state-of-the-art accuracy with hardware-friendly structured sparsity. PreCrop outperforms fine-grained PAI methods like SynFlow by up to 2.7% on ImageNet and enables accuracy gains via PreConfig, a parameter-free reconfiguration of network width before initialization.

ABSTRACT

Pruning is a popular technique for reducing the model size and computational cost of convolutional neural networks (CNNs). However, a slow retraining or fine-tuning procedure is often required to recover the accuracy loss caused by pruning. Recently, a new research direction on weight pruning, pruning-at-initialization (PAI), is proposed to directly prune CNNs before training so that fine-tuning or retraining can be avoided. While PAI has shown promising results in reducing the model size, existing approaches rely on fine-grained weight pruning which requires unstructured sparse matrix computation, making it difficult to achieve real speedup in practice unless the sparsity is very high. This work is the first to show that fine-grained weight pruning is in fact not necessary for PAI. Instead, the layerwise compression ratio is the main critical factor to determine the accuracy of a CNN model pruned at initialization. Based on this key observation, we propose PreCropping, a structured hardware-efficient model compression scheme. PreCropping directly compresses the model at the channel level following the layerwise compression ratio. Compared to weight pruning, the proposed scheme is regular and dense in both storage and computation without sacrificing accuracy. In addition, since PreCropping compresses CNNs at initialization, the computational and memory costs of CNNs are reduced for both training and inference on commodity hardware. We empirically demonstrate our approaches on several modern CNN architectures, including ResNet, ShuffleNet, and MobileNet for both CIFAR-10 and ImageNet.

Motivation & Objective

  • To address the limitation of existing pruning-at-initialization (PAI) methods that rely on unstructured, sparse computation, which hinders wall-clock speedups on standard hardware.
  • To identify that model accuracy in PAI depends only on layer-wise parameter density, not pruning granularity, enabling structured pruning without accuracy loss.
  • To develop a convex optimization framework using a new proxy—Synaptic Expectation (SynExp)—to determine optimal layer-wise densities under FLOPs or parameter constraints.
  • To propose PreCrop, a structured PAI method that prunes in the channel dimension for hardware efficiency, and PreConfig, a zero-cost reconfiguration technique to improve accuracy.
  • To demonstrate that coarse-grained structured pruning can match or exceed fine-grained PAI performance while enabling practical speedups and model compression.

Proposed method

  • Introduce SynExp (Synaptic Expectation) as a proxy for model accuracy, defined as the expected sum of importance scores across all weights in a layer, replacing the sum used in prior methods.
  • Formulate PAI as a convex optimization problem that minimizes SynExp subject to constraints on total model size or FLOPs, enabling efficient and optimal layer-wise density selection.
  • Prove the SynExp Invariance Theorem: model accuracy remains unchanged under identical layer-wise densities, regardless of pruning granularity, justifying structured pruning.
  • Design PreCrop as a structured PAI method that prunes entire channels based on the optimized layer-wise densities, ensuring compatibility with dense matrix operations.
  • Introduce PreConfig as a zero-cost reconfiguration technique that adjusts channel widths before weight initialization, using the same SynExp-optimized densities.
  • Implement and evaluate PreCrop and PreConfig on ResNet, MobileNetV2, and EfficientNet across CIFAR-10 and ImageNet, using identical training hyperparameters for fair comparison.

Experimental results

Research questions

  • RQ1Does the accuracy of a CNN pruned at initialization depend only on the fraction of remaining parameters per layer, regardless of pruning granularity?
  • RQ2Can a convex optimization of a novel expectation-based proxy (SynExp) outperform existing PAI methods in accuracy while enabling structured sparsity?
  • RQ3Can structured pruning in the channel dimension achieve comparable or better accuracy than fine-grained unstructured pruning, with practical wall-clock speedups on commodity hardware?
  • RQ4Can reconfiguring network width before initialization (PreConfig) improve accuracy with fewer parameters and FLOPs compared to the original architecture?
  • RQ5Does the proposed SynExp-based optimization framework enable better trade-offs between model size, FLOPs, and accuracy than state-of-the-art PAI methods like SynFlow?

Key findings

  • PreCrop achieves a 2.7% accuracy improvement over SynFlow on MobileNetV2 when pruning for 80% of the original FLOPs on ImageNet.
  • For EfficientNetB0, PreCrop improves accuracy by 0.3% over SynFlow while reducing parameters to 80% of the baseline and maintaining the same FLOPs.
  • On ResNet34, PreCrop achieves 0.6% lower accuracy than SynFlow under similar FLOPs and parameter counts, demonstrating strong competitive performance.
  • PreConfig increases accuracy by 0.3% on MobileNetV2 and EfficientNetB0 with 20% and 19% fewer parameters, respectively, while maintaining the same FLOPs as the baseline.
  • PreCrop-FLOPs consistently outperforms SynFlow by a large margin, especially at high FLOPs reductions, indicating superior efficiency under computational constraints.
  • The SynExp Invariance Theorem is empirically validated: identical layer-wise densities yield similar accuracy regardless of pruning granularity, enabling structured pruning without accuracy loss.

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.