Lune

NeurIPS2020Top-tier venue

Position-based Scaled Gradient for Model Quantization and Pruning

Jangho Kim, KiYoon Yoo, Nojun Kwak

Abstract

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 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Overcoming Oscillations in Quantization-Aware Training cites Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
  • Overcoming Oscillations in Quantization-Aware Training cites Learned Step Size quantization
  • Overcoming Oscillations in Quantization-Aware Training cites Data-Free Quantization Through Weight Equalization and Bias Correction
  • Overcoming Oscillations in Quantization-Aware Training cites Up or Down? Adaptive Rounding for Post-Training Quantization
  • ResQ: Residual Quantization for Video Perception cites Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks
  • ResQ: Residual Quantization for Video Perception cites Data-Free Quantization Through Weight Equalization and Bias Correction
  • ResQ: Residual Quantization for Video Perception cites Overcoming Oscillations in Quantization-Aware Training
  • ResQ: Residual Quantization for Video Perception cites Up or Down? Adaptive Rounding for Post-Training Quantization
  • Up or Down? Adaptive Rounding for Post-Training Quantization cites Learned Step Size quantization
  • Up or Down? Adaptive Rounding for Post-Training Quantization cites Data-Free Quantization Through Weight Equalization and Bias Correction
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Overcoming Oscillations in Quantization-Aware TrainingMarkus Nagel, Marios Fournarakis, Yelysei Bondarenko, Tijmen BlankevoortICML 2022 · 163 citations
  2. ResQ: Residual Quantization for Video PerceptionDavide Abati, Haitam Ben Yahia, Markus Nagel, Amirhossein HabibianICCV 2023 · 3 citations

Builds on6

  1. Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy et al.ICLR 2020 · 1,037 citations
  2. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos et al.ICML 2020 · 816 citations
  3. Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 citations
  4. Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural NetworksRuihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li et al.ICCV 2019 · 540 citations
  5. Comparing Rewinding and Fine-tuning in Neural Network PruningAlex Renda, Jonathan Frankle, Michael CarbinICLR 2020 · 437 citations

Related papers

  1. BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network QuantizationHuanrui Yang, Lin Duan, Yiran Chen, Hai LiICLR 2021 · 83 citations
  2. Heavy Tails in SGD and Compressibility of Overparametrized Neural NetworksMelih Barsbey, Milad Sefidgaran, Murat A. Erdogdu, Gaël Richard et al.NeurIPS 2021 · 57 citations
  3. PD-Quant: Post-Training Quantization Based on Prediction Difference MetricJiawei Liu, Lin Niu, Zhihang Yuan, Dawei Yang et al.CVPR 2023
  4. Mix and Match: A Novel FPGA-Centric Deep Neural Network Quantization FrameworkSung-En Chang, Yanyu Li, Mengshu Sun, Runbin Shi et al.HPCA 2021 · 125 citations
  5. Structured Compression by Weight Encryption for Unstructured Pruning and QuantizationSe Jung Kwon, Dongsoo Lee, Byeongwook Kim, Parichay Kapoor et al.CVPR 2020
Dusk over the sea between two cliffs drawn in fine vertical lines