Training Deep Neural Networks with Joint Quantization and Pruning of Weights and Activations
Not on the map. Why?
Abstract (arXiv)
Quantization and pruning are core techniques used to reduce the inference costs of deep neural networks. State-of-the-art quantization techniques are currently applied to both the weights and activations; however, pruning is most often applied to only the weights of the network. In this work, we jointly apply novel uniform quantization and unstructured pruning methods to both the weights and activations of deep neural networks during training. Using our methods, we empirically evaluate the currently accepted prune-then-quantize paradigm across a wide range of computer vision tasks and observe a non-commutative nature when applied to both the weights and activations of deep neural networks. Informed by these observations, we articulate the non-commutativity hypothesis: for a given deep neural network being trained for a specific task, there exists an exact training schedule in which quantization and pruning can be introduced to optimize network performance. We identify that this optimal ordering not only exists, but also varies across discriminative and generative tasks. Using the optimal training schedule within our training framework, we demonstrate increased performance per memory footprint over existing solutions.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 41 of its 65 references that are in the map. First posted on arXiv 15 Oct 2021.
Builds on
41 of 65 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,199
29 more
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2017Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networkscited by 707
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
- 2018Rethinking the Value of Network Pruningcited by 595
- 2017Deep Learning Scaling is Predictable, Empiricallycited by 556
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
- 2015Empirical Evaluation of Rectified Activations in Convolutional Networkcited by 515
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
- 2019The State of Sparsity in Deep Neural Networkscited by 471
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
- 2018Rethinking ImageNet Pre-trainingcited by 376
- 2018How Does Batch Normalization Help Optimization?cited by 355
- 2021Pruning and Quantization for Deep Neural Network Acceleration: A Surveycited by 259
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
- 2016Network Trimming: A Data-Driven Neuron Pruning Approach towards Efficient Deep Architecturescited by 220
- 2019Sparse Networks from Scratch: Faster Training without Losing Performancecited by 210
- 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 183
- 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 180
- 2019Deep ReLU Networks Have Surprisingly Few Activation Patternscited by 160
- 2020Bayesian Bits: Unifying Quantization and Pruningcited by 93
- 2016Towards the Limit of Network Quantizationcited by 49
- 2019QGAN: Quantized Generative Adversarial Networkscited by 20
- 2018Universal Deep Neural Network Compressioncited by 17
- 2019Sparse-GAN: Sparsity-constrained Generative Adversarial Network for Anomaly Detection in Retinal OCT Imagecited by 14
- 2020Quantisation and Pruning for Neural Network Compression and Regularisationcited by 9
- 2020Joint Pruning & Quantization for Extremely Sparse Neural Networkscited by 8
- 2018Regularizing by the Variance of the Activations' Sample-Variancescited by 5
- 2019Focused Quantization for Sparse CNNscited by 5
- 2021An Energy-Efficient Edge Computing Paradigm for Convolution-based Image Upsamplingcited by 4
Built on by
Citing papers per year: 2022: 3; 2023: 2; 2024: 1.
6 papers.
- 2024Effective Interplay between Sparsity and Quantization: From Theory to Practicecited by 16
- 2023Efficient Neural Networks for Tiny Machine Learning: A Comprehensive Reviewcited by 9
- 2022Reducing Computational Complexity of Neural Networks in Optical Channel Equalization: From Concepts to Implementationcited by 6
- 2022QFT: Post-training quantization via fast joint finetuning of all degrees of freedomcited by 3
- 2023Towards Optimal Compression: Joint Pruning and Quantizationcited by 3
- 2022DASS: Differentiable Architecture Search for Sparse neural networkscited by 2
- 2024Effective Interplay between Sparsity and Quantization: From Theory to Practice31 May 2024
- 2023Efficient Neural Networks for Tiny Machine Learning: A Comprehensive Review20 Nov 2023
- 2023Towards Optimal Compression: Joint Pruning and Quantization15 Feb 2023
- 2022QFT: Post-training quantization via fast joint finetuning of all degrees of freedom5 Dec 2022
- 2022Reducing Computational Complexity of Neural Networks in Optical Channel Equalization: From Concepts to Implementation26 Aug 2022
- 2022DASS: Differentiable Architecture Search for Sparse neural networks14 Jul 2022