Lune

NeurIPS2020顶会

Bayesian Bits: Unifying Quantization and Pruning

Mart van Baalen, Christos Louizos, Markus Nagel, Rana Ali Amjad, Ying Wang, Tijmen Blankevoort, Max Welling

摘要

We introduce Bayesian Bits, a practical method for joint mixed precision quantization and pruning through gradient based optimization. Bayesian Bits employs a novel decomposition of the quantization operation, which sequentially considers doubling the bit width. At each new bit width, the residual error between the full precision value and the previously rounded value is quantized. We then decide whether or not to add this quantized residual error for a higher effective bit width and lower quantization noise. By starting with a power-of-two bit width, this decomposition will always produce hardware-friendly configurations, and through an additional 0-bit option, serves as a unified view of pruning and quantization. Bayesian Bits then introduces learnable stochastic gates, which collectively control the bit width of the given tensor. As a result, we can obtain low bit solutions by performing approximate inference over the gates, with prior distributions that encourage most of them to be switched off. We experimentally validate our proposed method on several benchmark datasets and show that we can learn pruned, mixed precision networks that provide a better trade-off between accuracy and efficiency than their static bit width equivalents.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Understanding and Overcoming the Challenges of Efficient Transformer Quantization 引用了 Learned Step Size quantization
  • Understanding and Overcoming the Challenges of Efficient Transformer Quantization 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
  • Understanding and Overcoming the Challenges of Efficient Transformer Quantization 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
  • Understanding and Overcoming the Challenges of Efficient Transformer Quantization 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
  • HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networks 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
  • Improving Low-Precision Network Quantization via Bin Regularization 引用了 Learned Step Size quantization
  • Improving Low-Precision Network Quantization via Bin Regularization 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
  • HAWQ-V3: Dyadic Neural Network Quantization 引用了 HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networks
  • HAWQ-V3: Dyadic Neural Network Quantization 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
  • Pruning vs Quantization: Which is Better? 引用了 Learned Step Size quantization
  • Pruning vs Quantization: Which is Better? 引用了 Data-Free Quantization Through Weight Equalization and Bias Correction
  • Pruning vs Quantization: Which is Better? 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
  • Pruning vs Quantization: Which is Better? 引用了 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
  • Up or Down? Adaptive Rounding for Post-Training Quantization 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper24

  1. HAWQ-V3: Dyadic Neural Network QuantizationZhewei Yao, Zhen Dong, Zhangcheng Zheng, Amir Gholami 等ICML 2021 · 240 次引用
  2. Pruning vs Quantization: Which is Better?Andrey Kuzmin, Markus Nagel, Mart van Baalen, Arash Behboodi 等NeurIPS 2023 · 152 次引用
  3. Only Train Once: A One-Shot Neural Network Training And Pruning FrameworkTianyi Chen, Bo Ji, Tianyu Ding, Biyi Fang 等NeurIPS 2021 · 135 次引用
  4. Understanding and Overcoming the Challenges of Efficient Transformer QuantizationYelysei Bondarenko, Markus Nagel, Tijmen BlankevoortEMNLP 2021 · 74 次引用
  5. Improving Low-Precision Network Quantization via Bin RegularizationTiantian Han, Dong Li, Ji Liu, Lu Tian 等ICCV 2021 · 45 次引用

它引用的 Paper7

  1. Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
  2. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
  3. HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-PrecisionZhen Dong, Zhewei Yao, Amir Gholami, Michael W. Mahoney 等ICCV 2019 · 645 次引用
  4. Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 次引用
  5. HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural NetworksZhen Dong, Zhewei Yao, Daiyaan Arfeen, Amir Gholami 等NeurIPS 2020 · 434 次引用

相关 Paper

  1. Not All Bits have Equal Value: Heterogeneous Precisions via Trainable NoisePedro Savarese, Xin Yuan, Yanjing Li, Michael MaireNeurIPS 2022 · 9 次引用
  2. BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network QuantizationHuanrui Yang, Lin Duan, Yiran Chen, Hai LiICLR 2021 · 83 次引用
  3. SDQ: Stochastic Differentiable Quantization with Mixed PrecisionXijie Huang, Zhiqiang Shen, Shichao Li, Zechun Liu 等ICML 2022 · 49 次引用
  4. Mixed Precision DNNs: All you need is a good parametrizationStefan Uhlich, Lukas Mauch, Fabien Cardinaux, Kazuki Yoshiyama 等ICLR 2020 · 159 次引用
  5. CSQ: Growing Mixed-Precision Quantization Scheme with Bi-level Continuous SparsificationLirui Xiao, Huanrui Yang, Zhen Dong, Kurt Keutzer 等DAC 2023 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖