paper-with-me

Papers

SEAM: Searching Transferable Mixed-Precision Quantization Policy through Large Margin Regularization

2023-02-14 · Chen Tang, Kai Ouyang, Zenghao Chai, Yunpeng Bai, Yuan Meng, Zhi Wang, Wenwu Zhu

Mixed-precision quantization (MPQ) suffers from the time-consuming process of searching the optimal bit-width allocation i.e., the policy) for each layer, especially when using large-scale datasets such as ISLVRC-2012. This limits the practicality of MPQ in real-world deployment scenarios. To address this issue, this paper proposes a novel method for efficiently searching for effective MPQ policies using a small proxy dataset instead of the large-scale dataset used for training the model. Deviating from the established norm of employing a consistent dataset for both model training and MPQ policy search stages, our approach, therefore, yields a substantial enhancement in the efficiency of MPQ exploration. Nonetheless, using discrepant datasets poses challenges in searching for a transferable MPQ policy. Driven by the observation that quantization noise of sub-optimal policy exerts a detrimental influence on the discriminability of feature representations -- manifesting as diminished class margins and ambiguous decision boundaries -- our method aims to identify policies that uphold the discriminative nature of feature representations, i.e., intra-class compactness and inter-class separation. This general and dataset-independent property makes us search for the MPQ policy over a rather small-scale proxy dataset and then the policy can be directly used to quantize the model trained on a large-scale dataset. Our method offers several advantages, including high proxy data utilization, no excessive hyper-parameter tuning, and high searching efficiency. We search high-quality MPQ policies with the proxy dataset that has only 4% of the data scale compared to the large-scale target dataset, achieving the same accuracy as searching directly on the latter, improving MPQ searching efficiency by up to 300 times.

📄 PDF Abstract BibTeX arXiv:2302.06845

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Methods 이 논문이 사용한 방법론

Uphold 설명 없음

Similar Papers 제목 키워드 기반

Effective and Fast: A Novel Sequential Single Path Search for Mixed-Precision Quantization

2021-03-04 · Qigong Sun, Licheng Jiao, Yan Ren, Xiufang Li 외

Since model quantization helps to reduce the model size and computation latency, it has been successfully applied in many applications of mobile phones, embedded devices and smart chips. The mixed-precision quantization …

Quantization

One-Shot Model for Mixed-Precision Quantization

2023-01-01 · CVPR 2023 1 · Ivan Koryakovskiy, Alexandra Yakovleva, Valentin Buchnev, Temur Isaev 외

Neural network quantization is a popular approach for model compression. Modern hardware supports quantization in mixed-precision mode, which allows for greater compression rates but adds the challenging task of sear…

modelModel CompressionQuantizationSuper-Resolution

SAMP: A Model Inference Toolkit of Post-Training Quantization for Text Processing via Self-Adaptive Mixed-Precision

2022-09-19 · Rong Tian, Zijing Zhao, Weijie Liu, Haoyan Liu 외

The latest industrial inference engines, such as FasterTransformer and TurboTransformers, have verified that half-precision floating point (FP16) and 8-bit integer (INT8) quantization can greatly improve model inference …

Quantization

Flexible Mixed Precision Quantization for Learned Image Compression

2025-06-02 · Md Adnan Faisal Hossain, Zhihao Duan, Fengqing Zhu

Despite its improvements in coding performance compared to traditional codecs, Learned Image Compression (LIC) suffers from large computational costs for storage and deployment. Model quantization offers an effective sol…

Image CompressionQuantization

SDQ: Stochastic Differentiable Quantization with Mixed Precision

2022-06-09 · Xijie Huang, Zhiqiang Shen, Shichao Li, Zechun Liu 외

In order to deploy deep models in a computationally efficient manner, model quantization approaches have been frequently used. In addition, as new hardware that supports mixed bitwidth arithmetic operations, recent resea…

Knowledge DistillationNeural Architecture SearchQuantization