Position-based Scaled Gradient for Model Quantization and Pruning
Jangho Kim, KiYoon Yoo, Nojun Kwak
摘要
We propose the position-based scaled gradient (PSG) that scales the gradient depending on the position of a weight vector to make it more compression-friendly. First, we theoretically show that applying PSG to the standard gradient descent (GD), which is called PSGD, is equivalent to the GD in the warped weight space, a space made by warping the original weight space via an appropriately designed invertible function. Second, we empirically show that PSG acting as a regularizer to the weight vectors is favorable for model compression domains such as quantization and pruning. PSG reduces the gap between the weight distributions of a full-precision model and its compressed counterpart. This enables the versatile deployment of a model either as an uncompressed mode or as a compressed mode depending on the availability of resources. The experimental results on CIFAR-10/100 and ImageNet datasets show the effectiveness of the proposed PSG in both domains of pruning and quantization even for extremely low bits. The code is released in Github 2 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Overcoming Oscillations in Quantization-Aware Training 引用了 Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
- Overcoming Oscillations in Quantization-Aware Training 引用了 Learned Step Size quantization
- Overcoming Oscillations in Quantization-Aware Training 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
- Overcoming Oscillations in Quantization-Aware Training 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- ResQ: Residual Quantization for Video Perception 引用了 Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
- ResQ: Residual Quantization for Video Perception 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
- ResQ: Residual Quantization for Video Perception 引用了 Overcoming Oscillations in Quantization-Aware Training
- ResQ: Residual Quantization for Video Perception 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- Up or Down? Adaptive Rounding for Post-Training Quantization 引用了 Learned Step Size quantization
- Up or Down? Adaptive Rounding for Post-Training Quantization 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
引用它的顶会 Paper2
它引用的 Paper6
- Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
- Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
- Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 次引用
- Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural NetworksRuihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li 等ICCV 2019 · 540 次引用
- Comparing Rewinding and Fine-tuning in Neural Network PruningAlex Renda, Jonathan Frankle, Michael CarbinICLR 2020 · 437 次引用
相关 Paper
- BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network QuantizationHuanrui Yang, Lin Duan, Yiran Chen, Hai LiICLR 2021 · 83 次引用
- Heavy Tails in SGD and Compressibility of Overparametrized Neural NetworksMelih Barsbey, Milad Sefidgaran, Murat A. Erdogdu, Gaël Richard 等NeurIPS 2021 · 57 次引用
- PD-Quant: Post-Training Quantization Based on Prediction Difference MetricJiawei Liu, Lin Niu, Zhihang Yuan, Dawei Yang 等CVPR 2023
- Mix and Match: A Novel FPGA-Centric Deep Neural Network Quantization FrameworkSung-En Chang, Yanyu Li, Mengshu Sun, Runbin Shi 等HPCA 2021 · 125 次引用
- Structured Compression by Weight Encryption for Unstructured Pruning and QuantizationSe Jung Kwon, Dongsoo Lee, Byeongwook Kim, Parichay Kapoor 等CVPR 2020
