Skip to main content
QUICK REVIEW

[Paper Review] Exploring the Regularity of Sparse Structure in Convolutional Neural Networks

Huizi Mao, Song Han|arXiv (Cornell University)|May 24, 2017
Advanced Neural Network ApplicationsComputer Science21 references230 citations
TL;DR

The paper systematically studies how pruning granularity affects accuracy, storage, and hardware efficiency, showing coarse-grained sparsity can achieve comparable accuracy at similar sparsity and greatly reduces memory references, aiding hardware acceleration.

ABSTRACT

Sparsity helps reduce the computational complexity of deep neural networks by skipping zeros. Taking advantage of sparsity is listed as a high priority in next generation DNN accelerators such as TPU. The structure of sparsity, i.e., the granularity of pruning, affects the efficiency of hardware accelerator design as well as the prediction accuracy. Coarse-grained pruning creates regular sparsity patterns, making it more amenable for hardware acceleration but more challenging to maintain the same accuracy. In this paper we quantitatively measure the trade-off between sparsity regularity and prediction accuracy, providing insights in how to maintain accuracy while having more a more structured sparsity pattern. Our experimental results show that coarse-grained pruning can achieve a sparsity ratio similar to unstructured pruning without loss of accuracy. Moreover, due to the index saving effect, coarse-grained pruning is able to obtain a better compression ratio than fine-grained sparsity at the same accuracy threshold. Based on the recent sparse convolutional neural network accelerator (SCNN), our experiments further demonstrate that coarse-grained sparsity saves about 2x the memory references compared to fine-grained sparsity. Since memory reference is more than two orders of magnitude more expensive than arithmetic operations, the regularity of sparse structure leads to more efficient hardware design.

Motivation & Objective

  • Assess how pruning granularity (0-D to 3-D) impacts accuracy at a fixed sparsity level in CNNs.
  • Evaluate storage and memory access implications of different sparse structures.
  • Quantify hardware efficiency benefits of coarse-grained sparsity using a CNN accelerator model.
  • Provide guidance on selecting pruning granularity to balance accuracy and hardware cost.

Proposed method

  • Define four pruning granularities: 0-D (weights), 1-D (sub-kernel vectors), 2-D (kernels), 3-D (filters).
  • Apply magnitude-based iterative pruning to remove grains with smallest L1 salience across layers.
  • Train/evaluate on ImageNet with AlexNet, and compare with VGG-16, GoogLeNet, ResNet-50, DenseNet-121 under equal sparsity and training schedules.
  • Use 8-bit weight storage with 4-bit indices to study storage impact and quantization compatibility.
  • Qualitatively and quantitatively analyze hardware implications using a SCNN-like accelerator model.

Experimental results

Research questions

  • RQ1What is the trade-off between sparsity regularity (granularity) and predictive accuracy in CNN pruning?
  • RQ2Can coarse-grained pruning achieve similar or better compression than fine-grained pruning at the same accuracy level?
  • RQ3How does sparsity granularity affect storage requirements and memory references in practice?
  • RQ4What are the hardware implications and accelerator design considerations for different sparsity granularities?

Key findings

  • Coarse-grained pruning can match or slightly improve accuracy at the same sparsity level compared with fine-grained pruning at low sparsity.
  • Large-grain pruning (filters) causes notable accuracy loss, whereas smaller grains (kernels, vectors) preserve accuracy similar to fine-grained pruning.
  • Coarse-grained sparsity achieves higher compression due to index sharing, resulting in comparable or better storage efficiency at the same accuracy.
  • Coarse-grained pruning reduces memory references by about 30–35% for VGG-16 at the same density, aiding energy efficiency.
  • Index savings from coarse-grained sparsity enable improved hardware efficiency and simpler accelerator design.
  • Across models (AlexNet, VGG-16, GoogLeNet, ResNet-50, DenseNet-121), coarse-grained pruning can offer substantial storage and memory reference reductions while maintaining high Top-5 accuracy on ImageNet.

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.