Skip to main content
QUICK REVIEW

[Paper Review] Joint Pruning & Quantization for Extremely Sparse Neural Networks.

Po‐Hsiang Yu, Sih-Sian Wu|arXiv (Cornell University)|Oct 5, 2020
Advanced Neural Network ApplicationsComputer Science25 references10 citations
TL;DR

This paper proposes a two-stage pipeline that jointly applies structured pruning and quantization to achieve extreme sparsity in stereo depth estimation networks, using a Taylor Score for pruning and a novel fine-tuning strategy. The method reduces model memory by 99% and hardware cost by up to 99.9% while maintaining near-state-of-the-art accuracy, with pruning alone outperforming SOTA on ResNet for CIFAR-10 and ImageNet.

ABSTRACT

We investigate pruning and quantization for deep neural networks. Our goal is to achieve extremely high sparsity for quantized networks to enable implementation on low cost and low power accelerator hardware. In a practical scenario, there are particularly many applications for dense prediction tasks, hence we choose stereo depth estimation as target. We propose a two stage pruning and quantization pipeline and introduce a Taylor Score alongside a new fine-tuning mode to achieve extreme sparsity without sacrificing performance. Our evaluation does not only show that pruning and quantization should be investigated jointly, but also shows that almost 99% of memory demand can be cut while hardware costs can be reduced up to 99.9%. In addition, to compare with other works, we demonstrate that our pruning stage alone beats the state-of-the-art when applied to ResNet on CIFAR10 and ImageNet.

Motivation & Objective

  • To enable efficient deployment of deep neural networks on low-cost, low-power edge devices by drastically reducing model size and computational cost.
  • To investigate the synergistic effects of pruning and quantization, particularly the impact of pruning order on quantization noise and model accuracy.
  • To achieve extreme sparsity (up to 99% memory reduction) without sacrificing performance in dense prediction tasks like stereo depth estimation.
  • To develop a practical, easy-to-use pipeline requiring only a single hyperparameter (threshold) for pruning, suitable for real-time mobile applications.

Proposed method

  • A two-stage pipeline is proposed: first, structured pruning using a Taylor Score based on first-order Taylor expansion of the loss function to identify and remove unimportant filters.
  • A novel fine-tuning mode is introduced after pruning to stabilize the network and improve accuracy, especially in high-sparsity regimes.
  • After pruning, incremental quantization is applied to remaining weights, converting them into power-of-two values to enable efficient fixed-point computation.
  • The Taylor Score is computed as the gradient of the loss with respect to each filter’s magnitude, enabling filter-level importance estimation.
  • The method is applied to stereo matching networks (e.g., PSM-Net), with pruning applied before quantization to minimize quantization noise.
  • The pipeline is evaluated on both stereo depth estimation and standard classification benchmarks (CIFAR-10, ImageNet) to validate generalization.

Experimental results

Research questions

  • RQ1Does pruning before quantization reduce quantization noise and improve final model accuracy compared to quantizing first or interleaving the two?
  • RQ2Can a single, simple hyperparameter (pruning threshold) control the entire pruning process while achieving high sparsity and performance?
  • RQ3What is the maximum achievable sparsity in stereo depth estimation networks before accuracy degrades significantly?
  • RQ4How does the proposed Taylor Score compare to other pruning criteria (e.g., L1-norm, geometric median) in terms of accuracy and sparsity trade-offs?
  • RQ5Can the pruning-only pipeline outperform state-of-the-art methods on standard benchmarks like CIFAR-10 and ImageNet?

Key findings

  • The proposed pruning method alone achieves state-of-the-art performance on ResNet for both CIFAR-10 and ImageNet, outperforming prior SOTA methods at comparable sparsity levels.
  • Pruning before quantization reduces quantization noise and leads to higher accuracy than quantizing first or interleaving the processes.
  • The method achieves up to 99% reduction in model memory size and up to 99.9% reduction in hardware cost on stereo depth estimation networks.
  • Even at 69.95% sparsity, the pruned and quantized model maintains a top-1 accuracy of 68.48% on ImageNet, with only 1.28% accuracy drop from the baseline.
  • The pipeline achieves less than 2% accuracy loss on stereo depth estimation tasks, with minimal visual difference in predicted depth maps.
  • The method demonstrates that pruning acts as a regularizer during fine-tuning, improving generalization in high-sparsity regimes.

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.