Skip to main content
QUICK REVIEW

[Paper Review] Pruning and Quantization for Deep Neural Network Acceleration: A Survey

Tailin Liang, John Glossner|arXiv (Cornell University)|Jan 24, 2021
Advanced Neural Network ApplicationsComputer Science156 references50 citations
TL;DR

This survey reviews pruning and quantization techniques for accelerating deep neural networks, comparing static/dynamic pruning, and detailing accuracy results across frameworks.

ABSTRACT

Deep neural networks have been applied in many applications exhibiting extraordinary abilities in the field of computer vision. However, complex network architectures challenge efficient real-time deployment and require significant computation resources and energy costs. These challenges can be overcome through optimizations such as network compression. Network compression can often be realized with little loss of accuracy. In some cases accuracy may even improve. This paper provides a survey on two types of network compression: pruning and quantization. Pruning can be categorized as static if it is performed offline or dynamic if it is performed at run-time. We compare pruning techniques and describe criteria used to remove redundant computations. We discuss trade-offs in element-wise, channel-wise, shape-wise, filter-wise, layer-wise and even network-wise pruning. Quantization reduces computations by reducing the precision of the datatype. Weights, biases, and activations may be quantized typically to 8-bit integers although lower bit width implementations are also discussed including binary neural networks. Both pruning and quantization can be used independently or combined. We compare current techniques, analyze their strengths and weaknesses, present compressed network accuracy results on a number of frameworks, and provide practical guidance for compressing networks.

Motivation & Objective

  • Motivate the need for network compression to enable real-time deployment and reduce energy costs without significant accuracy loss.
  • Categorize and analyze pruning and quantization techniques and their trade-offs across network granularity and deployment scenarios.
  • Provide practical guidance on applying pruning and quantization to convolutional neural networks.
  • Compare performance of compression methods across frameworks and highlight their strengths and weaknesses.

Proposed method

  • Classify pruning into static (offline) and dynamic (run-time) pruning and discuss criteria and impact.
  • Discuss magnitude-based and penalty-based pruning approaches, including l1/L2 regularization and Hessian-based methods where applicable.
  • Describe shape-wise, filter-wise, channel-wise, and other granularity options for pruning and their effects on sparsity and accuracy.
  • Explain quantization schemes from 8-bit to lower bit widths and consider binary networks, with discussion of framework comparisons.
  • Summarize how pruning and quantization can be used independently or together and provide practical compression guidance.

Experimental results

Research questions

  • RQ1What are the main pruning and quantization techniques for CNN acceleration and how do they differ in offline versus runtime deployment?
  • RQ2How do granularity choices (element-wise, channel-wise, filter-wise, layer-wise) affect sparsity, accuracy, and hardware performance?
  • RQ3What are the typical accuracy impacts when applying pruning and/or quantization across common CNN benchmarks and frameworks?
  • RQ4What practical guidelines can be provided for selecting and applying pruning and quantization in real-world deployments?

Key findings

  • Pruning and quantization are complementary techniques that can be used independently or together to accelerate CNN inference.
  • Static and dynamic pruning offer different trade-offs in offline versus runtime optimization, with varying impacts on sparsity and accuracy.
  • Different pruning granularities (element-wise, channel-wise, filter-wise, layer-wise) yield different sparsity patterns and hardware implications.
  • Quantization typically reduces precision to 8-bit integers but can extend to lower bit widths and even binary networks, with varying effects on accuracy.
  • The survey compares current state-of-the-art methods and frameworks, providing guidance on practical compression strategies.

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.