Towards Mixed-Precision Quantization of Neural Networks via Constrained Optimization
Weihan Chen, Peisong Wang, Jian Cheng
摘要
Quantization is a widely used technique to compress and accelerate deep neural networks. However, conventional quantization methods use the same bit-width for all (or most of) the layers, which often suffer significant accuracy degradation in the ultra-low precision regime and ignore the fact that emergent hardware accelerators begin to support mixed-precision computation. Consequently, we present a novel and principled framework to solve the mixed-precision quantization problem in this paper. Briefly speaking, we first formulate the mixed-precision quantization as a discrete constrained optimization problem. Then, to make the optimization tractable, we approximate the objective function with second-order Taylor expansion and propose an efficient approach to compute its Hessian matrix. Finally, based on the above simplification, we show that the original problem can be reformulated as a Multiple-Choice Knapsack Problem (MCKP) and propose a greedy search algorithm to solve it efficiently. Compared with existing mixed-precision quantization works, our method is derived in a principled way and much more computationally efficient. Moreover, extensive experiments conducted on the ImageNet dataset and various kinds of network architectures also demonstrate its superiority over existing uniform and mixed-precision quantization approaches. ity and storage overhead. In many real-time applications, storage consumption and latency are crucial, which on the other hand, have posed great challenges to the deployment of these networks. Under this circumstance, a variety of methods have been proposed, including low-rank decomposition [39, 9] , knowledge distillation [15, 29] , low-precision quantization [16, 3] , filter pruning [20, 24] , etc, to achieve CNNs compression and acceleration.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 27 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PTQD: Accurate Post-Training Quantization for Diffusion Models 引用了 SDQ: Stochastic Differentiable Quantization with Mixed Precision
- PTQD: Accurate Post-Training Quantization for Diffusion Models 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
- MEGA: A Memory-Efficient GNN Accelerator Exploiting Degree-Aware Mixed-Precision Quantization 引用了 HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networks
- MEGA: A Memory-Efficient GNN Accelerator Exploiting Degree-Aware Mixed-Precision Quantization 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
- MEGA: A Memory-Efficient GNN Accelerator Exploiting Degree-Aware Mixed-Precision Quantization 引用了 Mixed Precision DNNs: All you need is a good parametrization
- HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networks 引用了 HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-Precision
- SDQ: Stochastic Differentiable Quantization with Mixed Precision 引用了 Mixed Precision DNNs: All you need is a good parametrization
引用它的顶会 Paper27
- PTQD: Accurate Post-Training Quantization for Diffusion ModelsYefei He, Luping Liu, Jing Liu, Weijia Wu 等NeurIPS 2023 · 219 次引用
- SDQ: Stochastic Differentiable Quantization with Mixed PrecisionXijie Huang, Zhiqiang Shen, Shichao Li, Zechun Liu 等ICML 2022 · 49 次引用
- MEGA: A Memory-Efficient GNN Accelerator Exploiting Degree-Aware Mixed-Precision QuantizationZeyu Zhu, Fanrong Li, Gang Li, Zejian Liu 等HPCA 2024 · 28 次引用
- DartQuant: Efficient Rotational Distribution Calibration for LLM QuantizationYuantian Shao, Yuanteng Chen, Peisong Wang, Jianlin Yu 等NeurIPS 2025 · 20 次引用
- Towards Efficient and Accurate Winograd Convolution via Full QuantizationTianqi Chen, Weixiang Xu, Weihan Chen, Peisong Wang 等NeurIPS 2023 · 13 次引用
它引用的 Paper4
- HAWQ: Hessian AWare Quantization of Neural Networks With Mixed-PrecisionZhen Dong, Zhewei Yao, Amir Gholami, Michael W. Mahoney 等ICCV 2019 · 645 次引用
- HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural NetworksZhen Dong, Zhewei Yao, Daiyaan Arfeen, Amir Gholami 等NeurIPS 2020 · 434 次引用
- Mixed Precision DNNs: All you need is a good parametrizationStefan Uhlich, Lukas Mauch, Fabien Cardinaux, Kazuki Yoshiyama 等ICLR 2020 · 159 次引用
- AutoQ: Automated Kernel-Wise Neural Network QuantizationQian Lou, Feng Guo, Minje Kim, Lantao Liu 等ICLR 2020 · 121 次引用
相关 Paper
- MVQ: Towards Efficient DNN Compression and Acceleration with Masked Vector QuantizationShuaiting Li, Chengxuan Wang, Juncan Deng, Zeyu Wang 等ASPLOS 2025 · 5 次引用
- FracBits: Mixed Precision Quantization via Fractional Bit-WidthsLinjie Yang, Qing JinAAAI 2021 · 95 次引用
- One-Shot Model for Mixed-Precision QuantizationIvan Koryakovskiy, Alexandra Yakovleva, Valentin Buchnev, Temur Isaev 等CVPR 2023
- BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network QuantizationHuanrui Yang, Lin Duan, Yiran Chen, Hai LiICLR 2021 · 83 次引用
- MSQ: Memory-Efficient Bit Sparsification QuantizationSeokho Han, Seoyeon Yoon, Jinhee Kim, Dongwei Wang 等ICCV 2025 · 2 次引用
