Skip to main content
QUICK REVIEW

[Paper Review] PCNN: Pattern-based Fine-Grained Regular Pruning towards Optimizing CNN Accelerators

Zhanhong Tan, Jiebo Song|arXiv (Cornell University)|Feb 11, 2020
Advanced Neural Network ApplicationsComputer Science17 references7 citations
TL;DR

PCNN proposes a fine-grained, regular 1D weight pruning method using a novel Sparsity Pattern Mask (SPM) index format to encode kernel-level sparsity, enabling efficient hardware deployment. It achieves up to 9.0× speedup and 28.39 TOPS/W efficiency in a 55nm implementation with only 3.1% on-chip memory overhead and less than 0.2% accuracy loss on VGG-16 and ResNet-18.

ABSTRACT

Weight pruning is a powerful technique to realize model compression. We propose PCNN, a fine-grained regular 1D pruning method. A novel index format called Sparsity Pattern Mask (SPM) is presented to encode the sparsity in PCNN. Leveraging SPM with limited pruning patterns and non-zero sequences with equal length, PCNN can be efficiently employed in hardware. Evaluated on VGG-16 and ResNet-18, our PCNN achieves the compression rate up to 8.4X with only 0.2% accuracy loss. We also implement a pattern-aware architecture in 55nm process, achieving up to 9.0X speedup and 28.39 TOPS/W efficiency with only 3.1% on-chip memory overhead of indices.

Motivation & Objective

  • Address the inefficiency of irregular weight pruning in hardware due to high index overhead and workload imbalance.
  • Reduce memory and computational overhead in CNN accelerators while maintaining high model accuracy.
  • Develop a regular, fine-grained pruning method that enables balanced workload distribution across parallel processing units.
  • Enable hardware-friendly sparsity encoding through a compact index format (SPM) that reduces bitwidth and storage requirements.
  • Demonstrate orthogonality and compatibility with other compression techniques like channel and kernel pruning for higher overall compression.

Proposed method

  • Introduce Sparsity Pattern Mask (SPM), a kernel-level index format that encodes the pattern of non-zero weights in each convolution kernel using a single index per kernel.
  • Enforce identical sparsity (same number of non-zero weights) across all kernels in a given layer to ensure regularity and workload balance.
  • Apply a multiple knapsack framework to distill and reduce the number of unique sparsity patterns, minimizing SPM bitwidth and index storage cost.
  • Design a pattern-aware accelerator architecture in 55nm technology with specialized memory optimization to map SPM-encoded weights and activations.
  • Implement a sparsity-aware PE array that supports simultaneous processing of sparse weights and activations using the SPM-based index format.
  • Integrate PCNN with existing pruning methods (e.g., channel and kernel pruning) to enable orthogonal, cumulative compression gains.

Experimental results

Research questions

  • RQ1Can a fine-grained, regular pruning method reduce hardware index overhead while maintaining high model accuracy?
  • RQ2How can kernel-level sparsity patterns be compactly encoded to minimize memory and area overhead in CNN accelerators?
  • RQ3To what extent can workload balancing across parallel processing units be improved through regular pruning with uniform kernel sparsity?
  • RQ4Can the proposed SPM-based pruning method be efficiently mapped to hardware with minimal performance and energy cost?
  • RQ5How does the PCNN method perform when combined with other compression techniques like channel pruning in terms of compression ratio and accuracy?

Key findings

  • PCNN achieves up to 8.4× model compression on VGG-16 and ResNet-18 with only 0.2% accuracy loss.
  • The proposed pattern-aware accelerator in 55nm achieves up to 9.0× speedup and 28.39 TOPS/W energy efficiency with only 3.1% on-chip memory overhead for indices.
  • The SPM index format reduces index storage overhead compared to irregular pruning, requiring only 3.1% memory overhead for 16 patterns per layer.
  • PCNN is orthogonal to channel and kernel-level pruning, enabling a combined compression ratio of up to 34.4× on VGG-16 with negligible accuracy loss.
  • The architecture maintains high parallelism and efficiency, achieving 28.39 TOPS/W at 88.9% sparsity, demonstrating strong hardware efficiency.
  • The pattern SRAM occupies only 2.4% of the chip area and 1.9% of the power, confirming minimal hardware footprint for index storage.

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.