[Paper Review] A Unified Framework of DNN Weight Pruning and Weight Clustering/Quantization Using ADMM
This paper presents a unified ADMM-based framework that jointly performs DNN weight pruning and weight clustering/quantization, achieving substantial compression (e.g., 167x pruning on LeNet-5; 24.7x on AlexNet; up to 1,910x storage reduction when pruning and clustering are combined) with no accuracy loss.
Many model compression techniques of Deep Neural Networks (DNNs) have been investigated, including weight pruning, weight clustering and quantization, etc. Weight pruning leverages the redundancy in the number of weights in DNNs, while weight clustering/quantization leverages the redundancy in the number of bit representations of weights. They can be effectively combined in order to exploit the maximum degree of redundancy. However, there lacks a systematic investigation in literature towards this direction. In this paper, we fill this void and develop a unified, systematic framework of DNN weight pruning and clustering/quantization using Alternating Direction Method of Multipliers (ADMM), a powerful technique in optimization theory to deal with non-convex optimization problems. Both DNN weight pruning and clustering/quantization, as well as their combinations, can be solved in a unified manner. For further performance improvement in this framework, we adopt multiple techniques including iterative weight quantization and retraining, joint weight clustering training and centroid updating, weight clustering retraining, etc. The proposed framework achieves significant improvements both in individual weight pruning and clustering/quantization problems, as well as their combinations. For weight pruning alone, we achieve 167x weight reduction in LeNet-5, 24.7x in AlexNet, and 23.4x in VGGNet, without any accuracy loss. For the combination of DNN weight pruning and clustering/quantization, we achieve 1,910x and 210x storage reduction of weight data on LeNet-5 and AlexNet, respectively, without accuracy loss. Our codes and models are released at the link http://bit.ly/2D3F0np
Motivation & Objective
- Motivate and address the lack of systematic study on combining weight pruning with weight clustering/quantization.
- Develop a unified ADMM-based optimization framework to perform pruning and clustering/quantization (and their combinations) in a single formulation.
- Demonstrate significant model size reductions across standard networks while preserving accuracy.
- Offer practical training procedures including iterative quantization/retraining and centroid updates to boost performance.
Proposed method
- Formulate DNN compression as a joint optimization with constraints for pruning and clustering/quantization using indicator functions.
- Apply ADMM to decompose into subproblems: (i) DNN training with quadratic penalties, (ii) projection onto pruning set, (iii) projection onto clustering/quantization set.
- Use Euclidean projections to enforce sparsity (keep top-α weights) and to assign weights to either fixed quantization levels or to cluster centroids.
- Iteratively update dual variables and perform retraining to recover accuracy, with optional order: prune first, then cluster/quantize.
- Provide iterative weight quantization and retraining, and dynamic centroid updating for clustering-based compression.
Experimental results
Research questions
- RQ1Can pruning and weight clustering/quantization be optimized together in a unified ADMM framework?
- RQ2What compression ratios can be achieved for common DNNs without accuracy loss when using joint pruning and clustering/quantization?
- RQ3Does a pruning-first then clustering/quantization approach yield better performance than simultaneous handling?
- RQ4How do iterative quantization and retraining affect final accuracy and storage efficiency?
- RQ5What are practical guidelines for layer-wise pruning and clustering/quantization settings to maximize compression?
Key findings
- 167× weight reduction in LeNet-5 with no accuracy loss (pruning only).
- 24.7× weight reduction in AlexNet with no accuracy loss (pruning only).
- 23.4× weight reduction in VGGNet with no accuracy loss (pruning only).
- Joint pruning and clustering/quantization achieve 1,910× storage reduction on LeNet-5 and 210× on AlexNet without accuracy loss (not accounting for indices in pruning).
- When indices are included, total model size reductions are 623× (LeNet-5) and 90× (AlexNet).
- For LeNet-5, the joint method yields 88× pruning with ~2.4-bit average quantization across layers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.