paper-with-me

홈 › Papers

Improving Post Training Neural Quantization: Layer-wise Calibration and Integer Programming

2020-06-14 · Itay Hubara, Yury Nahshan, Yair Hanani, Ron Banner, Daniel Soudry

Lately, post-training quantization methods have gained considerable attention, as they are simple to use, and require only a small unlabeled calibration set. This small dataset cannot be used to fine-tune the model without significant over-fitting. Instead, these methods only use the calibration set to set the activations' dynamic ranges. However, such methods always resulted in significant accuracy degradation, when used below 8-bits (except on small datasets). Here we aim to break the 8-bit barrier. To this end, we minimize the quantization errors of each layer separately by optimizing its parameters over the calibration set. We empirically demonstrate that this approach is: (1) much less susceptible to over-fitting than the standard fine-tuning approaches, and can be used even on a very small calibration set; and (2) more powerful than previous methods, which only set the activations' dynamic ranges. Furthermore, we demonstrate how to optimally allocate the bit-widths for each layer, while constraining accuracy degradation or model compression by proposing a novel integer programming formulation. Finally, we suggest model global statistics tuning, to correct biases introduced during quantization. Together, these methods yield state-of-the-art results for both vision and text models. For instance, on ResNet50, we obtain less than 1\% accuracy degradation --- with 4-bit weights and activations in all layers, but the smallest two. We open-sourced our code.

📄 PDF Abstract BibTeX arXiv:2006.10518

Code (1)

itayhubara/CalibTIP 공식 구현 pytorch

Tasks

Model CompressionQuantization

Similar Papers 제목 키워드 기반

UWC: Unit-wise Calibration Towards Rapid Network Compression

2022-01-17 · Chen Lin, Zheyang Li, Bo Peng, Haoji Hu 외

This paper introduces a post-training quantization~(PTQ) method achieving highly efficient Convolutional Neural Network~ (CNN) quantization with high performance. Previous PTQ methods usually reduce compression error via…

Quantization

Rethinking Practical and Efficient Quantization Calibration for Vision-Language Models

2026-02-08 · Zhenhao Shang, Haizhao Jing, Guoting Wei, Haokui Zhang 외 arxiv

Post-training quantization (PTQ) is a primary approach for deploying large language models without fine-tuning, and the quantized performance is often strongly affected by the calibration in PTQ. By contrast, in vision-l…

OAC: Output-adaptive Calibration for Accurate Post-training Quantization

2024-05-23 · Ali Edalati, Alireza Ghaffari, Mahsa Ghazvini Nejad, Lu Hou 외

Deployment of Large Language Models (LLMs) has major computational costs, due to their rapidly expanding size. Compression of LLMs reduces the memory footprint, latency, and energy required for their inference. Post-trai…

Quantization

Enhancing Post-Training Quantization via Future Activation Awareness

2026-01-28 · Zheqi Lv, Zhenxuan Fan, Qi Tian, Wenqiao Zhang 외 arxiv

Post-training quantization (PTQ) is a widely used method to compress large language models (LLMs) without fine-tuning. It typically sets quantization hyperparameters (e.g., scaling factors) based on current-layer activat…

Diagnostic-Driven Layer-Wise Compensation for Post-Training Quantization of Encoder-Decoder ASR Models

2026-01-05 · Xinyu Wang, Ziyu Zhao, Yajie Luo, Yihong Wu 외 arxiv

Deploying Automatic Speech Recognition (ASR) models on memory-constrained edge devices requires aggressive low-bit weight quantization. Layer-wise post-training quantization is practical and effective, but it suffers fro…

Speech Recognition